Anomaly Detection

List Historical Anomalies

Changed on

List anomalies that a Signal has resolved within a bounded time window. Anomalies are returned in cursor-paginated pages, most recent first. start_time and end_time are required and must span no more than 30 days.

get/1/signals/{signalId}/historical_anomalies

Request

  • Base URL
    https://api.honeycomb.io
  • URL
    https://api.honeycomb.io/1/signals/{signalId}/historical_anomalies
  • Auth
    API key in header X-Honeycomb-Team

Query parameters

start_timeinteger required

Start of the query window, in seconds since UNIX epoch.

end_timeinteger required

End of the query window, in seconds since UNIX epoch. Must be after start_time and within 30 days of it.

page[after]string

The string value of the next attribute from a previous result page. The cursor value must be empty or omitted for the first request of a cursor-paginated query.

page[size]number

The number of entries to include per response. Maximum value is 100.

Response

Success

Example response

{
  "historical_anomalies": [
    {
      "id": "0f8d0f3a-3f8b-5f2b-8f2b-1f2b3f4b5f6b",
      "started_at": 1741089600,
      "ended_at": 1741093200,
      "measurement": 0.42,
      "normal_range": {
        "lower": 0.01,
        "upper": 0.08
      }
    }
  ],
  "links": {
    "next": "/2/teams/my-team/api-keys?page[after]=3025fa645ad1100d&page[size]=10"
  }
}

Changes