StatOSS On call API

Who is on call now, by schedule and by escalation policy level, and a page's alerts.

GitHub OpenAPI

Operations 4

GET /pages/{pageId}/alerts List a page's alerts #
GET /pages/{pageId}/alerts/{alertId} One alert #
POST /pages/{pageId}/alerts/{alertId}/{action} Acknowledge, unacknowledge, resolve or snooze an alert #
GET /pages/{pageId}/on-call Who is on call #

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-on-call-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-on-call-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StatOSS On call 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: On call
  description: Who is on call now, by schedule and by escalation policy level, and a page's alerts.
paths:
  /pages/{pageId}/alerts:
    get:
      tags:
      - On call
      operationId: listAlerts
      summary: List a page's alerts
      description: 'Its open alerts, triggered before acknowledged, or with status=resolved the last 100 resolved. Alerts that joined another''s group are shown under it. The page can be a project''s on-call page, whose id an alert rule with internal: true carries; GET /pages does not list it. Without on-call, a 404.'
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      - name: status
        in: query
        schema:
          type: string
          enum:
          - open
          - resolved
          default: open
        description: open, or resolved for the last 100.
      responses:
        '200':
          description: The alerts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      $ref: '#/components/schemas/Alert'
              example:
                alerts:
                - id: 9d1c2b3a-0000-4b8a-9c0d-1e2f3a4b5c6d
                  pageId: 6e5d4c3b-1111-4b8a-9c0d-1e2f3a4b5c6d
                  internal: false
                  number: 12
                  status: triggered
                  severity: critical
                  summary: Checkout is down
                  affected: checkout-api
                  from: Checkout API
                  count: 1
                  createdAt: '2026-10-08T09:30:00.000Z'
                  acknowledgedAt: null
                  acknowledgedBy: null
                  resolvedAt: null
                  resolvedBy: null
                  acknowledgedUntil: null
                  snoozed: false
                  heldByMaintenance: false
                  groupedInto: null
                  grouped: 0
                  url: https://statoss.com/app/6e5d4c3b-1111-4b8a-9c0d-1e2f3a4b5c6d/alerts/9d1c2b3a-0000-4b8a-9c0d-1e2f3a4b5c6d
        '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'
        '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. Retry-After says in how many seconds the minute is up.
          headers:
            Retry-After:
              description: Seconds until the minute is up.
              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}/alerts/{alertId}:
    get:
      tags:
      - On call
      operationId: getAlert
      summary: One alert
      description: The alert with what its sender said and its timeline. Without on-call, a 404.
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      - name: alertId
        in: path
        required: true
        schema:
          type: string
        description: The alert id, from the list of alerts.
      responses:
        '200':
          description: The alert.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alert:
                    $ref: '#/components/schemas/AlertDetail'
        '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. Retry-After says in how many seconds the minute is up.
          headers:
            Retry-After:
              description: Seconds until the minute is up.
              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}/alerts/{alertId}/{action}:
    post:
      tags:
      - On call
      operationId: actOnAlert
      summary: Acknowledge, unacknowledge, resolve or snooze an alert
      description: 'Needs a write key. snooze needs minutes, a whole number from 1 to 10080: nobody is paged or reminded until they run out, when the alert is triggered again if still open. A 409 when the alert is past that already. Without on-call, a 404.'
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      - name: alertId
        in: path
        required: true
        schema:
          type: string
        description: The alert id, from the list of alerts.
      - name: action
        in: path
        required: true
        schema:
          type: string
          enum:
          - acknowledge
          - unacknowledge
          - resolve
          - snooze
        description: What to do.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                note:
                  type: string
                  description: Added to the alert's timeline.
                minutes:
                  type: integer
                  description: 'snooze: how long, from 1 to 10080.'
                  minimum: 1
                  maximum: 10080
            example:
              note: Looking into it.
      responses:
        '200':
          description: The alert after.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alert:
                    $ref: '#/components/schemas/Alert'
        '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 on a write route.
          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: Something changed since, or 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. Retry-After says in how many seconds the minute is up.
          headers:
            Retry-After:
              description: Seconds until the minute is up.
              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}/on-call:
    get:
      tags:
      - On call
      operationId: getOnCall
      summary: Who is on call
      description: Each of the team's schedules with whoever is on call now and until when, and each policy that pages for the page (its own, and those its sources page through), level by level, with who it would page now. Schedules and policies are on Pro; elsewhere both lists are empty. Without on-call, a 404.
      parameters:
      - name: pageId
        in: path
        required: true
        schema:
          type: string
        description: The page id, from GET /pages.
      responses:
        '200':
          description: Who is on call.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnCall'
        '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. Retry-After says in how many seconds the minute is up.
          headers:
            Retry-After:
              description: Seconds until the minute is up.
              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:
    Alert:
      type: object
      properties:
        id:
          type: string
          description: The alert id.
        pageId:
          type: string
          description: The page it is on.
        internal:
          type: boolean
          description: true when the page is a project's on-call page, which is no status page.
        number:
          type: integer
          description: 'Counts up per page: #12 in the dashboard.'
        status:
          type: string
          description: triggered, acknowledged or resolved.
          enum:
          - triggered
          - acknowledged
          - resolved
        severity:
          type: string
          description: critical, error, warning or info.
          enum:
          - critical
          - error
          - warning
          - info
        summary:
          type: string
          description: What the sender says happened.
        affected:
          type:
          - string
          - 'null'
          description: What the sender says is affected.
        from:
          type: string
          description: The source's name, or the monitor's for an outage.
        count:
          type: integer
          description: How many times it came in.
        createdAt:
          type: string
          description: ISO 8601, UTC.
          format: date-time
        acknowledgedAt:
          type:
          - string
          - 'null'
          description: ISO 8601, UTC.
          format: date-time
        acknowledgedBy:
          type:
          - string
          - 'null'
          description: Who acknowledged it.
        resolvedAt:
          type:
          - string
          - 'null'
          description: ISO 8601, UTC.
          format: date-time
        resolvedBy:
          type:
          - string
          - 'null'
          description: Who or what resolved it.
        acknowledgedUntil:
          type:
          - string
          - 'null'
          description: When the acknowledgement or snooze runs out and it is triggered again; null for good.
          format: date-time
        snoozed:
          type: boolean
          description: true when acknowledgedUntil is a snooze.
        heldByMaintenance:
          type: boolean
          description: Waiting for a maintenance window over the whole page to end.
        groupedInto:
          type:
          - string
          - 'null'
          description: The alert it joined, when it is in a group.
        grouped:
          type: integer
          description: How many open alerts joined it.
        url:
          type: string
          description: The alert in the dashboard.
    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
    OnCall:
      type: object
      properties:
        pageId:
          type: string
          description: The page.
        at:
          type: string
          description: ISO 8601, UTC.
          format: date-time
        schedules:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: The schedule id.
              name:
                type: string
                description: Its name.
              timeZone:
                type: string
                description: The zone its turns are in.
              onCall:
                type:
                - object
                - 'null'
                properties:
                  id:
                    type: string
                    description: Their user id.
                  name:
                    type: string
                    description: Their name, or email.
                  email:
                    type: string
                    description: Their email.
              until:
                type:
                - string
                - 'null'
                description: When their turn ends; null when nobody is on call, or not within 31 days.
                format: date-time
        policies:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: The escalation policy id.
              name:
                type: string
                description: Its name.
              repeat:
                type: integer
                description: How many times it runs again from the top.
              forPage:
                type: boolean
                description: The page's own policy.
              sources:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      description: A source on the page.
                    name:
                      type: string
                      description: Its name.
              levels:
                type: array
                items:
                  type: object
                  properties:
                    level:
                      type: integer
                      description: 1 for the first.
                    delayMinutes:
                      type: integer
                      description: How long it waits for an acknowledgement.
                    targets:
                      type: array
                      items:
                        type: object
                        properties:
                          kind:
                            type: string
                            description: A person or a schedule.
                            enum:
                            - user
                            - schedule
                          id:
                            type: string
                            description: Their id.
                          name:
                            type: string
                            description: Their name.
                    pages:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            description: Their user id.
                          name:
                            type: string
                            description: Their name, or email.
                          email:
                            type: string
                            description: Their email.
                      description: Who it would page now.
    AlertDetail:
      type: object
      properties:
        id:
          type: string
          description: The alert id.
        pageId:
          type: string
          description: The page it is on.
        internal:
          type: boolean
          description: true when the page is a project's on-call page, which is no status page.
        number:
          type: integer
          description: 'Counts up per page: #12 in the dashboard.'
        status:
          type: string
          description: triggered, acknowledged or resolved.
          enum:
          - triggered
          - acknowledged
          - resolved
        severity:
          type: string
          description: critical, error, warning or info.
          enum:
          - critical
          - error
          - warning
          - info
        summary:
          type: string
          description: What the sender says happened.
        affected:
          type:
          - string
          - 'null'
          description: What the sender says is affected.
        from:
          type: string
          description: The source's name, or the monitor's for an outage.
        count:
          type: integer
          description: How many times it came in.
        createdAt:
          type: string
          description: ISO 8601, UTC.
          format: date-time
        acknowledgedAt:
          type:
          - string
          - 'null'
          description: ISO 8601, UTC.
          format: date-time
        acknowledgedBy:
          type:
          - string
          - 'null'
          description: Who acknowledged it.
        resolvedAt:
          type:
          - string
          - 'null'
          description: ISO 8601, UTC.
          format: date-time
        resolvedBy:
          type:
          - string
          - 'null'
          description: Who or what resolved it.
        acknowledgedUntil:
          type:
          - string
          - 'null'
          description: When the acknowledgement or snooze runs out and it is triggered again; null for good.
          format: date-time
        snoozed:
          type: boolean
          description: true when acknowledgedUntil is a snooze.
        heldByMaintenance:
          type: boolean
          description: Waiting for a maintenance window over the whole page to end.
        groupedInto:
          type:
          - string
          - 'null'
          description: The alert it joined, when it is in a group.
        grouped:
          type: integer
          description: How many open alerts joined it.
        url:
          type: string
          description: The alert in the dashboard.
        dedupKey:
          type: string
          description: What later events name it by while it is open.
        via:
          type: string
          description: Which way it came in.
          enum:
          - pagerduty
          - pagerduty-v1
          - opsgenie
          - sentry
          - monitor
          - issue
          - log
        details:
          type: object
          properties:
            description:
              type:
              - string
              - 'null'
              description: The sender's description.
            fields:
              type: array
              items:
                type: array
                items:
                  type: string
              description: The sender's details, each a list of a name and its value.
            links:
              type: array
              items:
                type: object
                properties:
                  href:
                    type: string
                    description: The address.
                  text:
                    type: string
                    description: Its text.
            tags:
              type: array
              items:
                type: string
              description: The sender's tags.
        timeline:
          type: array
          items:
            type: object
            properties:
              at:
                type: string
                description: ISO 8601, UTC.
                format: date-time
              kind:
                type: string
                description: triggered, retriggered, acknowledged, unacknowledged, resolved, note, notified, repeated, paged, snoozed or grouped.
              by:
                type:
                - string
                - 'null'
                description: Who or what did it.
              body:
                type:
                - string
                - 'null'
                description: What was said or done.
  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).'