API Reference · 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!
): StatuspageStatisticsArguments
Field
Type
Returns
Field
Type
Example
query StatuspageStatistics($organizationUUID: ID!, $statuspageId: Int!) {
statuspageStatistics(organizationUUID: $organizationUUID, statuspageId: $statuspageId) {
slug
datapoints {
timestamp
views
}
}
}Example response
{
"data": {
"statuspageStatistics": {
"slug": "Example slug",
"datapoints": [
{
"timestamp": "2026-01-01T12:00:00Z",
"views": 1
}
]
}
}
}Related
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.