GET
/
v1
/
services
/
{id}
/
uptime_chart
curl --request GET \
  --url 'https://api.rootly.com/v1/services/%7Bid%7D/uptime_chart?period=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "data": {
    "2025-02-20": 100,
    "2025-02-21": 100,
    "2025-02-22": 100,
    "2025-02-23": 100,
    "2025-02-24": 100,
    "2025-02-25": 100,
    "2025-02-26": 100,
    "2025-02-27": 100,
    "2025-02-28": 100,
    "2025-03-01": 100,
    "2025-03-02": 100,
    "2025-03-03": 100,
    "2025-03-04": 50,
    "2025-03-05": 0,
    "2025-03-06": 100,
    "2025-03-07": 100
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Query Parameters

period
string

Response

200
application/vnd.api+json
success

The response is of type object.