Get hourly distribution of sessions

View as MarkdownOpen in Claude

Returns per-hour-of-day counts (0-23) of completed sessions across the reporting window. Use to render time-of-day heatmaps and find peak windows.

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.

Response

datamap from strings to integers

Per-hour-of-day counts (0-23) of completed sessions across the reporting window. Use to render heatmaps.