{
  "openapi": "3.0.1",
  "info": {
    "title": "SaaS Status Page Monitor: Outages, Incidents, Maintenance",
    "description": "Know when the SaaS and cloud services you rely on have outages, incidents or maintenance: 160+ vendors built in (GitHub, Cloudflare, OpenAI, Anthropic, Google Cloud) or any Statuspage, incident.io, Instatus, Better Stack or Status.io page. One table, change alerts.",
    "version": "0.1",
    "x-build-id": "rPewSyLrWvDGBYaNQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dottti~saas-status-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dottti-saas-status-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/dottti~saas-status-monitor/runs": {
      "post": {
        "operationId": "runs-sync-dottti-saas-status-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/dottti~saas-status-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-dottti-saas-status-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "services": {
            "title": "Services to watch",
            "type": "array",
            "description": "One per line: a service name from the built-in directory (GitHub, Cloudflare, OpenAI, Anthropic, Google Cloud, Vercel, Netlify, DigitalOcean, Shopify, Discord, Zoom, Twilio, Atlassian, Jira, Notion and 160+ more; turn on 'List the directory' to see them all) or the address of any public status page (Atlassian Statuspage, incident.io, Instatus, Better Stack, Status.io, Cachet, or an RSS/Atom status feed). The platform is detected automatically. Empty = a demo with GitHub, Cloudflare, OpenAI, Anthropic and Google Cloud.",
            "default": [
              "GitHub",
              "Cloudflare",
              "OpenAI",
              "Anthropic",
              "Google Cloud"
            ],
            "items": {
              "type": "string"
            }
          },
          "rowTypes": {
            "title": "Rows to return",
            "enum": [
              "services_and_incidents",
              "services",
              "incidents"
            ],
            "type": "string",
            "description": "Service rows give each service's current overall status and its degraded components. Incident rows give each incident and maintenance window (title, impact, status, components, start, end, duration, latest update, link).",
            "default": "services_and_incidents"
          },
          "activeOnly": {
            "title": "Only what is happening now",
            "type": "boolean",
            "description": "Return only unresolved incidents, maintenance in progress and upcoming maintenance. Faster: past incidents are not downloaded.",
            "default": false
          },
          "sinceDays": {
            "title": "Past incidents from the last N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Resolved incidents and finished maintenance older than this are skipped (unresolved ones are always returned). Most platforms publish about the last 50 incidents.",
            "default": 7
          },
          "minImpact": {
            "title": "Minimum incident impact",
            "enum": [
              "none",
              "minor",
              "major",
              "critical"
            ],
            "type": "string",
            "description": "Skip incidents below this impact. Impact uses one scale for every platform: minor (degraded performance), major (partial outage), critical (major outage). Incidents whose platform publishes no impact are kept only with 'Any'. Maintenance is not affected.",
            "default": "none"
          },
          "includeMaintenance": {
            "title": "Include scheduled maintenance",
            "type": "boolean",
            "description": "Also return scheduled, in-progress and recent maintenance windows.",
            "default": true
          },
          "componentKeywords": {
            "title": "Only these components",
            "type": "array",
            "description": "Words to look for in component names, groups and incident titles (case is ignored, parts of words match: 'api' matches 'REST API'). Incidents that match none are skipped; service rows list only matching degraded components and add the worst status of the matching components. Empty = all components.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxIncidentsPerService": {
            "title": "Incidents per service",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "The most incident and maintenance rows returned for each service (unresolved first, then newest).",
            "default": 20
          },
          "maxUpdateLength": {
            "title": "Latest update length (characters)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "The vendor's latest update text is cut to this length at a word break (latestUpdateTruncated is then true). 0 = leave the text out.",
            "default": 500
          },
          "includeUpdateHistory": {
            "title": "Include every update",
            "type": "boolean",
            "description": "Add an 'updates' list to each incident row with every published update (status, time, text cut to the length above). Not every platform publishes the full history.",
            "default": false
          },
          "alertMode": {
            "title": "Alerts",
            "enum": [
              "off",
              "onlyNew",
              "onlyChanged"
            ],
            "type": "string",
            "description": "Off = return everything that matches. Only new = return incidents and maintenance never returned before by a run with the same alert name, plus services whose overall status changed. Only changes = also return incidents whose status changed or that were resolved, and services whose degraded components changed. Each row then has 'change' (new, status_changed, resolved, updated, recovered, components_changed) and 'previousStatus'. The first run returns everything as a starting point. Use with a schedule and a Slack or email integration.",
            "default": "off"
          },
          "alertName": {
            "title": "Alert name",
            "type": "string",
            "description": "Name of the memory used by alerts. Use a different name for each separate watch list or schedule.",
            "default": "default"
          },
          "listDirectory": {
            "title": "List the directory",
            "type": "boolean",
            "description": "Also return the built-in directory (service name, other names it answers to, category, platform, status page) as free rows.",
            "default": false
          },
          "maxItems": {
            "title": "Max rows per run",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many service and incident rows in total.",
            "default": 1000
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Pause before each request, to stay polite to each status page.",
            "default": 200
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries per request on network errors, 429 and 5xx answers.",
            "default": 3
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}