Skip to main content
GET
/
metrics
/
{metric_id}
/
monitor
/
history
Get monitor history
curl --request GET \
  --url https://api.example.com/metrics/{metric_id}/monitor/history \
  --header 'Authorization: Bearer <token>'
{
  "history": [
    {
      "period": 123,
      "value": 123,
      "bucket_start": "<string>"
    }
  ]
}

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

Metric ID.

Query Parameters

window_hours
number

History window in hours.

Response

Monitor history

history
object[]
required