Dashboard resources and assignment
All paths below are relative to /api/v1.
GET /dashboards / MCP list_dashboards: dashboards:read, optional
limit/cursor. Each list item contains id, name, assignable, public,
public_url, public_wallboard_url, domain_url, domain_wallboard_url.
The URLs are set only for already-published dashboards and are null
otherwise.
assignable identifies a custom dashboard, not authorization to publish it.
GET /dashboards/:id / get_dashboard: dashboards:read, ID plus optional
limit/cursor for nested checks.
Dashboard detail includes:
| Field | Meaning |
|---|---|
id, name |
Dashboard identity |
default |
Account Overview rather than custom membership |
editable |
A custom dashboard, which automation can edit. False for Overview |
public |
Public sharing state |
public_url, public_wallboard_url |
Existing unauthenticated sharing links of already-published dashboards, or null |
domain_url, domain_wallboard_url |
The dashboard’s verified custom domain or subdomain (custom domain first), set only while it’s published and the plan includes domains; otherwise null. Prefer these when sharing |
settings |
Display booleans and incident-history day count |
checks |
Paginated check resources plus nullable position and group_id |
groups |
The dashboard’s sections, up to 100, each with id, name and position |
groups_truncated |
Whether more groups exist than returned |
Nested checks are paged in display order, and each carries its position and
its section’s group_id. Overview has no membership positions.
Public URLs are returned only for published custom dashboards; a read doesn’t
enable sharing.
Create and update
Section titled “Create and update”POST /dashboards / create_dashboard: requires dashboards:create,
dashboard body and idempotency. Creates a private custom dashboard. An
optional top-level check_ids array (1-100 check IDs) puts those checks on it,
and needs dashboards:assign as well.
PATCH /dashboards/:id / update_dashboard: requires dashboards:update,
ID and dashboard body. Works on any custom dashboard; on a public one the
change shows on its status page right away.
| Body field | Constraint |
|---|---|
name |
Nonempty string <=255; required on create, unique within account |
show_incident_history |
Boolean |
show_wallboard_link |
Boolean; links the public page to its wallboard |
show_needs_attention |
Boolean |
show_summary_panels |
Boolean |
incident_history_days |
Seven or 30 |
time_zone |
IANA name such as America/Chicago that the status page shows times in, or null for each visitor’s own zone. Unknown zones return invalid_arguments |
Older zone names are saved as their current IANA name, so Asia/Calcutta is
returned as Asia/Kolkata. A retried create that names the same zone either
way matches the first request.
The defaults are the saved dashboard defaults; read settings after creation.
Supported writes return the dashboard fields above without nested checks/groups.
They can’t edit Overview, branding (including the account-wide Powered by
Pingstack footer), domains, pinned navigation or landing defaults.
{ "dashboard": { "name": "Service health", "show_incident_history": true, "incident_history_days": 30 }}Attach
Section titled “Attach”PUT /dashboards/:dashboard_id/checks/:check_id /
attach_check_to_dashboard, scope dashboards:assign.
No REST body; MCP takes dashboard_id and check_id.
To add several at once, POST /dashboards/:dashboard_id/checks with
{"check_ids": ["check_FIRST", "check_SECOND"]} (1-100 unique IDs). Over MCP,
pass check_ids to the same tool in place of check_id.
Adds the checks to an existing custom dashboard, outside any section. Checks
already there are unchanged. Overview is not assignable. Attaching to a public
dashboard changes its status page right away.
Returns the dashboard id and the check_ids added; a single attach also
returns check_id.
Detach
Section titled “Detach”DELETE /dashboards/:dashboard_id/checks/:check_id /
detach_check_from_dashboard, scope dashboards:assign.
Custom dashboards only. Idempotently removes membership without
deleting the check. Returns {"id":"<dashboard-id>","check_id":"<check-id>"}.
Reorder
Section titled “Reorder”PUT /dashboards/:dashboard_id/check_order /
reorder_dashboard_checks, scope dashboards:assign.
Custom dashboards only.
{ "check_ids": ["check_FIRST", "check_SECOND"], "group_id": "123"}group_id is a section’s ID; omit it for checks outside any section. Supply
every check in that section exactly once, in the desired order. The array must
contain 1-100 unique IDs. Partial lists, duplicates and foreign checks are
rejected, and reorder doesn’t move checks between sections.
Returns id and the accepted check_ids array.
Sections
Section titled “Sections”Sections are the headings that organize a dashboard’s checks, on the dashboard
and on its status page. Dashboard detail lists them as groups. Both
operations need dashboards:update and work on custom dashboards.
POST /dashboards/:dashboard_id/sections / create_dashboard_section
takes {"name": "Websites"}: a nonempty string up to 60 characters, unique on
the dashboard. The new section is empty and goes last. Returns 201.
PATCH /dashboards/:dashboard_id/sections/:id / update_dashboard_section
takes name, check_ids or both:
{ "name": "Websites", "check_ids": ["check_FIRST", "check_SECOND"]}check_ids lists the section’s checks in display order. Each must already be
on the dashboard. Checks listed move into the section, and checks left out
move outside any section; they stay on the dashboard either way.
Both return the section:
{ "id": "45", "dashboard_id": "dash_EXAMPLE", "name": "Websites", "position": 1, "check_ids": ["check_FIRST", "check_SECOND"]}Publish and unpublish
Section titled “Publish and unpublish”POST /dashboards/:id/publish / publish_dashboard requires
dashboards:publish and the Publish status pages capability, which only Admins
have. It makes a custom dashboard a public status page: anyone with the link
can see its checks’ names and statuses, and its incident history when that
setting is on.
POST /dashboards/:id/unpublish / unpublish_dashboard requires
dashboards:unpublish, a sensitive permission. The status page, wallboard and
any domain serving it stop loading for visitors right away.
Both return the dashboard resource, are safe to repeat, and never apply to Overview. Branding and domains are set in the app.
Delete
Section titled “Delete”DELETE /dashboards/:id / delete_dashboard requires dashboards:delete,
a sensitive permission. It removes a private custom dashboard and its sections.
The checks on it are kept. A public dashboard returns forbidden until it’s
unpublished, and Overview can’t be deleted.
Returns {"id": "dash_EXAMPLE", "name": "Service health", "deleted": true}.
Deletes count toward the delete limit, and the account owner is emailed.
For other dashboard actions use the UI.