PingZen Scheduled Reports API
The Scheduled Reports API from PingZen — 7 operation(s) for scheduled reports.
The Scheduled Reports API from PingZen — 7 operation(s) for scheduled reports.
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-scheduled-reports-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 Scheduled Reports API
description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
version: 1.0.0
tags:
- name: Scheduled Reports
paths:
/api/v1/scheduled-reports:
post:
tags:
- Scheduled Reports
summary: Create Scheduled Report
description: 'Create a new scheduled report.
The report will be scheduled to run at the next appropriate time
based on the specified frequency.'
operationId: create_scheduled_report_api_v1_scheduled_reports_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScheduledReportRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Scheduled Reports
summary: List Scheduled Reports
operationId: list_scheduled_reports_api_v1_scheduled_reports_get
security:
- HTTPBearer: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Page Size
description: Items per page
- name: active_only
in: query
required: false
schema:
type: boolean
description: Only return active reports
default: false
title: Active Only
description: Only return active reports
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Filter by workspace
title: Workspace Id
description: Filter by workspace
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/scheduled-reports/{report_id}:
get:
tags:
- Scheduled Reports
summary: Get Scheduled Report
operationId: get_scheduled_report_api_v1_scheduled_reports__report_id__get
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Scheduled Reports
summary: Update Scheduled Report
operationId: update_scheduled_report_api_v1_scheduled_reports__report_id__put
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateScheduledReportRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Scheduled Reports
summary: Delete Scheduled Report
operationId: delete_scheduled_report_api_v1_scheduled_reports__report_id__delete
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/scheduled-reports/{report_id}/pause:
post:
tags:
- Scheduled Reports
summary: Pause Scheduled Report
description: Pause a scheduled report (set is_active to False).
operationId: pause_scheduled_report_api_v1_scheduled_reports__report_id__pause_post
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/scheduled-reports/{report_id}/resume:
post:
tags:
- Scheduled Reports
summary: Resume Scheduled Report
description: Resume a paused scheduled report.
operationId: resume_scheduled_report_api_v1_scheduled_reports__report_id__resume_post
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/scheduled-reports/{report_id}/toggle:
post:
tags:
- Scheduled Reports
summary: Toggle Scheduled Report
description: Toggle a scheduled report active/inactive (convenience endpoint).
operationId: toggle_scheduled_report_api_v1_scheduled_reports__report_id__toggle_post
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/scheduled-reports/{report_id}/run:
post:
tags:
- Scheduled Reports
summary: Run Scheduled Report Now
description: 'Manually trigger a scheduled report execution.
This endpoint enqueues the report for immediate generation and delivery
via the background ReportScheduler. The report''s last_run_at and
last_run_status fields are updated to track the execution.
The actual report generation and email delivery happens asynchronously
in the background. Check the /runs endpoint for execution status.'
operationId: run_scheduled_report_now_api_v1_scheduled_reports__report_id__run_post
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/scheduled-reports/{report_id}/runs:
get:
tags:
- Scheduled Reports
summary: List Scheduled Report Runs
description: 'Get execution history for a scheduled report.
Returns a paginated list of report execution runs with their status.
Note: This endpoint returns synthetic run data based on the report''s
last_run_* fields until a dedicated report_runs table is implemented.'
operationId: list_scheduled_report_runs_api_v1_scheduled_reports__report_id__runs_get
security:
- HTTPBearer: []
parameters:
- name: report_id
in: path
required: true
schema:
type: integer
title: Report Id
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Page Size
description: Items per page
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduledReportRunListResponse'
'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
CreateScheduledReportRequest:
properties:
name:
type: string
maxLength: 255
minLength: 1
title: Name
description: Report name
workspace_id:
type: integer
title: Workspace Id
description: Workspace ID to assign report to
monitor_ids:
items:
type: integer
type: array
maxItems: 500
minItems: 1
title: Monitor Ids
description: List of monitor IDs to include in the report (at least one required)
frequency:
type: string
title: Frequency
description: 'Report frequency: daily, weekly, or monthly'
default: weekly
format:
type: string
title: Format
description: 'Report format: pdf or csv'
default: pdf
recipients:
items:
type: string
type: array
maxItems: 100
minItems: 1
title: Recipients
description: List of email addresses to send the report to (at least one required)
slo_target:
anyOf:
- type: number
maximum: 100.0
minimum: 0.0
- type: 'null'
title: Slo Target
description: SLO target percentage (0-100)
custom_hours_period:
anyOf:
- type: integer
maximum: 2160.0
minimum: 1.0
- type: 'null'
title: Custom Hours Period
description: Custom reporting period in hours (1-2160)
timezone:
type: string
maxLength: 50
title: Timezone
description: Timezone for report scheduling (e.g., 'UTC', 'Europe/London')
default: UTC
include_incidents:
type: boolean
title: Include Incidents
description: Include incident details in the report
default: true
include_latency_chart:
type: boolean
title: Include Latency Chart
description: Include latency chart in the report
default: true
type: object
required:
- name
- workspace_id
- monitor_ids
- recipients
title: CreateScheduledReportRequest
description: Request schema for creating a scheduled report.
UpdateScheduledReportRequest:
properties:
name:
anyOf:
- type: string
maxLength: 255
minLength: 1
- type: 'null'
title: Name
description: Report name
monitor_ids:
anyOf:
- items:
type: integer
type: array
maxItems: 500
minItems: 1
- type: 'null'
title: Monitor Ids
description: List of monitor IDs to include in the report (at least one required)
frequency:
anyOf:
- type: string
- type: 'null'
title: Frequency
description: 'Report frequency: daily, weekly, or monthly'
format:
anyOf:
- type: string
- type: 'null'
title: Format
description: 'Report format: pdf or csv'
recipients:
anyOf:
- items:
type: string
type: array
maxItems: 100
minItems: 1
- type: 'null'
title: Recipients
description: List of email addresses to send the report to (at least one required)
slo_target:
anyOf:
- type: number
maximum: 100.0
minimum: 0.0
- type: 'null'
title: Slo Target
description: SLO target percentage (0-100)
custom_hours_period:
anyOf:
- type: integer
maximum: 2160.0
minimum: 1.0
- type: 'null'
title: Custom Hours Period
description: Custom reporting period in hours (1-2160)
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
description: Whether the report is active
timezone:
anyOf:
- type: string
maxLength: 50
- type: 'null'
title: Timezone
description: Timezone for report scheduling
include_incidents:
anyOf:
- type: boolean
- type: 'null'
title: Include Incidents
description: Include incident details in the report
include_latency_chart:
anyOf:
- type: boolean
- type: 'null'
title: Include Latency Chart
description: Include latency chart in the report
type: object
title: UpdateScheduledReportRequest
description: Request schema for updating a scheduled report.
ScheduledReportRunResponse:
properties:
id:
type: integer
title: Id
description: Run ID
report_id:
type: integer
title: Report Id
description: Report ID
status:
type: string
title: Status
description: Run status (success, failed, running)
started_at:
type: string
format: date-time
title: Started At
description: When the run started
completed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Completed At
description: When the run completed
error:
anyOf:
- type: string
- type: 'null'
title: Error
description: Error message if run failed
created_at:
type: string
format: date-time
title: Created At
description: Creation timestamp
type: object
required:
- id
- report_id
- status
- started_at
- created_at
title: ScheduledReportRunResponse
description: Response schema for a scheduled report execution run.
ScheduledReportListResponse:
properties:
reports:
items:
$ref: '#/components/schemas/ScheduledReportResponse'
type: array
title: Reports
description: List of scheduled reports
total:
type: integer
title: Total
description: Total number of reports
page:
type: integer
title: Page
description: Current page number
page_size:
type: integer
title: Page Size
description: Number of reports per page
type: object
required:
- reports
- total
- page
- page_size
title: ScheduledReportListResponse
description: Response schema for a list of scheduled reports.
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
ScheduledReportRunListResponse:
properties:
runs:
items:
$ref: '#/components/schemas/ScheduledReportRunResponse'
type: array
title: Runs
description: List of report runs
total:
type: integer
title: Total
description: Total number of runs
page:
type: integer
title: Page
description: Current page number
page_size:
type: integer
title: Page Size
description: Number of runs per page
type: object
required:
- runs
- total
- page
- page_size
title: ScheduledReportRunListResponse
description: Response schema for a list of scheduled report runs.
ScheduledReportResponse:
properties:
id:
type: integer
title: Id
description: Report ID
user_id:
type: integer
title: User Id
description: Owner user ID
workspace_id:
type: integer
title: Workspace Id
description: Workspace ID
name:
type: string
title: Name
description: Report name
monitor_ids:
items:
type: integer
type: array
title: Monitor Ids
description: Monitor IDs included in report
frequency:
type: string
title: Frequency
description: Report frequency
format:
type: string
title: Format
description: Report format
recipients:
items:
type: string
type: array
title: Recipients
description: Email recipients
slo_target:
anyOf:
- type: number
- type: 'null'
title: Slo Target
description: SLO target percentage
custom_hours_period:
anyOf:
- type: integer
- type: 'null'
title: Custom Hours Period
description: Custom period in hours
is_active:
type: boolean
title: Is Active
description: Whether the report is active
next_run_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Next Run At
description: Next scheduled run time
last_run_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Run At
description: Last run time
last_run_status:
anyOf:
- type: string
- type: 'null'
title: Last Run Status
description: Last run status
last_run_error:
anyOf:
- type: string
- type: 'null'
title: Last Run Error
description: Last run error message
timezone:
type: string
title: Timezone
description: Report timezone
include_incidents:
type: boolean
title: Include Incidents
description: Include incidents in report
include_latency_chart:
type: boolean
title: Include Latency Chart
description: Include latency chart
created_at:
type: string
format: date-time
title: Created At
description: Creation timestamp
updated_at:
type: string
format: date-time
title: Updated At
description: Last update timestamp
type: object
required:
- id
- user_id
- workspace_id
- name
- monitor_ids
- frequency
- format
- recipients
- is_active
- timezone
- include_incidents
- include_latency_chart
- created_at
- updated_at
title: ScheduledReportResponse
description: Response schema for a scheduled report.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key