HigherData

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

lists.export input
FieldTypeRequiredDescription
idstringyesSaved list id. UUID.
formatstringyesFile format of the export. One of: csv, jsonl.
limitintegeryesMaximum records in this page. From 1 to 50.
cursorstringnoCursor from the previous page. Omit it for the first page. 1 to 2048 characters.
excludeListIdstringnoSaved list whose members are left out of the result. UUID.

Output

lists.export output
FieldTypeRequiredDescription
contentstringyes
mimeTypestringyesOne of: text/csv, application/x-ndjson.
nextCursorstring or nullyes
suppressedCountintegeryesAt least 0.
zeroResultsbooleanyes

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
  }
}