# SaaS & Cloud Status Page SLA Uptime Monitor (`durative_hairstreak/saas-status-sla-monitor`) Actor

Monitor live outages, degraded components, incident history, downtime minutes, and calculated SLA uptime (%) across OpenAI, Anthropic, GitHub, Cloudflare, Vercel, Twilio, Zoom, and any custom Statuspage URL. Built for SRE, n8n, Slack & MCP agents.

- **URL**: https://apify.com/durative_hairstreak/saas-status-sla-monitor.md
- **Developed by:** [Tao Zhu](https://apify.com/durative_hairstreak) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 status page auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SaaS & Cloud Status Page SLA Uptime Monitor

**Unified real-time outage detection, degraded-component inspection, and merged-interval historical SLA availability (%) across 22+ verified Cloud, AI, and SaaS providers (OpenAI, Anthropic, GitHub, Cloudflare, Vercel, Supabase, Render, Pinecone, Twilio, Zoom, HubSpot, MongoDB Atlas, and any custom Statuspage/Instatus URL) — engineered for SREs, DevOps, IT Procurement, n8n/Slack alerting, and AI Agents via MCP.**

Stop manually checking 15 different status tabs during an incident or guessing whether a vendor breached its 99.9% SLA. This Actor queries **100% official public Statuspage JSON APIs (`/api/v2/summary.json` & `/api/v2/incidents.json`) and Instatus APIs**, accurately merges overlapping outage intervals, excludes informational/maintenance noise from contract SLA math, and outputs a clean `GREEN` / `AMBER` / `RED` fleet scorecard in **~1.6 seconds** with zero proxies and zero browser overhead.

***

### Live Cloud Benchmark Sample (`ai_infra` Pack — 1.6s Execution)

| Health | Vendor | Live Status | 30d Incidents | Major Outage Downtime | Est. 30d SLA % | SLA Flag (`99.9%`) |
| :---: | :--- | :--- | :---: | :---: | :---: | :---: |
| `GREEN` | **OpenAI** | All Systems Operational | 24 | 639.2 min | `98.5204%` | `BREACH` |
| `AMBER` | **Anthropic** | Partially Degraded Service | 20 | 5898.0 min | `86.3471%` | `BREACH` |
| `GREEN` | **GitHub** | All Systems Operational | 32 | 917.4 min | `97.8764%` | `BREACH` |
| `AMBER` | **Cloudflare** | Partially Degraded Service | 51 | 28.8 min | `99.9334%` | `PASS` |
| `GREEN` | **Vercel** | All Systems Operational | 3 | 189.3 min | `99.5617%` | `BREACH` |

***

### Key Capabilities

- **22 Verified One-Click Preset Vendors** (`ai_infra`, `dev_cloud`, `business_saas`, `all_presets`) — plus unlimited `customStatusUrls`.
- **True SRE Merged-Interval SLA Math**: Merges concurrent/overlapping major & critical outage intervals so wall-clock downtime is never double-counted, while excluding scheduled maintenance and `impact: none` notices from SLA penalties.
- **Quiet Alert Mode (`onlyAlertingVendors: true`)**: Outputs ONLY vendors currently experiencing degradation or breaching your `targetSlaPercent` — ideal for clean 5-minute n8n/Slack/PagerDuty cron triggers.
- **Fleet Rollup (`FLEET_SLA_SUMMARY`)**: Saved automatically to Key-Value Store for instant dashboard and LLM consumption.

***

### Integration Snippets (MCP, Python, cURL, n8n)

#### Connect to Claude Desktop / Cursor via Apify MCP (`mcp.apify.com`)

```json
{
  "mcpServers": {
    "apify-saas-sla-monitor": {
      "url": "https://mcp.apify.com/?actors=durative_hairstreak/saas-status-sla-monitor",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

Prompt example: *"Audit OpenAI, Anthropic, GitHub, Cloudflare, and Vercel right now. Tell me if any component is degraded and which providers breached 99.9% SLA over the last 30 days."*

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("durative_hairstreak/saas-status-sla-monitor").call(run_input={
    "presetPack": "ai_infra",
    "lookbackDays": 30,
    "targetSlaPercent": 99.9,
    "onlyAlertingVendors": False,
})
for vendor in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(vendor["headlineSummary"])
```

#### cURL / n8n HTTP Node

```bash
curl -X POST "https://api.apify.com/v2/acts/durative_hairstreak~saas-status-sla-monitor/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"presetPack":"ai_infra","lookbackDays":30,"onlyAlertingVendors":true}'
```

***

### Frequently Asked Questions (FAQ)

#### How is SLA availability (%) calculated?

We parse official incident start (`created_at`) and resolution (`resolved_at`) timestamps inside your `lookbackDays` window, keep service-impacting `major` and `critical` outages, merge any overlapping time intervals to avoid double-counting, and compute `(1 - totalDowntimeMs / windowMs) * 100`.

#### Can I monitor my own SaaS vendors not included in the 22 built-in presets?

Yes. Add any Atlassian Statuspage v2 or Instatus status page URL to `customStatusUrls` (e.g., `https://status.linear.app`, `https://status.snowflake.com`), and optionally set `"presetPack": "custom_only"`.

#### How fast is a full 10-vendor or 22-vendor SLA check?

Because the Actor reads official JSON endpoints directly without launching headless browsers, a 10-vendor audit with full 30-day incident history finishes in **~1.5–3 seconds** on 256MB memory.

***

### Related B2B Risk & Compliance Tools by `durative_hairstreak`

Explore all official-API B2B monitoring Actors at [apify.com/durative_hairstreak](https://apify.com/durative_hairstreak):

- **[SEC 8-K Risk Signals & Corporate Distress Monitor](https://apify.com/durative_hairstreak/sec-8k-risk-signals)** — Real-time US SEC 8-K cyber breach (1.05), financial restatement (4.02) & auditor exit (4.01) intelligence
- **SaaS & Cloud Status Page SLA Uptime Monitor** *(this Actor)*
- **B2B Vendor Security Posture & Trust Signal Auditor** — Instant Vanta/Drata/SafeBase GRC platform detection, DMARC/SPF/MX & TLS posture grading

# Actor input Schema

## `presetPack` (type: `string`):

Select a verified pack of major SaaS/AI/Cloud status pages, or choose 'custom_only' to monitor only your own URLs.

## `customStatusUrls` (type: `array`):

Additional or custom Statuspage-compatible base URLs (e.g., https://status.openai.com, https://www.githubstatus.com, https://status.anthropic.com). Works with Atlassian Statuspage v2 and Instatus JSON APIs.

## `lookbackDays` (type: `integer`):

Calculate incident count, total downtime minutes, and estimated SLA availability (%) over this trailing window.

## `onlyAlertingVendors` (type: `boolean`):

When enabled, outputs only vendors currently experiencing an outage/degradation or falling below your target SLA threshold (ideal for quiet Slack/n8n alerts).

## `targetSlaPercent` (type: `number`):

Flag any vendor whose calculated lookback SLA uptime falls below this target (e.g., 99.9).

## `includeIncidentHistory` (type: `boolean`):

Fetch full recent incident logs (/api/v2/incidents.json) to calculate precise downtime minutes and include structured incident summaries.

## `maxIncidentsPerVendor` (type: `integer`):

Cap detailed incident entries per vendor record to keep payloads compact for MCP AI agents.

## Actor input object example

```json
{
  "presetPack": "ai_infra",
  "customStatusUrls": [],
  "lookbackDays": 30,
  "onlyAlertingVendors": false,
  "targetSlaPercent": 99.9,
  "includeIncidentHistory": true,
  "maxIncidentsPerVendor": 10
}
```

# Actor output Schema

## `vendorSlaReport` (type: `string`):

No description

## `fleetSlaSummary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "presetPack": "ai_infra",
    "customStatusUrls": [],
    "lookbackDays": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("durative_hairstreak/saas-status-sla-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "presetPack": "ai_infra",
    "customStatusUrls": [],
    "lookbackDays": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("durative_hairstreak/saas-status-sla-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "presetPack": "ai_infra",
  "customStatusUrls": [],
  "lookbackDays": 30
}' |
apify call durative_hairstreak/saas-status-sla-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,durative_hairstreak/saas-status-sla-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/P73SVzB4Jihr9NRGx/builds/ugU8mDBHUpzPPAoDx/openapi.json
