HigherData / Tool
lists.get
Read lists in this space, or one list with its items and recent runs. Pages contain at most 50 records.
Scopes: data:read
This tool reads. It does not write.
REST: POST /api/v1/tools/lists.get?execute=false. The same call is POST /api/v1/lists/get?execute=false.
MCP tool name: lists_get. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | no | Saved list id. Omit it to list every list in this space. UUID. |
| 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. |
| sort | string | no | List records sorted by name or date added. One of: name_asc, name_desc, added_desc. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| lists | array | yes | At most 50 items. |
| items | array | yes | At most 50 items. |
| runs | array | yes | At most 10 items. |
| nextCursor | string or null | yes | |
| recordCount | value | yes | |
| suppressedCount | integer | yes | At least 0. |
| zeroResults | boolean | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/lists.get?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.get", {
"id": "11111111-1111-4111-8111-111111111111"
}, { execute: false });Example
{
"input": {
"id": "11111111-1111-4111-8111-111111111111"
},
"output": {
"recordCount": 0,
"lists": [],
"items": [],
"runs": [],
"nextCursor": null,
"suppressedCount": 0,
"zeroResults": true
}
}