Skip to main content
GET
/
metrics
/
{metric_id}
/
metric-events
/
history
Get metric event history
curl --request GET \
  --url https://api.example.com/metrics/{metric_id}/metric-events/history \
  --header 'Authorization: Bearer <token>'
{
  "history": [
    {
      "bucket_start": "<string>",
      "bucket_end": "<string>",
      "bucket_minutes": 123,
      "total": 123,
      "pass_rate": 123,
      "fail_rate": 123,
      "flag_count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

metric_id
string
required

Response

Metric event history

history
object[]
required