Page the organization's Segments
Lists Segments newest first under an opaque cursor, each with its name, its filter, and its ETag. No member counts: counting a set is a read of the set. Free.
Lists Segments newest first under an opaque cursor, each with its name, its filter, and its ETag. No member counts: counting a set is a read of the set.
Free.
Authorization
bearerAuth In: header
Query Parameters
Opaque continuation token from the previous page's nextCursor. Omit for the first page.
Rows per page. Values above 100 are clamped, not rejected.
1 <= value <= 10050Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/segments"{ "items": [ { "id": "7f9c2a14-3b6e-4d51-9a2f-1c8e5b0d47a3", "name": "Estonian software, high ICP", "filter": { "type": "group", "logic": "AND", "children": [ { "type": "group", "logic": "OR", "children": [ { "type": "rule", "fieldId": "core.country", "operator": "equals", "value": "EE" }, { "type": "rule", "fieldId": "registry.revenueEur", "operator": "greaterThan", "value": 1000000, "params": { "years": [ 2023 ] } } ] }, { "type": "rule", "fieldId": "research.icp_score", "operator": "greaterThan", "value": 7 } ] }, "etag": "\"1\"", "createdAt": "2026-09-03T10:00:00.000Z", "updatedAt": "2026-09-03T10:00:00.000Z" } ], "nextCursor": null}Read a Segment's name and filter GET
Returns the Segment and its ETag. Members, counts, and coverage are separate reads, because each of them is a question about live data rather than a property of the row. Free.
Page the organization's credit ledger GET
Every credit change, newest first, paged by opaque cursor. Pass `apiKeyId` to narrow the ledger to one principal's spend. Reads are organization-scoped. Free.