Pingwa Checks API
The Checks API from Pingwa — 2 operation(s) for checks.
The Checks API from Pingwa — 2 operation(s) for checks.
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/pingwa-dev:pingwa-dev-checks-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: pingwa Checks API
version: 0.1.0
tags:
- name: Checks
paths:
/v1/checks:
post:
summary: Create Check
description: 'Register a missed check-in check. The ping URL (it holds the token) is returned
here only.'
operationId: create_check_v1_checks_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CheckIn'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Create Check V1 Checks Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Checks
get:
summary: List Checks
description: 'This number''s checks, oldest first (never the URL: url_hint only). state: new (no
ping yet), up, late, failed. over_plan_limit: past this number''s plan limit (after a
downgrade): its pings are recorded, its alerts dropped until older ones go or the plan
goes up.'
operationId: list_checks_v1_checks_get
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response List Checks V1 Checks Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Checks
/v1/checks/{check_id}:
patch:
summary: Update Check
description: '{"paused": true} pauses: pings are recorded, nothing is sent (a message still owed
is dropped). {"paused": false} resumes from now: the next ping is expected one period
after now, the state is up again (new when it never pinged).'
operationId: update_check_v1_checks__check_id__patch
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CheckPatch'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Update Check V1 Checks Check Id Patch
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Checks
delete:
summary: Delete Check
description: 'Delete a check: its URL answers 404 from now on.'
operationId: delete_check_v1_checks__check_id__delete
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Delete Check V1 Checks Check Id Delete
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Checks
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CheckIn:
properties:
name:
type: string
title: Name
every_s:
anyOf:
- type: integer
- type: 'null'
title: Every S
cron:
anyOf:
- type: string
maxLength: 120
- type: 'null'
title: Cron
timezone:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Timezone
grace_s:
anyOf:
- type: integer
- type: 'null'
title: Grace S
to:
anyOf:
- type: string
- items:
type: string
type: array
- type: 'null'
title: To
additionalProperties: false
type: object
required:
- name
title: CheckIn
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
CheckPatch:
properties:
paused:
type: boolean
title: Paused
additionalProperties: false
type: object
required:
- paused
title: CheckPatch