HigherData / Tool
jobs.download
Download a bounded CSV or JSONL page from a bulk job. Stream pages to a file; every page applies current suppression.
Scopes: data:read
This tool reads. It does not write.
REST: POST /api/v1/tools/jobs.download?execute=false. The same call is POST /api/v1/jobs/download?execute=false.
MCP tool name: jobs_download. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| jobId | string | yes | Bulk job id. UUID. |
| format | string | yes | File format of the download. One of: csv, jsonl. |
| cursor | string | no | Cursor from the previous page. Omit it for the first page. At most 512 characters. |
| partial | boolean | no | Allow downloading a snapshot of completed rows while a job still runs. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | yes | |
| contentType | string | yes | |
| nextCursor | string or null | yes | |
| suppressedCount | integer | yes | At least 0. |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/jobs.download?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"jobId": "11111111-1111-4111-8111-111111111111",
"format": "csv"
}'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.download", {
"jobId": "11111111-1111-4111-8111-111111111111",
"format": "csv"
}, { execute: false });Example
{
"input": {
"jobId": "11111111-1111-4111-8111-111111111111",
"format": "csv"
},
"output": {
"content": "name\nAcme Systems\n",
"contentType": "text/csv",
"nextCursor": null,
"suppressedCount": 0
}
}