HigherData / Tool
jobs.cancel
Cancel an owned bulk job and settle only completed work. Dry run returns the current job.
Scopes: data:read, data:write, admin
Send execute false to preview the change. Send execute true to write it. A preview does not change stored data.
REST: POST /api/v1/tools/jobs.cancel?execute=false. The same call is POST /api/v1/jobs/cancel?execute=false.
MCP tool name: jobs_cancel. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| jobId | string | yes | Bulk job id. UUID. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | UUID. |
| operation | string | yes | One of: enrich.person, enrich.company, email.find, email.verify, resolve.person. |
| status | string | yes | One of: queued, running, completed, failed, cancelled. |
| counts | object | yes | |
| counts. | integer | yes | At least 0. |
| counts. | integer | yes | At least 0. |
| counts. | integer | yes | At least 0. |
| counts. | integer | yes | At least 0. |
| counts. | integer | yes | At least 0. |
| counts. | integer | yes | At least 0. |
| counts. | integer | yes | At least 0. |
| createdAt | string | yes | ISO date and time. |
| finishedAt | value | yes | |
| expiresAt | string | yes | ISO date and time. |
| lastError | value | yes | |
| last_error | value | no | Deprecated. Use lastError. Kept for compatibility with 0.9.1. |
| lastProgressAt | value | no | |
| retryAfter | value | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/jobs.cancel?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"jobId": "11111111-1111-4111-8111-111111111111"
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("jobs.cancel", {
"jobId": "11111111-1111-4111-8111-111111111111"
}, { execute: false });Example
{
"input": {
"jobId": "11111111-1111-4111-8111-111111111111"
},
"output": {
"id": "11111111-1111-4111-8111-111111111111",
"operation": "enrich.company",
"status": "completed",
"counts": {
"total": 1,
"processed": 1,
"matched": 1,
"noMatch": 0,
"ambiguous": 0,
"suppressed": 0,
"failed": 0
},
"createdAt": "2026-10-02T00:00:00Z",
"finishedAt": "2026-10-02T00:01:00Z",
"expiresAt": "2026-10-09T00:00:00Z",
"lastError": null,
"retryAfter": null
}
}