PingZen Dashboard API
Dashboard statistics, uptime summaries, and alerts overview.
Dashboard statistics, uptime summaries, and alerts overview.
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/pingzen-dev:pingzen-dev-dashboard-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: PingZen Dashboard API
description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
version: 1.0.0
tags:
- name: Dashboard
description: Dashboard statistics, uptime summaries, and alerts overview.
paths:
/api/v1/dashboard/stats:
get:
tags:
- Dashboard
summary: Get dashboard statistics
description: 'Get aggregated dashboard stats: monitor counts, uptime, activity.'
operationId: get_dashboard_stats_api_v1_dashboard_stats_get
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace ID
title: Workspace Id
description: Filter by workspace ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DashboardStatsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dashboard/uptime-summary:
get:
tags:
- Dashboard
summary: Get uptime summary
description: Get uptime summary for all monitors with optional time period filter.
operationId: get_uptime_summary_api_v1_dashboard_uptime_summary_get
security:
- HTTPBearer: []
parameters:
- name: period
in: query
required: false
schema:
$ref: '#/components/schemas/TimePeriod'
description: Time period
default: 24h
description: Time period
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace ID
title: Workspace Id
description: Filter by workspace ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/UptimeSummaryResponse'
title: Response Get Uptime Summary Api V1 Dashboard Uptime Summary Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dashboard/incidents:
get:
tags:
- Dashboard
summary: Get recent incidents
description: Get recent incidents across all monitors with optional time period filter.
operationId: get_incidents_api_v1_dashboard_incidents_get
security:
- HTTPBearer: []
parameters:
- name: period
in: query
required: false
schema:
$ref: '#/components/schemas/TimePeriod'
description: Time period
default: 7d
description: Time period
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Maximum incidents to return
default: 50
title: Limit
description: Maximum incidents to return
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace ID
title: Workspace Id
description: Filter by workspace ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/presentation__api__v1__schemas__dashboard__IncidentResponse'
title: Response Get Incidents Api V1 Dashboard Incidents Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dashboard/alerts-summary:
get:
tags:
- Dashboard
summary: Get alerts summary
description: Get alerts summary including counts by channel and recent activity.
operationId: get_alerts_summary_api_v1_dashboard_alerts_summary_get
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace ID
title: Workspace Id
description: Filter by workspace ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AlertsSummaryResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dashboard/combined:
get:
tags:
- Dashboard
summary: Get combined dashboard data
description: Get all dashboard data in a single request for optimal performance.
operationId: get_combined_dashboard_api_v1_dashboard_combined_get
security:
- HTTPBearer: []
parameters:
- name: period
in: query
required: false
schema:
$ref: '#/components/schemas/TimePeriod'
description: Time period
default: 24h
description: Time period
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace ID
title: Workspace Id
description: Filter by workspace ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DashboardCombinedResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/dashboard/counts:
get:
tags:
- Dashboard
summary: Get live dashboard counters
description: Monitor, heartbeat and alert counters plus ongoing incidents — what the sidebar and list pages poll. No uptime, incident-history or alert-history aggregates; GET /dashboard/combined carries those.
operationId: get_dashboard_counts_api_v1_dashboard_counts_get
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace ID
title: Workspace Id
description: Filter by workspace ID
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DashboardCountsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DashboardStatsResponse:
properties:
total_monitors:
type: integer
title: Total Monitors
description: Total number of monitors
monitors_up:
type: integer
title: Monitors Up
description: Monitors currently UP
monitors_down:
type: integer
title: Monitors Down
description: ACTIVE monitors in a critical state (DOWN + TIMEOUT merged; paused monitors are excluded and counted in monitors_paused)
monitors_degraded:
type: integer
title: Monitors Degraded
description: 'ACTIVE monitors in the degraded tier: DEGRADED + PARTIAL + WARNING statuses (DNSBL excluded). monitors_partial is a subset of this count — do NOT sum the two'
monitors_partial:
type: integer
title: Monitors Partial
description: Monitors in PARTIAL outage (down from some probe locations, up from others) — subset of monitors_degraded
default: 0
monitors_timeout:
type: integer
title: Monitors Timeout
description: ACTIVE monitors in TIMEOUT — subset of monitors_down (DNSBL excluded)
default: 0
monitors_unknown:
type: integer
title: Monitors Unknown
description: Active monitors outside the up/down/degraded categories (never checked, transient, skipped, DNSBL-listed in a problem state) — the five categories up/down/degraded/unknown/paused sum to total_monitors
default: 0
monitors_paused:
type: integer
title: Monitors Paused
description: Monitors currently paused (inactive)
total_heartbeats:
type: integer
title: Total Heartbeats
description: Total number of heartbeat monitors
heartbeats_up:
type: integer
title: Heartbeats Up
description: Heartbeats currently UP
heartbeats_down:
type: integer
title: Heartbeats Down
description: Heartbeats currently DOWN
heartbeats_pending:
type: integer
title: Heartbeats Pending
description: Heartbeats awaiting first ping
heartbeats_paused:
type: integer
title: Heartbeats Paused
description: Heartbeats currently paused (inactive)
default: 0
total_alerts:
type: integer
title: Total Alerts
description: Total number of alert configurations
alerts_active:
type: integer
title: Alerts Active
description: Currently active alerts
incidents_ongoing:
type: integer
title: Incidents Ongoing
description: 'Open incident records of the workspace (or of every accessible workspace without workspace_id): investigating + identified + monitoring, PARTIAL, DNSBL, paused-monitor and monitor-less ones included, deleted monitors excluded. Same predicate as GET /incidents/open (its total) and /incidents/stats.ongoing; 0 for a workspace the caller cannot access'
default: 0
global_total_monitors:
type: integer
title: Global Total Monitors
description: Total monitors + heartbeats across all workspaces (for plan limit X/55 — heartbeats share the monitor budget)
default: 0
global_total_alerts:
type: integer
title: Global Total Alerts
description: Total alerts across all workspaces (for plan limit X/50)
default: 0
overall_uptime_24h:
anyOf:
- type: number
- type: 'null'
title: Overall Uptime 24H
description: Overall uptime % in last 24 hours
overall_uptime_7d:
anyOf:
- type: number
- type: 'null'
title: Overall Uptime 7D
description: Overall uptime % in last 7 days
overall_uptime_30d:
anyOf:
- type: number
- type: 'null'
title: Overall Uptime 30D
description: Overall uptime % in last 30 days
overall_uptime_1h:
anyOf:
- type: number
- type: 'null'
title: Overall Uptime 1H
description: Overall uptime % in the last hour, over monitors checked at least every 15 minutes. Filled only when period=1h
avg_response_time_24h:
anyOf:
- type: number
- type: 'null'
title: Avg Response Time 24H
description: Average response time in last 24 hours (ms)
checks_last_24h:
type: integer
title: Checks Last 24H
description: Total checks in last 24 hours
incidents_last_24h:
type: integer
title: Incidents Last 24H
description: Incident records open now or resolved in the last 24 hours, the rule of /incidents/stats?since=now-24h (its total)
alerts_sent_last_24h:
type: integer
title: Alerts Sent Last 24H
description: Alerts sent in last 24 hours
checks_in_period:
anyOf:
- type: integer
- type: 'null'
title: Checks In Period
description: Total checks in selected period
incidents_in_period:
anyOf:
- type: integer
- type: 'null'
title: Incidents In Period
description: Incident records open now or resolved in the selected period, the rule of /incidents/stats?since=<period start> (its total)
type: object
required:
- total_monitors
- monitors_up
- monitors_down
- monitors_degraded
- monitors_paused
- total_heartbeats
- heartbeats_up
- heartbeats_down
- heartbeats_pending
- total_alerts
- alerts_active
- checks_last_24h
- incidents_last_24h
- alerts_sent_last_24h
title: DashboardStatsResponse
description: 'Dashboard summary statistics: the counters plus uptime and activity aggregates.'
AlertsSummaryResponse:
properties:
total:
type: integer
title: Total
description: Total number of alerts
active:
type: integer
title: Active
description: Number of active alerts
by_channel:
additionalProperties:
type: integer
type: object
title: By Channel
description: Count by channel type
sent_last_24h:
type: integer
title: Sent Last 24H
description: Alerts sent in last 24 hours
sent_last_7d:
type: integer
title: Sent Last 7D
description: Alerts sent in last 7 days
type: object
required:
- total
- active
- by_channel
- sent_last_24h
- sent_last_7d
title: AlertsSummaryResponse
description: Alerts summary statistics.
TimePeriod:
type: string
enum:
- 1h
- 24h
- 7d
- 30d
title: TimePeriod
description: Time period for dashboard queries.
presentation__api__v1__schemas__dashboard__IncidentResponse:
properties:
id:
type: integer
title: Id
description: Incident ID
monitor_id:
type: integer
title: Monitor Id
description: Monitor ID
monitor_name:
type: string
title: Monitor Name
description: Monitor name
started_at:
type: string
format: date-time
title: Started At
description: When incident started
ended_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Ended At
description: When incident ended
resolved_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Resolved At
description: When incident was resolved
duration_seconds:
type: integer
title: Duration Seconds
description: Duration in seconds
error_message:
anyOf:
- type: string
- type: 'null'
title: Error Message
description: Error message
status:
type: string
title: Status
description: 'Status: ongoing or resolved'
type: object
required:
- id
- monitor_id
- monitor_name
- started_at
- duration_seconds
- status
title: IncidentResponse
description: Incident record for a monitor.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
DashboardCountsResponse:
properties:
total_monitors:
type: integer
title: Total Monitors
description: Total number of monitors
monitors_up:
type: integer
title: Monitors Up
description: Monitors currently UP
monitors_down:
type: integer
title: Monitors Down
description: ACTIVE monitors in a critical state (DOWN + TIMEOUT merged; paused monitors are excluded and counted in monitors_paused)
monitors_degraded:
type: integer
title: Monitors Degraded
description: 'ACTIVE monitors in the degraded tier: DEGRADED + PARTIAL + WARNING statuses (DNSBL excluded). monitors_partial is a subset of this count — do NOT sum the two'
monitors_partial:
type: integer
title: Monitors Partial
description: Monitors in PARTIAL outage (down from some probe locations, up from others) — subset of monitors_degraded
default: 0
monitors_timeout:
type: integer
title: Monitors Timeout
description: ACTIVE monitors in TIMEOUT — subset of monitors_down (DNSBL excluded)
default: 0
monitors_unknown:
type: integer
title: Monitors Unknown
description: Active monitors outside the up/down/degraded categories (never checked, transient, skipped, DNSBL-listed in a problem state) — the five categories up/down/degraded/unknown/paused sum to total_monitors
default: 0
monitors_paused:
type: integer
title: Monitors Paused
description: Monitors currently paused (inactive)
total_heartbeats:
type: integer
title: Total Heartbeats
description: Total number of heartbeat monitors
heartbeats_up:
type: integer
title: Heartbeats Up
description: Heartbeats currently UP
heartbeats_down:
type: integer
title: Heartbeats Down
description: Heartbeats currently DOWN
heartbeats_pending:
type: integer
title: Heartbeats Pending
description: Heartbeats awaiting first ping
heartbeats_paused:
type: integer
title: Heartbeats Paused
description: Heartbeats currently paused (inactive)
default: 0
total_alerts:
type: integer
title: Total Alerts
description: Total number of alert configurations
alerts_active:
type: integer
title: Alerts Active
description: Currently active alerts
incidents_ongoing:
type: integer
title: Incidents Ongoing
description: 'Open incident records of the workspace (or of every accessible workspace without workspace_id): investigating + identified + monitoring, PARTIAL, DNSBL, paused-monitor and monitor-less ones included, deleted monitors excluded. Same predicate as GET /incidents/open (its total) and /incidents/stats.ongoing; 0 for a workspace the caller cannot access'
default: 0
global_total_monitors:
type: integer
title: Global Total Monitors
description: Total monitors + heartbeats across all workspaces (for plan limit X/55 — heartbeats share the monitor budget)
default: 0
global_total_alerts:
type: integer
title: Global Total Alerts
description: Total alerts across all workspaces (for plan limit X/50)
default: 0
type: object
required:
- total_monitors
- monitors_up
- monitors_down
- monitors_degraded
- monitors_paused
- total_heartbeats
- heartbeats_up
- heartbeats_down
- heartbeats_pending
- total_alerts
- alerts_active
title: DashboardCountsResponse
description: 'Live counters: what the sidebar and list pages poll (GET /dashboard/counts).'
UptimeSummaryResponse:
properties:
monitor_id:
type: integer
title: Monitor Id
description: Monitor ID
monitor_name:
type: string
title: Monitor Name
description: Monitor name
uptime_percentage:
anyOf:
- type: number
- type: 'null'
title: Uptime Percentage
description: Uptime percentage (None = no data yet)
total_checks:
type: integer
title: Total Checks
description: Total number of checks
checks_up:
type: integer
title: Checks Up
description: Successful checks
checks_down:
type: integer
title: Checks Down
description: Failed checks
checks_timeout:
type: integer
title: Checks Timeout
description: Timed out checks
avg_response_time_ms:
anyOf:
- type: number
- type: 'null'
title: Avg Response Time Ms
description: Average response time (ms)
period_start:
type: string
format: date-time
title: Period Start
description: Period start
period_end:
type: string
format: date-time
title: Period End
description: Period end
type: object
required:
- monitor_id
- monitor_name
- total_checks
- checks_up
- checks_down
- checks_timeout
- period_start
- period_end
title: UptimeSummaryResponse
description: Uptime summary for a single monitor.
DashboardCombinedResponse:
properties:
stats:
$ref: '#/components/schemas/DashboardStatsResponse'
description: Dashboard statistics
uptime_summaries:
items:
$ref: '#/components/schemas/UptimeSummaryResponse'
type: array
title: Uptime Summaries
description: Uptime summaries per monitor
recent_incidents:
items:
$ref: '#/components/schemas/presentation__api__v1__schemas__dashboard__IncidentResponse'
type: array
title: Recent Incidents
description: Recent incidents
alerts_summary:
$ref: '#/components/schemas/AlertsSummaryResponse'
description: Alerts summary
period:
type: string
title: Period
description: Window the period-scoped fields cover
default: 24h
period_start:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Period Start
description: Window start (UTC)
period_end:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Period End
description: Window end (UTC)
period_excluded_monitors:
type: integer
title: Period Excluded Monitors
description: Monitors checked less often than every 15 minutes, left out of a 1h period (DNSBL monitors are left out of it without being counted)
default: 0
type: object
required:
- stats
- uptime_summaries
- recent_incidents
- alerts_summary
title: DashboardCombinedResponse
description: 'Combined dashboard response - all data in one request.
PERFORMANCE: Reduces 4 API calls to 1, eliminates duplicate DB queries.'
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key