HigherData / Tool
lists.export
Export a saved list as paged CSV or JSONL with opaque ids. CSV escapes spreadsheet formulas. Pages contain at most 50 records.Insights fields and filters require the Insights or Complete plan.
Scopes: data:read
This tool reads. It does not write.
REST: POST /api/v1/tools/lists.export?execute=false. The same call is POST /api/v1/lists/export?execute=false.
MCP tool name: lists_export. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Saved list id. UUID. |
| format | string | yes | File format of the export. One of: csv, jsonl. |
| limit | integer | yes | Maximum records in this page. From 1 to 50. |
| cursor | string | no | Cursor from the previous page. Omit it for the first page. 1 to 2048 characters. |
| excludeListId | string | no | Saved list whose members are left out of the result. UUID. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | yes | |
| mimeType | string | yes | One of: text/csv, application/x-ndjson. |
| nextCursor | string or null | yes | |
| suppressedCount | integer | yes | At least 0. |
| zeroResults | boolean | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/lists.export?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"id": "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("lists.export", {
"id": "11111111-1111-4111-8111-111111111111"
}, { execute: false });Example
{
"input": {
"id": "11111111-1111-4111-8111-111111111111"
},
"output": {
"content": "id,name\nhdo_11111111111111111111111111111111,Acme Systems\n",
"mimeType": "text/csv",
"nextCursor": null,
"zeroResults": false,
"suppressedCount": 0
}
}