StatOSS Incidents API
Incidents and maintenance windows, with updates.
Incidents and maintenance windows, with updates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/statoss-com:statoss-com-incidents-api"
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.
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: 3.2.0
info:
title: StatOSS Incidents 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: Incidents
description: Incidents and maintenance windows, with updates.
paths:
/pages/{pageId}/incidents:
get:
tags:
- Incidents
operationId: listIncidents
summary: List incidents
description: Newest first, with every update. Pass open=true for only what is still open.
parameters:
- name: pageId
in: path
required: true
schema:
type: string
description: The page id, from GET /pages.
- name: open
in: query
schema:
type: boolean
description: Only open incidents and unfinished maintenance.
- name: limit
in: query
schema:
type: integer
default: 50
maximum: 200
responses:
'200':
description: The incidents.
content:
application/json:
schema:
type: object
properties:
incidents:
type: array
items:
$ref: '#/components/schemas/Incident'
example:
incidents:
- id: 3c9e8f7a-2222-4b1c-8d7e-6f5a4b3c2d1e
kind: incident
title: Elevated API error rate
status: identified
impact: partial
startedAt: '2026-09-15T09:02:00.000Z'
endsAt: null
resolvedAt: null
automatic: false
postmortem: null
monitors:
- id: 0f7c2d3e-4a5b-4c6d-8e9f-0a1b2c3d4e5f
name: API
updates:
- id: 7a6b5c4d-3333-4e2f-9a8b-1c2d3e4f5a6b
status: identified
body: A bad deploy. Rolling back.
createdAt: '2026-09-15T09:20:00.000Z'
- id: 8b7c6d5e-4444-4f3a-8b9c-2d3e4f5a6b7c
status: investigating
body: We are seeing elevated error rates on the API and are looking into it.
createdAt: '2026-09-15T09:02:00.000Z'
'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'
post:
tags:
- Incidents
operationId: createIncident
summary: Open an incident or plan maintenance
description: Opens an incident, or with kind maintenance plans a window. Subscribers are told, the same as from the dashboard. An incident with an impact sets the page's headline while it is open.
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/IncidentInput'
example:
title: Elevated API error rate
status: investigating
impact: partial
message: We are seeing elevated error rates on the API and are looking into it.
monitorIds:
- 0f7c2d3e-4a5b-4c6d-8e9f-0a1b2c3d4e5f
responses:
'201':
description: The incident.
content:
application/json:
schema:
type: object
properties:
incident:
$ref: '#/components/schemas/Incident'
example:
incident:
id: 3c9e8f7a-2222-4b1c-8d7e-6f5a4b3c2d1e
kind: incident
title: Elevated API error rate
status: identified
impact: partial
startedAt: '2026-09-15T09:02:00.000Z'
endsAt: null
resolvedAt: null
automatic: false
postmortem: null
monitors:
- id: 0f7c2d3e-4a5b-4c6d-8e9f-0a1b2c3d4e5f
name: API
updates:
- id: 7a6b5c4d-3333-4e2f-9a8b-1c2d3e4f5a6b
status: identified
body: A bad deploy. Rolling back.
createdAt: '2026-09-15T09:20:00.000Z'
- id: 8b7c6d5e-4444-4f3a-8b9c-2d3e4f5a6b7c
status: investigating
body: We are seeing elevated error rates on the API and are looking into it.
createdAt: '2026-09-15T09:02:00.000Z'
'400':
description: The body 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, or a key whose maker cannot open the team now: a key works while the person who made it can open the team.'
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}/incidents/{incidentId}:
parameters:
- name: pageId
in: path
required: true
schema:
type: string
description: The page id, from GET /pages.
- name: incidentId
in: path
required: true
schema:
type: string
get:
tags:
- Incidents
operationId: getIncident
summary: One incident
responses:
'200':
description: The incident.
content:
application/json:
schema:
type: object
properties:
incident:
$ref: '#/components/schemas/Incident'
example:
incident:
id: 3c9e8f7a-2222-4b1c-8d7e-6f5a4b3c2d1e
kind: incident
title: Elevated API error rate
status: identified
impact: partial
startedAt: '2026-09-15T09:02:00.000Z'
endsAt: null
resolvedAt: null
automatic: false
postmortem: null
monitors:
- id: 0f7c2d3e-4a5b-4c6d-8e9f-0a1b2c3d4e5f
name: API
updates:
- id: 7a6b5c4d-3333-4e2f-9a8b-1c2d3e4f5a6b
status: identified
body: A bad deploy. Rolling back.
createdAt: '2026-09-15T09:20:00.000Z'
- id: 8b7c6d5e-4444-4f3a-8b9c-2d3e4f5a6b7c
status: investigating
body: We are seeing elevated error rates on the API and are looking into it.
createdAt: '2026-09-15T09:02:00.000Z'
'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'
patch:
tags:
- Incidents
operationId: updateIncident
summary: Edit an incident
description: Title, impact, the window, the monitors, the post-mortem. Nothing is posted or mailed; that is what updates are for.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/IncidentPatch'
example:
impact: major
responses:
'200':
description: The incident after the change.
content:
application/json:
schema:
type: object
properties:
incident:
$ref: '#/components/schemas/Incident'
'400':
description: The body 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, or a key whose maker cannot open the team now: a key works while the person who made it can open the team.'
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'
delete:
tags:
- Incidents
operationId: deleteIncident
summary: Delete an incident
description: Removes it and its updates from the page. No undo.
responses:
'204':
description: Deleted.
'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, or a key whose maker cannot open the team now: a key works while the person who made it can open the team.'
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}/incidents/{incidentId}/updates:
post:
tags:
- Incidents
operationId: postUpdate
summary: Post an update
description: 'Adds an update and tells subscribers. On an incident, status resolved closes it. On a maintenance window, status completed ends it now. An update on an automatic incident makes it manual: it no longer resolves itself.'
parameters:
- name: pageId
in: path
required: true
schema:
type: string
description: The page id, from GET /pages.
- name: incidentId
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateInput'
example:
status: resolved
message: Rolled back. Error rates are normal again.
responses:
'201':
description: The incident with the new update.
content:
application/json:
schema:
type: object
properties:
incident:
$ref: '#/components/schemas/Incident'
'400':
description: The body 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, or a key whose maker cannot open the team now: a key works while the person who made it can open the team.'
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:
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
IncidentPatch:
type: object
properties:
title:
type: string
description: 1 to 120 characters.
impact:
type: string
description: 'incident: none, degraded, partial or major.'
startsAt:
type: string
description: 'maintenance: ISO 8601.'
endsAt:
type: string
description: 'maintenance: ISO 8601.'
remind:
type: array
items:
type: string
description: 'maintenance: "day" and "hour", the reminders before it starts.'
monitorIds:
type: array
items:
type: string
description: Monitor ids. Empty means the whole page.
monitors:
type: array
items:
type: object
properties:
id:
type: string
description: A monitor id.
impact:
type: string
description: 'incident: none, degraded, partial or major.'
required:
- id
postmortem:
type:
- string
- 'null'
description: Up to 20,000 characters. Null clears it.
repeat:
type:
- string
- 'null'
description: 'maintenance: null stops the repeating entry this window was planned from. The windows already planned stay.'
Incident:
type: object
properties:
id:
type: string
description: The incident id.
kind:
type: string
description: incident or maintenance.
enum:
- incident
- maintenance
title:
type: string
description: The title.
status:
type: string
description: investigating, identified, monitoring or resolved; scheduled or completed for maintenance.
impact:
type: string
description: none, degraded, partial or major.
enum:
- none
- degraded
- partial
- major
startedAt:
type: string
description: ISO 8601, UTC.
format: date-time
endsAt:
type:
- string
- 'null'
description: ISO 8601, UTC.
format: date-time
resolvedAt:
type:
- string
- 'null'
description: ISO 8601, UTC.
format: date-time
automatic:
type: boolean
description: Opened by a monitor going down.
remind:
type:
- array
- 'null'
items:
type: string
description: 'maintenance: the reminders subscribers get before it starts, "day" and "hour". Null for an incident.'
repeat:
type:
- object
- 'null'
properties:
every:
type: string
description: weekly, monthly or monthly-weekday.
enum:
- weekly
- monthly
- monthly-weekday
timezone:
type: string
description: The zone its time repeats in.
seriesId:
type: string
description: The repeating entry every window from it shares.
stoppedAt:
type:
- string
- 'null'
description: ISO 8601, UTC.
format: date-time
postmortem:
type:
- string
- 'null'
description: The post-mortem, once written.
monitors:
type: array
items:
type: object
properties:
id:
type: string
description: The monitor id.
name:
type: string
description: Its name.
impact:
type: string
description: 'incident: the state its row shows while open, none, degraded, partial or major; its checks still win when they say worse.'
updates:
type: array
items:
$ref: '#/components/schemas/Update'
UpdateInput:
type: object
properties:
status:
type: string
description: 'incident: investigating, identified, monitoring or resolved. maintenance: completed ends it now.'
message:
type: string
description: The update. Required unless status is completed.
notify:
type: boolean
description: false posts it without telling subscribers. Default true.
required:
- message
Update:
type: object
properties:
id:
type: string
description: The update id.
status:
type: string
description: The incident's status when it was posted. Imported history can carry in-progress, or the other service's own words.
body:
type: string
description: The words.
createdAt:
type: string
description: ISO 8601, UTC.
format: date-time
IncidentInput:
type: object
properties:
kind:
type: string
description: incident (default) or maintenance.
enum:
- incident
- maintenance
title:
type: string
description: 1 to 120 characters.
status:
type: string
description: 'incident: investigating (default), identified or monitoring.'
impact:
type: string
description: 'incident: none, degraded, partial (default) or major.'
message:
type: string
description: The first update or the notice, up to 4000 characters. Left empty, a standard line is used.
startsAt:
type: string
description: 'maintenance: ISO 8601.'
endsAt:
type: string
description: 'maintenance: ISO 8601, within 7 days of the start.'
monitorIds:
type: array
items:
type: string
description: Monitor ids. Empty means the whole page. Each row takes the incident's impact; use monitors for a state each.
monitors:
type: array
items:
type: object
properties:
id:
type: string
description: A monitor id.
impact:
type: string
description: 'incident: the state its row shows while open, none, degraded, partial or major. Left out, the incident''s impact. With monitors named, the incident''s impact becomes the worst of theirs.'
required:
- id
startedAt:
type: string
description: 'incident: when it began, ISO 8601, up to a year back. Default now.'
resolvedAt:
type: string
description: 'incident: when it ended, ISO 8601, for one entered after it was over. Nobody is told.'
notify:
type: boolean
description: 'false keeps subscribers out of it: an incident''s first update, or a maintenance window at the start and the end. Default true.'
remind:
type: array
items:
type: string
description: 'maintenance: when subscribers are reminded before it starts, "day" and "hour". Default ["hour"]; [] for none.'
repeat:
type: string
description: 'maintenance: weekly (the same weekday), monthly (the same date, or the month''s last day) or monthly-weekday (the second Tuesday, the last Friday). Each window after the first is planned a week before it starts.'
enum:
- weekly
- monthly
- monthly-weekday
timezone:
type: string
description: 'maintenance with repeat: the IANA zone the time repeats in, e.g. Europe/Copenhagen. Default UTC.'
required:
- title
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).'