API-Referenz · Status pages
Get status page statistics
Query
statuspageStatisticsReturns the daily views of a status page over the last 30 days. Results are cached and can lag behind.
statuspageStatistics(
organizationUUID: ID!
statuspageId: Int!
): StatuspageStatisticsArgumente
Feld
Typ
Rückgabe
Feld
Typ
Beispiel
query StatuspageStatistics($organizationUUID: ID!, $statuspageId: Int!) {
statuspageStatistics(organizationUUID: $organizationUUID, statuspageId: $statuspageId) {
slug
datapoints {
timestamp
views
}
}
}Beispielantwort
{
"data": {
"statuspageStatistics": {
"slug": "Example slug",
"datapoints": [
{
"timestamp": "2026-01-01T12:00:00Z",
"views": 1
}
]
}
}
}Siehe auch
Get status page by slug
Fetches a status page by its slug. Works without authentication for public pages; other pages require access.
Check subdomain availability
Whether a subdomain can be used. Pass statuspageId when editing a page: its own subdomain counts as available and its change cooldown applies.