List Policies
Returns a paginated list of policies, resolving each policy to its latest version
(or the latest version as of timeTravelBackToDate), then applying segment scope
filters and field-level JSONB filters.
Example questions this endpoint answers:
- “Show me all current policies” —
segmentScope="all", no filters - “Current policies providing coverage on March 15” —
segmentScope={"asOf":"2025-03-15"} - “Current policies providing coverage during Q1” —
segmentScope={"fromDate":"2025-01-01","toDate":"2025-03-31"} - “What did the book of business look like on Jan 1?” —
timeTravelBackToDate=2025-01-01,segmentScope="all"
Use segmentScope to control which segments within each policy version participate
in filtering:
"all"— every segment of the resolved version{"asOf":"2025-03-15"}— point-in-time: segments wherestartDate <= asOf <= endDate{"fromDate":"2025-01-01","toDate":"2025-12-31"}— date range: segments overlapping the window
Use timeTravelBackToDate to see what the book of business looked like at a prior point
in time. Each policy is resolved to the version that was latest at that timestamp.
Use detail=full to include complete field data for the scope-matched segments in each
result. Use detail=summary for lightweight responses with only matched segment date ranges.
Required permission: company.policy:read
Authorizations
API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.
Path Parameters
Company identifier
Query Parameters
Page number (1-based, default 1, page size 50)
x >= 1Detail level. summary returns lightweight results with matched segment date ranges.
full includes complete field data for each scope-matched segment.
summary, full JSON-encoded segment scope filter. Controls which segments within each resolved version participate in filtering. Values:
"all"— every segment{"asOf":"YYYY-MM-DD"}— point-in-time{"fromDate":"YYYY-MM-DD","toDate":"YYYY-MM-DD"}— date range
JSON-encoded array of field filters. Each filter targets a field in the segment's
fieldModelV1Data and supports type-specific operators. Supported field types:
text, number, boolean, date, currency, optionSet, address, join,
textList, numberList, optionSetList, addressList.
List-cardinality types support operators: listIncludes (textList, numberList,
addressList), listIn, listAll, listExcludes (optionSetList).
The join type supports the in operator.
See the Configuration API for available field reference IDs.
Resolve each policy to the version that was latest at this date. Useful for reconstructing the book of business as it was known at a prior point in time.
Field to sort results by
policyId, createdAt, versionCreatedAt Sort direction (default desc)
asc, desc 