conditions — array of { field, operator, value } applied to segment columnsname, folderIds, searchTokens, __name__, isDefault). Not contact filters.limit — page sizepaginationToken — opaque cursor from a previous response metaorderBy — defaults to createdAt (UI often uses updatedAt)orderType — defaults to desc{ data, meta } using the list serializerid, name, description, segmentSources, conditions, folderIds, config, timestamps, isDefault).curl --location 'https://app.highperformr.ai/api/segments/filter-segments' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 25,
"orderBy": "updatedAt",
"orderType": "desc"
}'{
"data": [
{
"id": "seg_4n2k8j",
"type": "segments",
"attributes": {
"name": "Enterprise prospects",
"description": "Inbound engagers from LinkedIn social listening",
"segmentSources": [
"src_li_inbound_01"
],
"folderIds": [
"folder_abc123"
],
"conditions": [],
"isDefault": false,
"createdAt": "2025-04-08T09:01:44.000Z",
"updatedAt": "2025-04-10T12:00:00.000Z"
}
}
],
"meta": {
"nextToken": "eyJwYWdlIjoyfQ"
}
}