PingZen Alerts API

Alert channels for notifications (email, Telegram, Slack, webhooks).

GitHub OpenAPI

Operations 12

POST /api/v1/alerts Create alert #
GET /api/v1/alerts List alerts #
GET /api/v1/alerts/channels/availability Get channel availability #
GET /api/v1/alerts/history Get all alerts history #
GET /api/v1/alerts/coverage Monitors no alert rule pages about #
GET /api/v1/alerts/{alert_id} Get alert #
PATCH /api/v1/alerts/{alert_id} Update alert #
DELETE /api/v1/alerts/{alert_id} Delete alert #
GET /api/v1/alerts/{alert_id}/history Get alert history #
POST /api/v1/alerts/{alert_id}/test Test alert #
POST /api/v1/alerts/test-send Test send (ad-hoc) #
POST /api/v1/alerts/{alert_id}/toggle Toggle alert #

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-alerts-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-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PingZen Alerts API
  description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
  version: 1.0.0
tags:
- name: Alerts
  description: Alert channels for notifications (email, Telegram, Slack, webhooks).
paths:
  /api/v1/alerts:
    post:
      tags:
      - Alerts
      summary: Create alert
      description: Create a new alert configuration for monitor notifications.
      operationId: create_alert_api_v1_alerts_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAlertRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Alerts
      summary: List alerts
      description: Get a paginated list of alerts for the current user.
      operationId: list_alerts_api_v1_alerts_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: is_active
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Filter by active status
          title: Is Active
        description: Filter by active status
      - 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/AlertListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alerts/channels/availability:
    get:
      tags:
      - Alerts
      summary: Get channel availability
      description: Check which alert channels are configured and available.
      operationId: get_channel_availability_api_v1_alerts_channels_availability_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelAvailabilityResponse'
      security:
      - HTTPBearer: []
  /api/v1/alerts/history:
    get:
      tags:
      - Alerts
      summary: Get all alerts history
      description: Get notification history for all user's alerts.
      operationId: get_all_alerts_history_api_v1_alerts_history_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: 50
          title: Page Size
        description: Items per page
      - 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/AlertHistoryListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alerts/coverage:
    get:
      tags:
      - Alerts
      summary: Monitors no alert rule pages about
      description: Active monitors and heartbeats the user can see that no active rule with the DOWN trigger covers, counting rules of every owner in shared workspaces.
      operationId: get_alert_coverage_api_v1_alerts_coverage_get
      security:
      - HTTPBearer: []
      parameters:
      - 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/AlertCoverageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alerts/{alert_id}:
    get:
      tags:
      - Alerts
      summary: Get alert
      description: Get details of a specific alert.
      operationId: get_alert_api_v1_alerts__alert_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: alert_id
        in: path
        required: true
        schema:
          type: integer
          title: Alert Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Alerts
      summary: Update alert
      description: Update an existing alert configuration (partial update).
      operationId: update_alert_api_v1_alerts__alert_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: alert_id
        in: path
        required: true
        schema:
          type: integer
          title: Alert Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAlertRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Alerts
      summary: Delete alert
      description: Delete an alert configuration.
      operationId: delete_alert_api_v1_alerts__alert_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: alert_id
        in: path
        required: true
        schema:
          type: integer
          title: Alert Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alerts/{alert_id}/history:
    get:
      tags:
      - Alerts
      summary: Get alert history
      description: Get the notification history for a specific alert.
      operationId: get_alert_history_api_v1_alerts__alert_id__history_get
      security:
      - HTTPBearer: []
      parameters:
      - name: alert_id
        in: path
        required: true
        schema:
          type: integer
          title: Alert 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/AlertHistoryListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alerts/{alert_id}/test:
    post:
      tags:
      - Alerts
      summary: Test alert
      description: Send a test notification using the alert configuration.
      operationId: test_alert_api_v1_alerts__alert_id__test_post
      security:
      - HTTPBearer: []
      parameters:
      - name: alert_id
        in: path
        required: true
        schema:
          type: integer
          title: Alert Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestAlertResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alerts/test-send:
    post:
      tags:
      - Alerts
      summary: Test send (ad-hoc)
      description: Send a real test notification to the given channel/target without saving an alert. Used by AlertForm to validate deliverability before the user commits the form. Returns a step-by-step debug trace so the operator can see why a send failed (Telegram /start state, bot credentials, network reachability).
      operationId: test_send_api_v1_alerts_test_send_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestSendRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestSendResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/alerts/{alert_id}/toggle:
    post:
      tags:
      - Alerts
      summary: Toggle alert
      description: Toggle the active state of an alert (enable/disable).
      operationId: toggle_alert_api_v1_alerts__alert_id__toggle_post
      security:
      - HTTPBearer: []
      parameters:
      - name: alert_id
        in: path
        required: true
        schema:
          type: integer
          title: Alert Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AlertHistoryResponse:
      properties:
        id:
          type: integer
          title: Id
          description: History record ID
        alert_id:
          type: integer
          title: Alert Id
          description: Alert ID
        monitor_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Monitor Id
          description: Monitor ID that triggered the alert (null if monitor deleted)
        trigger:
          type: string
          title: Trigger
          description: Trigger type
        channel:
          type: string
          title: Channel
          description: Delivery channel
        target:
          type: string
          title: Target
          description: Delivery target
        status:
          type: string
          title: Status
          description: 'Delivery status: sent or failed'
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
          description: Error message if failed
        sent_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Sent At
          description: When alert was sent
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
      type: object
      required:
      - id
      - alert_id
      - trigger
      - channel
      - target
      - status
      title: AlertHistoryResponse
      description: Response schema for alert history record.
    UpdateAlertRequest:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Name
          description: Alert name
        channel:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel
          description: Alert channel
        target:
          anyOf:
          - type: string
            maxLength: 500
            minLength: 1
          - type: 'null'
          title: Target
          description: Target
        monitor_ids:
          anyOf:
          - items:
              type: integer
            type: array
            maxItems: 500
          - type: 'null'
          title: Monitor Ids
          description: Monitor IDs
        heartbeat_monitor_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 100
          - type: 'null'
          title: Heartbeat Monitor Ids
          description: Heartbeat monitor IDs
        apply_to_all_monitors:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Apply To All Monitors
          description: Broadcast flag. Mutually exclusive with non-empty monitor_ids / heartbeat_monitor_ids when explicitly toggled in the same request.
        triggers:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Triggers
          description: Triggers
        cooldown_minutes:
          anyOf:
          - type: integer
            maximum: 1440.0
            minimum: 0.0
          - type: 'null'
          title: Cooldown Minutes
          description: Cooldown in minutes (0 = no cooldown)
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
          description: Whether alert is active
        enable_reminders:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enable Reminders
          description: Send reminder alerts while monitor stays down
        message_fields:
          anyOf:
          - additionalProperties:
              type: boolean
            type: object
          - type: 'null'
          title: Message Fields
          description: 'Message field toggles: show_url, show_protocol, show_response_time, show_http_status, show_error, show_account, show_downtime, show_monitor_link, show_probe_location'
      type: object
      title: UpdateAlertRequest
      description: Request schema for updating an alert.
    ChannelAvailabilityItem:
      properties:
        channel:
          type: string
          title: Channel
          description: Channel name
        available:
          type: boolean
          title: Available
          description: Whether channel is configured and available
        reason:
          type: string
          title: Reason
          description: Reason for availability status
      type: object
      required:
      - channel
      - available
      - reason
      title: ChannelAvailabilityItem
      description: Single channel availability status.
    TestSendResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the test message was delivered
        message:
          type: string
          title: Message
          description: Result message (success confirmation or error reason)
        channel:
          type: string
          title: Channel
          description: Channel that was tested
        sent_at:
          type: string
          format: date-time
          title: Sent At
          description: When the test was executed
        steps:
          items:
            $ref: '#/components/schemas/TestSendStep'
          type: array
          title: Steps
          description: Per-step debug trace. Each step records duration + raw upstream response.
        suggestion:
          anyOf:
          - type: string
          - type: 'null'
          title: Suggestion
          description: Actionable hint when the test fails (e.g. 'press /start at @bot').
        target_kind:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Kind
          description: 'Channel-specific classification of the target. For Telegram: ''personal_chat'' | ''group'' | ''supergroup'' | ''channel'' | ''username''.'
        server:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Server
          description: 'Backend identity that processed the request. Helps operators verify which pod/host actually answered (dev vs prod, which of N replicas) when correlating with prod logs. Keys: hostname, instance, version (when known).'
      type: object
      required:
      - success
      - message
      - channel
      - sent_at
      title: TestSendResponse
      description: Response schema for ad-hoc test send (debug-friendly).
    TestSendRequest:
      properties:
        channel:
          type: string
          title: Channel
          description: Alert channel
        target:
          type: string
          maxLength: 500
          minLength: 1
          title: Target
          description: Channel target
        workspace_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Workspace Id
          description: Active workspace ID, used to scope auto-linked Telegram groups
      type: object
      required:
      - channel
      - target
      title: TestSendRequest
      description: 'Request schema for ad-hoc test send.


        Used by AlertForm "Send test" button before the alert is saved, so the

        user can verify deliverability (e.g. that their Telegram chat_id is

        reachable, that they pressed /start at the bot) without committing the

        alert. No alert_id, no monitors — synthetic test payload.'
    TestAlertResponse:
      properties:
        alert_id:
          type: integer
          title: Alert Id
          description: Tested alert ID
        success:
          type: boolean
          title: Success
          description: Whether test was successful
        message:
          type: string
          title: Message
          description: Result message
        sent_at:
          type: string
          format: date-time
          title: Sent At
          description: When test was executed
      type: object
      required:
      - alert_id
      - success
      - message
      - sent_at
      title: TestAlertResponse
      description: Response schema for alert test result.
    AlertCoverageResponse:
      properties:
        uncovered_monitor_ids:
          items:
            type: integer
          type: array
          title: Uncovered Monitor Ids
          description: Monitors without a DOWN rule
        uncovered_heartbeat_ids:
          items:
            type: string
          type: array
          title: Uncovered Heartbeat Ids
          description: Heartbeats without a DOWN rule
        total:
          type: integer
          title: Total
          description: Active monitors and heartbeats checked
        has_rules:
          type: boolean
          title: Has Rules
          description: At least one rule pages about an outage of something checked
      type: object
      required:
      - uncovered_monitor_ids
      - uncovered_heartbeat_ids
      - total
      - has_rules
      title: AlertCoverageResponse
      description: Active monitors and heartbeats no active DOWN rule would page about.
    AlertHistoryListResponse:
      properties:
        history:
          items:
            $ref: '#/components/schemas/AlertHistoryResponse'
          type: array
          title: History
          description: History records
        total:
          type: integer
          title: Total
          description: Total records
        page:
          type: integer
          title: Page
          description: Current page
        page_size:
          type: integer
          title: Page Size
          description: Page size
      type: object
      required:
      - history
      - total
      - page
      - page_size
      title: AlertHistoryListResponse
      description: Response schema for paginated alert history.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AlertListResponse:
      properties:
        alerts:
          items:
            $ref: '#/components/schemas/AlertResponse'
          type: array
          title: Alerts
          description: List of alerts
        total:
          type: integer
          title: Total
          description: Total number of alerts
        page:
          type: integer
          title: Page
          description: Current page
        page_size:
          type: integer
          title: Page Size
          description: Page size
      type: object
      required:
      - alerts
      - total
      - page
      - page_size
      title: AlertListResponse
      description: Response schema for paginated alert list.
    TestSendStep:
      properties:
        name:
          type: string
          title: Name
          description: Step name (e.g. 'verify_bot', 'send_message')
        success:
          type: boolean
          title: Success
          description: Whether the step succeeded
        duration_ms:
          type: integer
          title: Duration Ms
          description: Wall-clock duration of the step
        details:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Details
          description: Step-specific structured data
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
          description: Error message when success=False
      type: object
      required:
      - name
      - success
      - duration_ms
      title: TestSendStep
      description: 'Single step in the test-send debug trace.


        Frontends render the full ``steps`` list under a "Show details" toggle so

        users (and operators tailing prod logs by ear) can see exactly what was

        attempted and what the upstream API returned, instead of guessing from a

        one-line error.'
    ChannelAvailabilityResponse:
      properties:
        channels:
          items:
            $ref: '#/components/schemas/ChannelAvailabilityItem'
          type: array
          title: Channels
          description: List of channel availability
      type: object
      required:
      - channels
      title: ChannelAvailabilityResponse
      description: Response schema for channel availability.
    CreateAlertRequest:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
          description: Alert name
        channel:
          type: string
          title: Channel
          description: 'Alert channel: email, telegram, slack, webhook, etc.'
        target:
          type: string
          maxLength: 500
          minLength: 1
          title: Target
          description: 'Target: email, chat_id, webhook URL'
        workspace_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Workspace Id
          description: Workspace ID
        monitor_ids:
          items:
            type: integer
          type: array
          maxItems: 500
          title: Monitor Ids
          description: Monitor IDs this alert is scoped to. Cannot be combined with apply_to_all_monitors=true.
        heartbeat_monitor_ids:
          items:
            type: string
          type: array
          maxItems: 100
          title: Heartbeat Monitor Ids
          description: Heartbeat monitor IDs (UUID strings)
        apply_to_all_monitors:
          type: boolean
          title: Apply To All Monitors
          description: When true, the alert fires for every monitor in the workspace; monitor_ids and heartbeat_monitor_ids must be empty. Mutually exclusive with any explicit ID list.
          default: false
        triggers:
          items:
            type: string
          type: array
          title: Triggers
          description: 'Triggers: down, recovered, degraded, certificate_expiring, response_time_high'
          default:
          - down
          - recovered
          - certificate_expiring
        cooldown_minutes:
          type: integer
          maximum: 1440.0
          minimum: 0.0
          title: Cooldown Minutes
          description: Cooldown between alerts in minutes (0 = no cooldown)
          default: 5
        is_active:
          type: boolean
          title: Is Active
          description: Whether alert is active
          default: true
        enable_reminders:
          type: boolean
          title: Enable Reminders
          description: Send reminder alerts while monitor stays down
          default: false
        message_fields:
          anyOf:
          - additionalProperties:
              type: boolean
            type: object
          - type: 'null'
          title: Message Fields
          description: 'Message field toggles: show_url, show_protocol, show_response_time, show_http_status, show_error, show_account, show_downtime, show_monitor_link, show_probe_location'
      type: object
      required:
      - name
      - channel
      - target
      title: CreateAlertRequest
      description: Request schema for creating an alert.
    AlertResponse:
      properties:
        id:
          type: integer
          title: Id
          description: Alert ID
        name:
          type: string
          title: Name
          description: Alert name
        channel:
          type: string
          title: Channel
          description: Alert channel
        target:
          type: string
          title: Target
          description: Target
        user_id:
          type: integer
          title: User Id
          description: Owner user ID
        workspace_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Workspace Id
          description: Workspace ID
        monitor_ids:
          items:
            type: integer
          type: array
          title: Monitor Ids
          description: Associated monitor IDs
        heartbeat_monitor_ids:
          items:
            type: string
          type: array
          title: Heartbeat Monitor Ids
          description: Associated heartbeat monitor IDs
        apply_to_all_monitors:
          type: boolean
          title: Apply To All Monitors
          description: When true, the alert broadcasts to every monitor in the workspace
          default: false
        triggers:
          items:
            type: string
          type: array
          title: Triggers
          description: Active triggers
        cooldown_minutes:
          type: integer
          title: Cooldown Minutes
          description: Cooldown in minutes
        is_active:
          type: boolean
          title: Is Active
          description: Whether alert is active
        enable_reminders:
          type: boolean
          title: Enable Reminders
          description: Reminder alerts enabled
          default: false
        message_fields:
          additionalProperties:
            type: boolean
          type: object
          title: Message Fields
          description: Message field visibility toggles
        reminder_escalation_level:
          type: integer
          title: Reminder Escalation Level
          description: Current reminder escalation level
          default: 0
        reminder_last_sent_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Reminder Last Sent At
          description: Last reminder sent time
        degraded_reminder_last_sent_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Degraded Reminder Last Sent At
          description: Last DEGRADED reminder sent time (24h cadence)
        last_triggered_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Triggered At
          description: Last trigger time
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
      type: object
      required:
      - id
      - name
      - channel
      - target
      - user_id
      - monitor_ids
      - triggers
      - cooldown_minutes
      - is_active
      title: AlertResponse
      description: Response schema for an alert.
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key