Skip to main content
POST
Get SLO History

Authorizations

X-Honeycomb-Team
string
header
required

Authenticate using a Honeycomb Configuration Key.

Pass the Token in the X-Honeycomb-Team header:

If 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.

Body

application/json
ids
array
required

A list of SLO IDs to retrieve history for. Cannot be an empty array or more than 24 in length.

Required array length: 1 - 24 elements
Example:
start_time
integer
required

The starting Unix timestamp, in seconds since the epoch, to retrieve historical data for. Cannot be more than a year in the past.

Example:

1742230800

end_time
integer
required

The ending Unix timestamp, in seconds since the epoch, to retrieve historical data for. Must be greater than start_time. Cannot be a future timestamp.

Example:

1745254800

Response

A mapping from SLO IDs (e.g., "2LBq9LckbcA") to their historical data. Each SLO ID maps to an array of compliance and budget intervals.

Note: An empty array indicates that no historical data was found for the given time range for that SLO.

A mapping from SLO IDs (e.g., "2LBq9LckbcA") to their historical data. Each SLO ID maps to an array of compliance and budget intervals.

{key}
object[]