PingZen Monitor Groups API

Logical groupings of monitors with threshold-based status aggregation.

GitHub OpenAPI

Operations 12

POST /api/v1/monitor-groups Create Monitor Group #
GET /api/v1/monitor-groups List Monitor Groups #
GET /api/v1/monitor-groups/stats Get Monitor Group Stats #
GET /api/v1/monitor-groups/{group_id} Get Monitor Group #
PUT /api/v1/monitor-groups/{group_id} Update Monitor Group #
DELETE /api/v1/monitor-groups/{group_id} Delete Monitor Group #
POST /api/v1/monitor-groups/{group_id}/monitors Add Monitors To Group #
DELETE /api/v1/monitor-groups/{group_id}/monitors Remove Monitors From Group #
POST /api/v1/monitor-groups/{group_id}/tags Add Tags To Group #
DELETE /api/v1/monitor-groups/{group_id}/tags Remove Tags From Group #
GET /api/v1/monitor-groups/{group_id}/status Get Group Status #
PUT /api/v1/monitor-groups/{group_id}/status Update Group Status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pingzen-dev:pingzen-dev-monitor-groups-api"
All apis
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.

Get an API 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 Specification

pingzen-dev-monitor-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PingZen Monitor Groups API
  description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
  version: 1.0.0
tags:
- name: Monitor Groups
  description: Logical groupings of monitors with threshold-based status aggregation.
