HigherData

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

lists.get input
FieldTypeRequiredDescription
idstringnoSaved list id. Omit it to list every list in this space. UUID.
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.
sortstringnoList records sorted by name or date added. One of: name_asc, name_desc, added_desc.

Output

lists.get output
FieldTypeRequiredDescription
listsarrayyesAt most 50 items.
itemsarrayyesAt most 50 items.
runsarrayyesAt most 10 items.
nextCursorstring or nullyes
recordCountvalueyes
suppressedCountintegeryesAt least 0.
zeroResultsbooleanyes

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