StatOSS Alert settings API

When a page's alerts go out and to whom, and a test alert.

GitHub OpenAPI

Operations 3

GET /pages/{pageId}/alert-settings A page's alert settings #
PATCH /pages/{pageId}/alert-settings Change a page's alert settings #
POST /pages/{pageId}/alert-settings/test Send a test alert for a page #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/statoss-com:statoss-com-alert-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

statoss-com-alert-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StatOSS Alert settings API
  version: '1'
  description: Everything the dashboard does to a status page, over HTTPS with a key. Keys are made under Settings, API keys; each reads, or reads and writes, and reaches every page or one page.
servers:
- url: https://statoss.com/api/v1
security:
- bearer: []
tags:
- name: Alert settings
  description: When a page's alerts go out and to whom, and a test alert.
paths:
  /pages/{pageId}/alert-settings:
    get:
      tags:
      - Alert settings
      operationId: getAlertSettings
      summary: A page's alert settings
      description: Whether alerts go out, how often they repeat, the destinations and people they go to, who is paged and when subscribers hear of an outage.
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      responses:
        '200':
          description: The settings.
          content:
            application/json:
              schema:
                type: object
                properties:
                  settings:
                    $ref: '#/components/schemas/AlertSettings'
              example:
                settings:
                  pageId: 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  alertsEnabled: true
                  alertOwnerEmail: true
                  repeatAlertMinutes: 30
                  monthlyReport: false
                  destinationIds:
                  - 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                  destinations:
                  - id: 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                    kind: email
                    name: ops@example.com
                    confirmed: true
                    available: true
                  memberIds: []
                  escalationPolicyId: null
                  ackTimeoutMinutes: 0
                  subscriberOutageMinutes: 5
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      tags:
      - Alert settings
      operationId: updateAlertSettings
      summary: Change a page's alert settings
      description: What the dashboard's Notifications tab saves; what the body leaves out stays. Everything is checked before anything is saved. The escalation policy and the acknowledgement time are for the owner's and admins' keys, with on-call. The monthly report and subscriberOutageMinutes are on Pro.
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertSettingsPatch'
            example:
              repeatAlertMinutes: 30
              destinationIds:
              - 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
      responses:
        '200':
          description: The settings after the change.
          content:
            application/json:
              schema:
                type: object
                properties:
                  settings:
                    $ref: '#/components/schemas/AlertSettings'
              example:
                settings:
                  pageId: 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  alertsEnabled: true
                  alertOwnerEmail: true
                  repeatAlertMinutes: 30
                  monthlyReport: false
                  destinationIds:
                  - 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                  destinations:
                  - id: 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                    kind: email
                    name: ops@example.com
                    confirmed: true
                    available: true
                  memberIds: []
                  escalationPolicyId: null
                  ackTimeoutMinutes: 0
                  subscriberOutageMinutes: 5
        '400':
          description: The body or the query did not pass validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The plan or a limit does not allow it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /pages/{pageId}/alert-settings/test:
    post:
      tags:
      - Alert settings
      operationId: testPageAlerts
      summary: Send a test alert for a page
      description: Sends one test alert to every destination the page sends to, as saved, and says which took it. A 409 when alerts are off or nothing can take them yet. Email is left out past 5 test emails an hour.
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      responses:
        '200':
          description: What each destination answered.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageAlertTest'
              example:
                sent: true
                emailSkipped: false
                results:
                - destinationId: 5b0f3c1e-0000-4d2a-9f8e-7a6b5c4d3e2f
                  kind: email
                  name: email to ops@example.com
                  sent: true
                  error: null
        '401':
          description: No key, or a key that is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: A read-only key, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Nothing by that id that this key reaches.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: It cannot be done as things stand.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PageAlertTest:
      type: object
      properties:
        sent:
          type: boolean
          description: true when every destination took it.
        emailSkipped:
          type: boolean
          description: 'true when the email destinations were left out: too many test emails this hour.'
        results:
          type: array
          items:
            type: object
            properties:
              destinationId:
                type: string
                description: The destination.
              kind:
                type: string
                description: Its kind.
              name:
                type: string
                description: Where it went, such as email to ops@example.com.
              sent:
                type: boolean
                description: Whether it took the alert.
              error:
                type:
                - string
                - 'null'
                description: What went wrong and what to do about it.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: 'A short machine-readable reason: unauthenticated, read_only, forbidden, not_found, bad_request, conflict, plan_limit, too_broad, rate_limited, suspended, out_of_reach, internal, unavailable.'
            message:
              type: string
              description: What went wrong, in words.
          required:
          - code
          - message
      required:
      - error
    AlertSettingsPatch:
      type: object
      properties:
        alertsEnabled:
          type: boolean
          description: Alerts on or off.
        alertOwnerEmail:
          type: boolean
          description: The account's own address gets the alerts.
        repeatAlertMinutes:
          type: integer
          description: 0 to 1440.
          minimum: 0
          maximum: 1440
        monthlyReport:
          type: boolean
          description: Pro.
        destinationIds:
          type: array
          items:
            type: string
          description: The account's destinations the page sends to, replacing the list. At most 20.
        memberIds:
          type: array
          items:
            type: string
          description: People on the team besides the owner, replacing the list.
        escalationPolicyId:
          type:
          - string
          - 'null'
          description: One of the team's policies, or null for none. With on-call.
        ackTimeoutMinutes:
          type: integer
          description: With on-call.
          enum:
          - 0
          - 30
          - 60
          - 240
          - 480
          - 1440
        subscriberOutageMinutes:
          type: integer
          description: 0 to 1440, or -1 for never. Pro.
          minimum: -1
          maximum: 1440
    AlertSettings:
      type: object
      properties:
        pageId:
          type: string
          description: The page.
        alertsEnabled:
          type: boolean
          description: 'false: the page still shows every outage and nobody is told.'
        alertOwnerEmail:
          type: boolean
          description: Whether the account's own address gets the alerts.
        repeatAlertMinutes:
          type: integer
          description: Minutes between repeats of the down alert while down; 0 for none.
          minimum: 0
          maximum: 1440
        monthlyReport:
          type: boolean
          description: Whether the owner gets the monthly uptime report.
        destinationIds:
          type: array
          items:
            type: string
          description: The account's destinations the page sends to, at most 20.
        destinations:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: The destination id.
              kind:
                type: string
                description: Its kind.
              name:
                type: string
                description: How the dashboard names it.
              confirmed:
                type: boolean
                description: 'false: an address that waits for its link.'
              available:
                type: boolean
                description: 'false: left out by the plan.'
        memberIds:
          type: array
          items:
            type: string
          description: People on the team (user ids) whose addresses also get the alerts.
        escalationPolicyId:
          type:
          - string
          - 'null'
          description: The on-call escalation policy that pages for the page.
        ackTimeoutMinutes:
          type: integer
          description: How long an acknowledgement lasts before the alert pages again; 0 is until resolved.
          enum:
          - 0
          - 30
          - 60
          - 240
          - 480
          - 1440
        subscriberOutageMinutes:
          type: integer
          description: Minutes an automatic incident is open before subscribers are told; -1 is never.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer sk_... with a key from Settings, API keys, or an OAuth access token (sat_...) from /oauth/token, which /.well-known/oauth-authorization-server describes. An agent nobody has claimed yet holds a sag_... token, which reaches /agent/draft only (see /auth.md).'