> ## Documentation Index
> Fetch the complete documentation index at: https://hebeat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List monitors



## OpenAPI

````yaml /openapi.json get /monitors
openapi: 3.1.0
info:
  title: Hebeat API
  version: '2026-11-21'
  description: >-
    Workspace-scoped REST API authenticated with API keys (`Authorization:
    Bearer hb_…`). Each operation requires the scope shown in its security
    requirement; a group's write scope includes its read scope.
servers:
  - url: https://api.hebeat.com
security: []
paths:
  /monitors:
    get:
      tags:
        - Monitors
      summary: List monitors
      operationId: getMonitors
      parameters:
        - name: Hebeat-Version
          in: header
          required: false
          description: >-
            API version (`YYYY-MM-DD`). Defaults to the version pinned on the
            key at creation; every response echoes the version that served it.
          schema:
            type: string
            enum:
              - '2026-11-21'
        - in: query
          name: status
          schema:
            type: string
            enum:
              - paused
              - unknown
              - active
              - degraded
              - error
        - in: query
          name: type
          schema:
            type: string
            enum:
              - http
              - tcp
              - dns
              - heartbeat
        - in: query
          name: search
          schema:
            type: string
            maxLength: 100
        - in: query
          name: page
          schema:
            type: integer
            minimum: 1
            maximum: 10000
            default: 1
        - in: query
          name: per_page
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
      responses:
        '200':
          description: Success.
          headers:
            X-RateLimit-Limit:
              description: Requests this key may make per minute (its plan's budget).
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Remaining:
              description: Requests left for this key in the current minute.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                type: object
                properties:
                  monitors:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        name:
                          type: string
                        description:
                          type:
                            - string
                            - 'null'
                        type:
                          type: string
                          enum:
                            - http
                            - tcp
                            - dns
                            - heartbeat
                        target:
                          type: string
                        enabled:
                          type: boolean
                        status:
                          type: string
                          enum:
                            - paused
                            - unknown
                            - active
                            - degraded
                            - error
                        in_maintenance:
                          type: boolean
                        heartbeat:
                          type: object
                          properties:
                            schedule:
                              oneOf:
                                - type: object
                                  properties:
                                    kind:
                                      type: string
                                      const: period
                                    period_seconds:
                                      type: integer
                                      minimum: 60
                                      maximum: 2592000
                                  required:
                                    - kind
                                    - period_seconds
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    kind:
                                      type: string
                                      const: cron
                                    cron:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    timezone:
                                      type: string
                                      minLength: 1
                                      maxLength: 64
                                  required:
                                    - kind
                                    - cron
                                    - timezone
                                  additionalProperties: false
                            grace_seconds:
                              type: integer
                            keep_messages:
                              type: boolean
                            token_hint:
                              type: string
                            last_ping_at:
                              type:
                                - string
                                - 'null'
                              format: date-time
                            last_start_at:
                              type:
                                - string
                                - 'null'
                              format: date-time
                            next_due_at:
                              type:
                                - string
                                - 'null'
                              format: date-time
                          required:
                            - schedule
                            - grace_seconds
                            - keep_messages
                            - token_hint
                            - last_ping_at
                            - last_start_at
                            - next_due_at
                          additionalProperties: false
                        interval_seconds:
                          type: integer
                        selected_regions:
                          type: array
                          items:
                            type: string
                            enum:
                              - us-east
                              - us-east-oh
                              - us-west-ca
                              - us-west
                              - ca-qc
                              - ca-ab
                              - sa-br
                              - eu-ie
                              - eu-gb
                              - eu-fr
                              - eu-de
                              - eu-se
                              - eu-es
                              - asia-in
                              - asia-in-hy
                              - asia-sg
                              - asia-id
                              - asia-jp
                              - asia-jp-os
                              - asia-kr
                              - asia-tw
                              - asia-my
                              - asia-th
                              - oc-au
                              - oc-au-me
                        last_transition_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                        regions:
                          type: array
                          items:
                            type: object
                            properties:
                              region_code:
                                type: string
                                enum:
                                  - us-east
                                  - us-east-oh
                                  - us-west-ca
                                  - us-west
                                  - ca-qc
                                  - ca-ab
                                  - sa-br
                                  - eu-ie
                                  - eu-gb
                                  - eu-fr
                                  - eu-de
                                  - eu-se
                                  - eu-es
                                  - asia-in
                                  - asia-in-hy
                                  - asia-sg
                                  - asia-id
                                  - asia-jp
                                  - asia-jp-os
                                  - asia-kr
                                  - asia-tw
                                  - asia-my
                                  - asia-th
                                  - oc-au
                                  - oc-au-me
                              status:
                                type: string
                                enum:
                                  - unknown
                                  - active
                                  - degraded
                                  - error
                              last_checked_at:
                                type:
                                  - string
                                  - 'null'
                                format: date-time
                            required:
                              - region_code
                              - status
                              - last_checked_at
                            additionalProperties: false
                        stats:
                          type:
                            - object
                            - 'null'
                          properties:
                            last_checked_at:
                              type:
                                - string
                                - 'null'
                              format: date-time
                            uptime_24h:
                              type:
                                - number
                                - 'null'
                              minimum: 0
                              maximum: 1
                            uptime_7d:
                              type:
                                - number
                                - 'null'
                              minimum: 0
                              maximum: 1
                            uptime_30d:
                              type:
                                - number
                                - 'null'
                              minimum: 0
                              maximum: 1
                            latency_avg_ms_24h:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                            latency_p95_ms_24h:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                            history:
                              type: array
                              items:
                                type: object
                                properties:
                                  bucket_start:
                                    type: string
                                    format: date-time
                                  status:
                                    type: string
                                    enum:
                                      - active
                                      - degraded
                                      - error
                                      - no_data
                                      - skipped
                                  uptime:
                                    type:
                                      - number
                                      - 'null'
                                    minimum: 0
                                    maximum: 1
                                required:
                                  - bucket_start
                                  - status
                                  - uptime
                                additionalProperties: false
                          required:
                            - last_checked_at
                            - uptime_24h
                            - uptime_7d
                            - uptime_30d
                            - latency_avg_ms_24h
                            - latency_p95_ms_24h
                            - history
                          additionalProperties: false
                      required:
                        - id
                        - name
                        - description
                        - type
                        - target
                        - enabled
                        - status
                        - interval_seconds
                        - selected_regions
                        - last_transition_at
                        - created_at
                        - updated_at
                        - regions
                        - stats
                      additionalProperties: false
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total:
                        type: integer
                    required:
                      - page
                      - per_page
                      - total
                    additionalProperties: false
                required:
                  - monitors
                  - pagination
                additionalProperties: false
        '400':
          description: >-
            Malformed JSON or an unsupported `Hebeat-Version` (`invalid_json`,
            `invalid_version`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '401':
          description: Missing, unknown, revoked or expired API key (`unauthenticated`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '403':
          description: >-
            The key lacks the operation's scope (`insufficient_scope`) or a plan
            limit applies.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '404':
          description: Not found in the key's workspace (`not_found`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '422':
          description: >-
            The input does not match the contract (`invalid_input`, with
            `issues`: each has `path`, a stable validation `code`, optional
            `params` and the English `message`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '429':
          description: >-
            The key's per-minute budget or an abuse budget is spent
            (`rate_limited`, with `Retry-After`).
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Limit:
              description: Requests this key may make per minute (its plan's budget).
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Remaining:
              description: Requests left for this key in the current minute.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
      security:
        - api_key:
            - monitors:read
components:
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
      description: A workspace API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.