paths:
  /api/v1/monitor-groups:
    post:
      tags:
      - Monitor Groups
      summary: Create Monitor Group
      description: 'Create a new monitor group.


        Monitor groups allow you to aggregate up to 200 monitors into a logical unit

        with threshold-based status calculation.'
      operationId: create_monitor_group_api_v1_monitor_groups_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMonitorGroupRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Monitor Groups
      summary: List Monitor Groups
      description: 'List monitor groups for the current user.


        Supports pagination and filtering by active status, tag, and workspace.'
      operationId: list_monitor_groups_api_v1_monitor_groups_get
      security:
      - HTTPBearer: []
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 10000
          minimum: 1
          description: Page number (1-indexed)
          default: 1
          title: Page
        description: Page number (1-indexed)
      - 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 groups
          default: true
          title: Active Only
        description: Only return active groups
      - name: tag
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by tag
          title: Tag
        description: Filter by tag
      - 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/MonitorGroupListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/monitor-groups/stats:
    get:
      tags:
      - Monitor Groups
      summary: Get Monitor Group Stats
      description: 'Get aggregate statistics for all monitor groups.


        Returns counts by status, activity, and average monitors per group.'
      operationId: get_monitor_group_stats_api_v1_monitor_groups_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupStatsResponse'
      security:
      - HTTPBearer: []
  /api/v1/monitor-groups/{group_id}:
    get:
      tags:
      - Monitor Groups
      summary: Get Monitor Group
      operationId: get_monitor_group_api_v1_monitor_groups__group_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Monitor Groups
      summary: Update Monitor Group
      description: 'Update a monitor group.


        Only provided fields will be updated.'
      operationId: update_monitor_group_api_v1_monitor_groups__group_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMonitorGroupRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Monitor Groups
      summary: Delete Monitor Group
      operationId: delete_monitor_group_api_v1_monitor_groups__group_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/monitor-groups/{group_id}/monitors:
    post:
      tags:
      - Monitor Groups
      summary: Add Monitors To Group
      description: 'Add monitors to a group.


        Each group can have up to 200 monitors.'
      operationId: add_monitors_to_group_api_v1_monitor_groups__group_id__monitors_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddMonitorsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Monitor Groups
      summary: Remove Monitors From Group
      description: Remove monitors from a group.
      operationId: remove_monitors_from_group_api_v1_monitor_groups__group_id__monitors_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveMonitorsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/monitor-groups/{group_id}/tags:
    post:
      tags:
      - Monitor Groups
      summary: Add Tags To Group
      description: 'Add tags to a group.


        Each group can have up to 50 tags.'
      operationId: add_tags_to_group_api_v1_monitor_groups__group_id__tags_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddTagsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Monitor Groups
      summary: Remove Tags From Group
      description: Remove tags from a group.
      operationId: remove_tags_from_group_api_v1_monitor_groups__group_id__tags_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveTagsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/monitor-groups/{group_id}/status:
    get:
      tags:
      - Monitor Groups
      summary: Get Group Status
      description: 'Get detailed status breakdown for a monitor group.


        Returns counts of monitors in each status category and health percentage.'
      operationId: get_group_status_api_v1_monitor_groups__group_id__status_get
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Monitor Groups
      summary: Update Group Status
      description: 'Update group status based on current monitor statuses.


        This endpoint is typically called by the scheduler to update the aggregate

        status based on the latest monitor check results.'
      operationId: update_group_status_api_v1_monitor_groups__group_id__status_put
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateGroupStatusRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitorGroupStatusResponse'
        '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
    UpdateGroupStatusRequest:
      properties:
        monitor_statuses:
          additionalProperties:
            type: string
          type: object
          title: Monitor Statuses
          description: Dict mapping monitor_id to status string (up, down, degraded, unknown)
      type: object
      required:
      - monitor_statuses
      title: UpdateGroupStatusRequest
      description: Request schema for updating group status based on monitor statuses.
    RemoveTagsRequest:
      properties:
        tags:
          items:
            type: string
          type: array
          minItems: 1
          title: Tags
          description: List of tags to remove
      type: object
      required:
      - tags
      title: RemoveTagsRequest
      description: Request schema for removing tags from a group.
    RemoveMonitorsRequest:
      properties:
        monitor_ids:
          items:
            type: integer
          type: array
          minItems: 1
          title: Monitor Ids
          description: List of monitor IDs to remove from the group
      type: object
      required:
      - monitor_ids
      title: RemoveMonitorsRequest
      description: Request schema for removing monitors from a group.
    AddMonitorsRequest:
      properties:
        monitor_ids:
          items:
            type: integer
          type: array
          minItems: 1
          title: Monitor Ids
          description: List of monitor IDs to add to the group
      type: object
      required:
      - monitor_ids
      title: AddMonitorsRequest
      description: Request schema for adding monitors to a group.
    MonitorGroupStatusResponse:
      properties:
        id:
          type: string
          title: Id
          description: Monitor group UUID
        name:
          type: string
          title: Name
          description: Group name
        status:
          type: string
          title: Status
          description: Current aggregated status
        monitor_count:
          type: integer
          title: Monitor Count
          description: Total monitors in group
        healthy_count:
          type: integer
          title: Healthy Count
          description: Number of healthy monitors
        degraded_count:
          type: integer
          title: Degraded Count
          description: Number of degraded monitors
        down_count:
          type: integer
          title: Down Count
          description: Number of down monitors
        unknown_count:
          type: integer
          title: Unknown Count
          description: Number of unknown status monitors
        health_percentage:
          type: number
          title: Health Percentage
          description: Percentage of healthy monitors
        threshold_degraded:
          type: number
          title: Threshold Degraded
          description: Threshold for DEGRADED
        threshold_down:
          type: number
          title: Threshold Down
          description: Threshold for DOWN
        last_checked_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Checked At
          description: Last status check time
      type: object
      required:
      - id
      - name
      - status
      - monitor_count
      - healthy_count
      - degraded_count
      - down_count
      - unknown_count
      - health_percentage
      - threshold_degraded
      - threshold_down
      title: MonitorGroupStatusResponse
      description: Response schema for monitor group status with details.
    CreateMonitorGroupRequest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
          description: Human-readable name for the group
        workspace_id:
          type: integer
          title: Workspace Id
          description: Workspace ID to assign group to
        description:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Description
          description: Optional description of the group
        monitor_ids:
          items:
            type: integer
          type: array
          title: Monitor Ids
          description: List of monitor IDs to include in the group (max 200)
        tags:
          items:
            type: string
          type: array
          title: Tags
          description: List of tags for categorization (max 50)
        threshold_degraded:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Threshold Degraded
          description: Percentage of monitors that must be UP to avoid DEGRADED status (0.0-1.0)
          default: 0.8
        threshold_down:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Threshold Down
          description: Percentage of monitors that must be UP to avoid DOWN status (0.0-1.0)
          default: 0.0
        is_active:
          type: boolean
          title: Is Active
          description: Whether the group is actively monitored
          default: true
      type: object
      required:
      - name
      - workspace_id
      title: CreateMonitorGroupRequest
      description: Request schema for creating a monitor group.
    MonitorGroupResponse:
      properties:
        id:
          type: string
          title: Id
          description: Monitor group UUID
        name:
          type: string
          title: Name
          description: Group name
        user_id:
          type: integer
          title: User Id
          description: Owner user ID
        workspace_id:
          type: integer
          title: Workspace Id
          description: Workspace ID
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
          description: Group description
        monitor_ids:
          items:
            type: integer
          type: array
          title: Monitor Ids
          description: List of monitor IDs in the group
        tags:
          items:
            type: string
          type: array
          title: Tags
          description: List of tags
        threshold_degraded:
          type: number
          title: Threshold Degraded
          description: Threshold for DEGRADED status (0.0-1.0)
        threshold_down:
          type: number
          title: Threshold Down
          description: Threshold for DOWN status (0.0-1.0)
        status:
          type: string
          title: Status
          description: Current aggregated status
        is_active:
          type: boolean
          title: Is Active
          description: Whether the group is active
        monitor_count:
          type: integer
          title: Monitor Count
          description: Number of monitors in the group
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
          description: Creation timestamp
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
          description: Last update timestamp
      type: object
      required:
      - id
      - name
      - user_id
      - workspace_id
      - monitor_ids
      - tags
      - threshold_degraded
      - threshold_down
      - status
      - is_active
      - monitor_count
      title: MonitorGroupResponse
      description: Response schema for a monitor group.
    MonitorGroupListResponse:
      properties:
        groups:
          items:
            $ref: '#/components/schemas/MonitorGroupResponse'
          type: array
          title: Groups
          description: List of monitor groups
        total:
          type: integer
          title: Total
          description: Total number of groups
        page:
          type: integer
          title: Page
          description: Current page (1-indexed)
        page_size:
          type: integer
          title: Page Size
          description: Page size
      type: object
      required:
      - groups
      - total
      - page
      - page_size
      title: MonitorGroupListResponse
      description: Response schema for paginated monitor group list.
    AddTagsRequest:
      properties:
        tags:
          items:
            type: string
          type: array
          minItems: 1
          title: Tags
          description: List of tags to add
      type: object
      required:
      - tags
      title: AddTagsRequest
      description: Request schema for adding tags to a group.
    MonitorGroupStatsResponse:
      properties:
        total_groups:
          type: integer
          title: Total Groups
          description: Total number of groups
        active_groups:
          type: integer
          title: Active Groups
          description: Number of active groups
        inactive_groups:
          type: integer
          title: Inactive Groups
          description: Number of inactive groups
        groups_up:
          type: integer
          title: Groups Up
          description: Groups with UP status
        groups_degraded:
          type: integer
          title: Groups Degraded
          description: Groups with DEGRADED status
        groups_down:
          type: integer
          title: Groups Down
          description: Groups with DOWN status
        groups_unknown:
          type: integer
          title: Groups Unknown
          description: Groups with UNKNOWN status
        total_monitors_grouped:
          type: integer
          title: Total Monitors Grouped
          description: Total monitors across all groups
        avg_monitors_per_group:
          type: number
          title: Avg Monitors Per Group
          description: Average monitors per group
      type: object
      required:
      - total_groups
      - active_groups
      - inactive_groups
      - groups_up
      - groups_degraded
      - groups_down
      - groups_unknown
      - total_monitors_grouped
      - avg_monitors_per_group
      title: MonitorGroupStatsResponse
      description: Response schema for monitor group statistics.
    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
    UpdateMonitorGroupRequest:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 200
            minLength: 1
          - type: 'null'
          title: Name
          description: Human-readable name for the group
        description:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Description
          description: Optional description of the group
        monitor_ids:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Monitor Ids
          description: List of monitor IDs to include in the group (max 200)
        tags:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tags
          description: List of tags for categorization (max 50)
        threshold_degraded:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Threshold Degraded
          description: Percentage of monitors that must be UP to avoid DEGRADED status
        threshold_down:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Threshold Down
          description: Percentage of monitors that must be UP to avoid DOWN status
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
          description: Whether the group is actively monitored
      type: object
      title: UpdateMonitorGroupRequest
      description: Request schema for updating a monitor group.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key