Get a bucketed outcome time series

View as MarkdownOpen in Claude

Returns a bucketed time series of outcomes over the reporting window. When granularity is omitted, the server picks day for short windows, week for medium, and month for long windows. Use to render trend charts in the operator UI.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

periodStartstringOptional

ISO 8601 date or datetime for the inclusive lower bound. Bare YYYY-MM-DD is treated as start-of-day UTC. Defaults to 12 months ago.

periodEndstringOptional

ISO 8601 date or datetime for the inclusive upper bound. Bare YYYY-MM-DD is treated as end-of-day inclusive. Defaults to now.

granularityenumOptional
Bucket size for the series. When omitted, the server picks one based on the resolved range.
Allowed values:

Response

granularityenum
Granularity actually applied by the server.
datalist of objects
Bucketed time series points, ordered by bucketStart.