event-definitions

Get Event Series Batch

Return one ChartInfo covering many event definitions at once.

The collection-level companion to /{id}/series so one call serves a whole page of event cards. The literal /series path is distinct from /{event_definition_id}/series (different depth). Emits one series per definition in breakdown.event_definition_ids order, each named by its event_key; a foreign/unknown id → 404. An optional cohort_segment_id restricts every series to that segment's current open members (resolved server-side); a segment over the member cap → 400.

post/event-definitions/series

Request

  • Base URL: https://api.usepolymorph.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepolymorph.com/event-definitions/series
  • Auth: none declared

Headers

X-Viewer-Timezonestring nullable

Request body

granularity'minutely' | 'hourly' | 'daily' | 'weekly' | 'monthly' required
measure'value_sum' | 'converted_contacts' | 'average' | 'average_per_member' required
startstring date-time required
endstring date-time required
cohort_segment_idstring uuid nullable

Response

Successful Response

chart_type'bar' | 'line' | 'area' required
x_labelstring nullable
y_labelstring nullable
series_provisional_lastboolean

Changes

No recorded changes to this operation across all 1 revision of this API.