Returns earned premium per day summed across all matching policies. No per-policy or per-transaction breakdown — just a daily time series and a grand total.
Use segmentScope to control which policies are included based on
segment date matching:
"all" — every policy{"asOf":"YYYY-MM-DD"} — policies with segments active on that date{"fromDate":"YYYY-MM-DD","toDate":"YYYY-MM-DD"} — policies with
segments overlapping the date rangeUse filters to narrow results by field values in policy data.
The earned premium date range is a half-open interval [startDate, endDate)
and must not exceed 366 days.
Required permission: company.policy:read
API key authentication. Include your API key in the Authorization header.
Company identifier
Start of the earned premium window (inclusive). ISO 8601 date
(YYYY-MM-DD). Must be before or equal to endDate.
End of the earned premium window (exclusive). ISO 8601 date
(YYYY-MM-DD). The range [startDate, endDate) must not exceed
366 days.
JSON-encoded segment scope filter. Controls which policies are included based on segment date matching. Values:
"all" — every policy{"asOf":"YYYY-MM-DD"} — point-in-time{"fromDate":"YYYY-MM-DD","toDate":"YYYY-MM-DD"} — date rangeJSON-encoded array of field filters. Each filter targets a field in
the segment's fieldModelV1Data and supports type-specific operators
(text, number, boolean, date, currency, optionSet, address).
Only include transactions created before this timestamp (ISO 8601). Useful for auditing historical earned premium state.
Maximum number of policies to aggregate (default and max: 10,000).
1 <= x <= 10000Aggregated earned premium across all matching policies
Earned premium aggregated across all matching policies. Returns a daily time series and a grand total — no per-policy or per-transaction breakdown.