name + filters) any workspace member can create, apply, update, or delete. Filters are the same allowlisted keys as reporting endpoints (see Filters); they are normalized through ResolveFilters on write, so unknown keys are dropped and visit_count must use an operator prefix (is:1 / gte:2 / lte:5). A site is addressed by {siteKey} (UUID or domain). All endpoints require Authorization: Bearer {token}. See Conventions for the base URL, headers, and error conventions shared by every endpoint.
List segments
Response — flat JSON array of:
Status:
200 OK.
Create a segment
422.
Body parameters
Response — the created segment (same fields as the list). Status:
201 Created.
Update a segment
filters is sent it must still contain at least one allowlisted key after normalization. A foreign/unknown segment id (not on this site) returns 404 Not Found.
Path parameters
Body parameters
Response — the updated segment. Status:
200 OK.
Delete a segment
404 Not Found.
Path parameters
Status:
204 No Content.

