Get SLO Hourly Counts History
Get hourly-bucketed total and error event counts for an SLO from the persistent historical store. Use this endpoint to retrieve completed historical hours; pair with the Get SLO Realtime Counts endpoint for the current in-progress hour.
Requirements:
- Available on the Enterprise plan only.
- This feature must be enabled for your team. Contact your account team to request access.
Partial buckets: The most recent bucket may be marked is_partial: true if it covers the current in-progress hour. Counts for that bucket will increase until the hour completes.
Documentation Index
Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authenticate using a Honeycomb Configuration Key.
Pass the Token in the X-Honeycomb-Team header:
X-Honeycomb-Team: 1234567890123456789012If you created your key using the API, use data.attributes.secret; this is the same value as the Token in the UI.
To learn how to create a Configuration Key, visit Manage Environment API Keys. To learn more about authenticating requests, visit API Authentication.
Path Parameters
The dataset slug or use __all__ for endpoints that support environment-wide operations.
Unique identifier (ID) of the SLO.
Query Parameters
Start of the time range as a Unix timestamp (seconds).
End of the time range as a Unix timestamp (seconds). Must be greater than start_time.
Response
Success
The unique identifier of the SLO.
"bZ1aRHAUsjG"
The width of each bucket in seconds. Always 3600.
3600
Ordered list of hourly count buckets within the requested time range. Gaps indicate hours with no recorded data. An empty array means no data exists for the requested range.