Get Usage Series Endpoint

Configurable credit-usage time series for the workspace.

granularity buckets by day/week/month, group_by splits each bucket by member or chat-vs-routine, and start/end bound the range (defaulting to a granularity-appropriate trailing window). Credits only.

get/credits/usage/series

Query parameters

granularity'day' | 'week' | 'month'
group_by'none' | 'member' | 'type'
startstring date nullable
endstring date nullable

Headers

Authorizationstring nullable
X-User-Idstring nullable

Cookies

session_idstring nullable

Response

Successful Response

granularity'day' | 'week' | 'month' required
group_by'none' | 'member' | 'type' required
startstring date required
endstring date required

Changes

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