Skip to main content
GET
/
api
/
v1
/
status-pages
/
{id}
/
components
Get component tree with uptime data
curl --request GET \
  --url https://api.example.com/api/v1/status-pages/{id}/components
[
  {
    "type": "monitor",
    "id": "<string>",
    "name": "<string>",
    "sortOrder": 123,
    "uptimePercentage": "<string>",
    "currentStatus": "Operational",
    "statusHistory": [
      {
        "status": "Operational",
        "timestamp": "<string>",
        "tooltip": "<string>",
        "uptimePercentage": 123,
        "upCount": 123,
        "downCount": 123
      }
    ],
    "lastChecked": "<string>",
    "updateInterval": 123,
    "defaultOpen": true,
    "groupId": "<string>",
    "supportsDayDetails": true
  }
]

Documentation Index

Fetch the complete documentation index at: https://getmonitor.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Query Parameters

days
integer
default:60

Number of days of history to include (default: 60)

Example:

30

Response

200 - application/json

Component tree with uptime history

type
enum<string>
required
Available options:
monitor
id
string
required
name
string
required
sortOrder
integer
required
uptimePercentage
string
required
currentStatus
enum<string>
required
Available options:
Operational,
Downtime,
Degraded
statusHistory
object[]
required
lastChecked
string
required
updateInterval
integer
required
defaultOpen
boolean
required
groupId
string | null
supportsDayDetails
boolean