StatOSS Dashboards API
The team's own dashboards of widgets, read with their numbers, changed by plan then apply.
The team's own dashboards of widgets, read with their numbers, changed by plan then apply.
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-dashboards-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 Dashboards 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: Dashboards
description: The team's own dashboards of widgets, read with their numbers, changed by plan then apply.
paths:
/dashboards:
get:
tags:
- Dashboards
operationId: listDashboards
summary: List dashboards
description: 'The team''s own dashboards, newest first. Each app''s own dashboard is not among them: it follows the app''s schema.'
parameters:
- name: limit
in: query
schema:
type: integer
default: 25
minimum: 1
maximum: 100
description: How many, from 1 to 100.
- name: cursor
in: query
schema:
type: string
description: The cursor the last page gave, for the next.
responses:
'200':
description: The dashboards.
content:
application/json:
schema:
type: object
properties:
dashboards:
type: array
items:
$ref: '#/components/schemas/DashboardLine'
cursor:
type:
- string
- 'null'
description: Give it as ?cursor= for the next page; null when nothing is left.
'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'
/dashboards/{dashboardId}:
get:
tags:
- Dashboards
operationId: getDashboard
summary: One dashboard
description: Its widgets in order. With data=1, each widget's numbers (data, or dataError when they could not be read) over the range, from the apps the key reaches. A key held to a page sees only that page's apps in queries and numbers.
parameters:
- name: dashboardId
in: path
required: true
schema:
type: string
description: The dashboard id, from GET /dashboards.
- name: data
in: query
schema:
type: boolean
description: 1 adds each widget's numbers.
- name: range
in: query
schema:
type: string
enum:
- 1h
- 24h
- 7d
- 14d
- 30d
- 90d
default: 14d
description: 'With data: how far back, up to now.'
- name: environment
in: query
schema:
type: string
description: 'With data: one environment''s events only.'
responses:
'200':
description: The dashboard. With data, each widget also has data (WidgetData) and dataError.
content:
application/json:
schema:
type: object
properties:
dashboard:
$ref: '#/components/schemas/Dashboard'
example:
dashboard:
id: 8a7b6c5d-aaaa-4e3f-9a1b-2c3d4e5f6a7b
name: Checkout
createdAt: '2026-10-01T09:00:00.000Z'
updatedAt: '2026-10-01T09:00:00.000Z'
widgets:
- id: 4d5e6f7a-9999-4b1c-8d2e-3f4a5b6c7d8e
position: 0
kind: bar
title: ''
shownTitle: Events by level
width: full
query:
apps:
- 6e5d4c3b-7777-4b8a-9c0d-1e2f3a4b5c6d
measure: events
groupBy: level
field: null
levels: []
categories: []
fields: []
text: ''
body: null
createdAt: '2026-10-01T09:00:00.000Z'
updatedAt: '2026-10-01T09:00:00.000Z'
'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'
/dashboards/plan:
post:
tags:
- Dashboards
operationId: planDashboardChange
summary: Plan a change
description: Checks up to 50 changes to one dashboard (dashboardId), or to a new one (changes starting with create_dashboard), without making them, and answers with what each would do and a handle that apply takes within 15 minutes, with the same key. confirm is true for a removal. A key held to a page cannot change a dashboard that shows other apps.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
dashboardId:
type: string
description: The dashboard; left out with create_dashboard.
changes:
type: array
items:
$ref: '#/components/schemas/DashboardChange'
required:
- changes
example:
dashboardId: 8a7b6c5d-aaaa-4e3f-9a1b-2c3d4e5f6a7b
changes:
- op: add_widget
kind: bar
width: full
query:
apps:
- 6e5d4c3b-7777-4b8a-9c0d-1e2f3a4b5c6d
groupBy: level
responses:
'200':
description: The plan.
content:
application/json:
schema:
$ref: '#/components/schemas/DashboardPlan'
example:
handle: d9V2cXJ0eW1vZGVsZGFzaA
expiresAt: '2026-10-08T12:15:00.000Z'
dashboardId: 8a7b6c5d-aaaa-4e3f-9a1b-2c3d4e5f6a7b
summary: Added the widget Events by level
effects:
- what: widget Events by level
action: added
before: null
after:
position: 1
kind: bar
width: full
warnings: []
confirm: false
'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, or a key held to a page on a dashboard that shows other apps.
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'
/dashboards/apply:
post:
tags:
- Dashboards
operationId: applyDashboardChange
summary: Apply a plan
description: Makes the planned changes, all of them or none, if the dashboard has not changed since the plan.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
handle:
type: string
description: The handle plan gave.
required:
- handle
example:
handle: d9V2cXJ0eW1vZGVsZGFzaA
responses:
'200':
description: The dashboard after (null when removed), and what changed.
content:
application/json:
schema:
$ref: '#/components/schemas/DashboardApplied'
'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'
components:
schemas:
DashboardEffect:
type: object
properties:
what:
type: string
description: 'The dashboard or widget, in words: widget Events by level.'
action:
type: string
description: What happens to it.
enum:
- made
- renamed
- removed
- added
- changed
- moved
before:
type:
- object
- 'null'
description: Before; null when made or added.
after:
type:
- object
- 'null'
description: After; null when removed.
DashboardChange:
type: object
properties:
op:
type: string
description: What to do.
enum:
- create_dashboard
- rename
- remove_dashboard
- add_widget
- change_widget
- move_widget
- remove_widget
name:
type: string
description: 'create_dashboard, rename: the name, up to 80 characters.'
widgetId:
type: string
description: 'change_widget, move_widget, remove_widget: the widget id.'
kind:
type: string
description: 'bar or line: over time, one series per group; number: the total; table: the top ten groups; text: words the team writes.'
enum:
- bar
- line
- number
- table
- text
- stream
title:
type: string
description: Its title; empty for the name its query gives it.
width:
type: string
description: Half or full width.
enum:
- half
- full
query:
$ref: '#/components/schemas/WidgetQuery'
description: What it counts; not for text.
body:
type:
- string
- 'null'
description: 'text widgets: the text, up to 2,000 characters.'
position:
type: integer
description: 'move_widget: the place to move to, from 0.'
direction:
type: string
description: move_widget, instead of position.
enum:
- up
- down
required:
- op
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
DashboardApplied:
type: object
properties:
dashboard:
oneOf:
- $ref: '#/components/schemas/Dashboard'
- type: 'null'
summary:
type: string
description: What the changes did.
effects:
type: array
items:
$ref: '#/components/schemas/DashboardEffect'
Dashboard:
type: object
properties:
id:
type: string
description: The dashboard id.
name:
type: string
description: Its name.
createdAt:
type: string
description: ISO 8601, UTC.
format: date-time
updatedAt:
type: string
description: ISO 8601, UTC.
format: date-time
widgets:
type: array
items:
$ref: '#/components/schemas/Widget'
range:
type: string
description: 'With data: the range read.'
enum:
- 1h
- 24h
- 7d
- 14d
- 30d
- 90d
environment:
type:
- string
- 'null'
description: 'With data: the environment read, or null.'
from:
type: string
description: ISO 8601, UTC.
format: date-time
to:
type: string
description: ISO 8601, UTC.
format: date-time
Widget:
type: object
properties:
id:
type: string
description: The widget id.
position:
type: integer
description: Its place on the dashboard, from 0.
kind:
type: string
description: 'bar or line: over time, one series per group; number: the total; table: the top ten groups; text: words the team writes.'
enum:
- bar
- line
- number
- table
- text
- stream
title:
type: string
description: Its title; empty for the name its query gives it.
width:
type: string
description: Half or full width.
enum:
- half
- full
query:
oneOf:
- $ref: '#/components/schemas/WidgetQuery'
- type: 'null'
body:
type:
- string
- 'null'
description: 'text widgets: the text, up to 2,000 characters.'
shownTitle:
type: string
description: Its title, or the name its query gives it.
createdAt:
type: string
description: ISO 8601, UTC.
format: date-time
updatedAt:
type: string
description: ISO 8601, UTC.
format: date-time
data:
oneOf:
- $ref: '#/components/schemas/WidgetData'
- type: 'null'
description: 'Only with ?data=1: its numbers over the range; null for a text widget or when they could not be read.'
dataError:
type:
- string
- 'null'
description: 'Only with ?data=1: why data is null, such as that the numbers could not be read; null otherwise.'
DashboardPlan:
type: object
properties:
handle:
type: string
description: Give it to apply, with the same key, within 15 minutes.
expiresAt:
type: string
description: ISO 8601, UTC.
format: date-time
dashboardId:
type:
- string
- 'null'
description: The dashboard; null when the plan makes one.
summary:
type: string
description: What the changes do, in words.
effects:
type: array
items:
$ref: '#/components/schemas/DashboardEffect'
warnings:
type: array
items:
type: string
description: Something to know first.
confirm:
type: boolean
description: 'A removal: an agent asks its person before applying.'
DashboardLine:
type: object
properties:
id:
type: string
description: The dashboard id.
name:
type: string
description: Its name.
widgets:
type: integer
description: How many widgets it holds, up to 30.
createdAt:
type: string
description: ISO 8601, UTC.
format: date-time
updatedAt:
type: string
description: ISO 8601, UTC.
format: date-time
WidgetData:
type: object
properties:
from:
type: string
description: ISO 8601, UTC.
format: date-time
to:
type: string
description: ISO 8601, UTC.
format: date-time
bucketMs:
type: integer
description: Each point's span, in milliseconds.
total:
type: integer
description: Events, or users summed across apps.
groups:
type: integer
description: How many groups there were before the largest were kept.
series:
type: array
items:
type: object
properties:
key:
type:
- string
- 'null'
description: The group as events carry it; null for Other, the rest of the events.
label:
type: string
description: The group as it is shown, through the app's schema.
color:
type:
- string
- 'null'
description: A CSS colour, or null for the chart's own.
total:
type: integer
description: Its total.
points:
type: array
items:
type: integer
description: One per bucket, oldest first.
rows:
type: array
items:
type: object
properties:
key:
type:
- string
- 'null'
description: The group as events carry it; null for Other, the rest of the events.
label:
type: string
description: The group as it is shown, through the app's schema.
color:
type:
- string
- 'null'
description: A CSS colour, or null for the chart's own.
value:
type: integer
description: Its total.
shortId:
type: string
description: 'Grouped by issue: the issue''s short id.'
url:
type: string
description: 'Grouped by issue: the issue in the dashboard.'
WidgetQuery:
type: object
properties:
apps:
type: array
items:
type: string
description: App ids; none means every app the key reaches.
measure:
type: string
description: What it counts.
enum:
- events
- users
- logs
groupBy:
type: string
description: What it groups by.
enum:
- none
- level
- category
- environment
- release
- field
- issue
- service
field:
type:
- string
- 'null'
description: The field to group by, for groupBy field.
levels:
type: array
items:
type: string
description: Levels to keep, by key or label; none for all.
categories:
type: array
items:
type: string
description: Categories to keep, by key or label; none for all.
fields:
type: array
items:
type: object
properties:
key:
type: string
description: A field, by key or label.
value:
type: string
description: Its value.
text:
type: string
description: Words in the title, culprit or message.
search:
type: string
description: 'The search (/docs/search): for events and users as Explore reads it, up to 200 characters; for log lines (measure logs) and log streams as Logs reads it, field then an attribute''s key.'
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).'