Returns uptime for a Hub which is based on uptime of all services in that Hub for a given date range.
Hub is considered up if all of its services are not down. Every time frame when at least one of Hub services is down, is considered as downtime for this Hub.
Maximum length of date range is 18 months.
Security
ApiKeyAuth
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/uptime
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/uptime
curl -i -X GET \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/uptime?start_date=2025-01-01&end_date=2025-01-01&api_version=V3-R1' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Response
{ "uptime": 0.9995 }