fettle-sh · Schema

IncidentRead

Response model for an open or resolved incident.

MonitoringUptimeDevelopersAI AgentsAPI

Properties

Name Type Description
id string
monitor_id object
heartbeat_id object
started_at string
resolved_at object
cause object
cause_detail object
last_notified_at object
acknowledged_at object
acknowledged_by object
renotify_count integer
created_at string
updated_at string
notification_logs array
View JSON Schema on GitHub

JSON Schema

fettle-sh-incident-read-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fettle-sh/json-schema/fettle-sh-incident-read-schema.json",
  "title": "IncidentRead",
  "description": "Response model for an open or resolved incident.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/fettle-sh-api-openapi.json#/components/schemas/IncidentRead",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "monitor_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Monitor Id"
    },
    "heartbeat_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Heartbeat Id"
    },
    "started_at": {
      "type": "string",
      "format": "date-time",
      "title": "Started At"
    },
    "resolved_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resolved At"
    },
    "cause": {
      "$ref": "#/$defs/IncidentCause"
    },
    "cause_detail": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cause Detail"
    },
    "last_notified_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Notified At"
    },
    "acknowledged_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acknowledged At"
    },
    "acknowledged_by": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acknowledged By"
    },
    "renotify_count": {
      "type": "integer",
      "title": "Renotify Count"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "notification_logs": {
      "items": {
        "$ref": "#/$defs/NotificationLogRead"
      },
      "type": "array",
      "title": "Notification Logs"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "id",
    "started_at",
    "resolved_at",
    "cause",
    "cause_detail",
    "last_notified_at",
    "acknowledged_at",
    "acknowledged_by",
    "renotify_count",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "ChannelType": {
      "type": "string",
      "enum": [
        "EMAIL",
        "TELEGRAM",
        "WEBHOOK",
        "SLACK",
        "DISCORD"
      ],
      "title": "ChannelType",
      "description": "Transport for a user notification channel."
    },
    "IncidentCause": {
      "type": "string",
      "enum": [
        "TIMEOUT",
        "DNS_FAILURE",
        "CONNECTION_REFUSED",
        "TLS_INVALID",
        "HTTP_4XX",
        "HTTP_5XX",
        "HTTP_UNEXPECTED_STATUS",
        "KEYWORD_MISSING",
        "TOO_MANY_REDIRECTS",
        "TARGET_BLOCKED",
        "PORT_STATE_MISMATCH",
        "INVALID_TARGET",
        "HEARTBEAT_MISSED",
        "HEARTBEAT_FAILED",
        "UNKNOWN"
      ],
      "title": "IncidentCause",
      "description": "Structured cause of an incident, across both incident sources.\n\nA superset of the worker's wire ``FailureKind``: every value the worker can\nreport is storable here, plus the causes only the core can observe (a\nheartbeat that never pinged, a client that reported its own failure). The\ntwo enums are declared separately so the worker contract does not grow\nvalues the worker never emits — ``test_enums.py`` guards the subset\nrelation, which is what keeps ``process_check_result`` able to store any\nincoming ``failure_kind``.\n\nThe raw human-readable reason lives in ``Incident.cause_detail``."
    },
    "NotificationEvent": {
      "type": "string",
      "enum": [
        "TRIGGERED",
        "RESOLVED",
        "SSL_EXPIRY"
      ],
      "title": "NotificationEvent",
      "description": "Lifecycle event that triggered an outgoing notification."
    },
    "NotificationLogRead": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "channel_type": {
          "$ref": "#/$defs/ChannelType"
        },
        "destination": {
          "type": "string",
          "title": "Destination"
        },
        "event": {
          "$ref": "#/$defs/NotificationEvent"
        },
        "sent_at": {
          "type": "string",
          "format": "date-time",
          "title": "Sent At"
        },
        "status": {
          "$ref": "#/$defs/NotificationStatus"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "id",
        "channel_type",
        "destination",
        "event",
        "sent_at",
        "status",
        "error"
      ],
      "title": "NotificationLogRead",
      "description": "One delivery attempt in an incident's notification timeline."
    },
    "NotificationStatus": {
      "type": "string",
      "enum": [
        "PENDING",
        "SENT",
        "FAILED"
      ],
      "title": "NotificationStatus",
      "description": "Delivery outcome for an outgoing notification."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fettle-sh-incident-read"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.