Read a Segment's name and filter
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.
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.
Authorization
bearerAuth In: header
Path Parameters
The Segment.
uuidResponse 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/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "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"}Rename a Segment, or change what it means, under Spore-If-Match PATCH
Changes the name, the filter, or both. Editing the filter changes membership immediately — there is nothing to rebuild and nothing goes stale. A stale `Spore-If-Match` is refused with the current Segment and its ETag. Free.
Page the organization's Segments GET
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.