Try the RankNibbler SEO API

List maintenance windows Beta

GET /api/v1/maintenance

Returns your workspace's maintenance windows, newest first by start time.

Needs an X-API-Key header whose owner has access to uptime monitoring in the app. The call counts once against your daily quota. See Monitoring API: getting started for authentication, rate limits and errors.

Query parameters

NameTypeDescription
status optionalstringactive (an occurrence is running now), upcoming (has a future occurrence, none running) or past (no occurrences left).
monitorId optionalstringOnly windows that cover this monitor, including allMonitors windows.
page optionalintegerPage number, starting at 1. Default 1.
per optionalintegerWindows per page, 1 to 1000. Default 100.

Request

Response

200 · application/json
  1. {
  2. "total": 1, "page": 1, "per": 100,
  3. "windows": [
  4. { "id": "mw_3f9a0c1d2e4b5a6c7d8e", "description": "Weekly database backup", "recurrence": "week", "active": false, … }
  5. ],
  6. "usage": { "used": 30, "dailyLimit": 100, "tier": "free" }
  7. }

Errors

StatusWhen
400status isn't active, upcoming or past.
401The API key is missing or invalid.
403The key's owner doesn't have access to uptime monitoring, or the key isn't linked to a workspace.
405The endpoint doesn't accept that method.
429A rate limit or your daily quota was hit. Read Retry-After, in seconds.
500Something went wrong on our side. Try again.
503The API is temporarily unavailable. Try again shortly.

Errors are JSON: { "error": "message" }. See Monitoring API errors.

Related