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

# Get monitors

> Get list of monitors with pagination and filtering. See [Monitors](https://docs.galtea.ai/concepts/product/monitor).



## OpenAPI

````yaml https://api.galtea.ai/openapi.json get /monitors
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /monitors:
    get:
      tags:
        - monitors
      summary: Get monitors
      description: >-
        Get list of monitors with pagination and filtering. See
        [Monitors](https://docs.galtea.ai/concepts/product/monitor).
      operationId: getMonitors
      parameters:
        - name: ids
          in: query
          style: form
          explode: true
          description: Filter by monitor IDs
          required: false
          schema:
            type: array
            items:
              type: string
        - name: productIds
          in: query
          style: form
          explode: true
          description: Filter by product IDs
          required: false
          schema:
            type: array
            items:
              type: string
        - name: versionIds
          in: query
          style: form
          explode: true
          description: Filter by version IDs
          required: false
          schema:
            type: array
            items:
              type: string
        - name: names
          in: query
          style: form
          explode: true
          description: Filter by monitor names (exact match, multiple)
          required: false
          schema:
            type: array
            items:
              type: string
        - name: name
          in: query
          description: Filter by monitor name (partial match)
          required: false
          schema:
            type: string
        - name: statuses
          in: query
          style: form
          explode: true
          description: Filter by monitor statuses
          required: false
          schema:
            type: array
            items:
              type: string
              enum:
                - ACTIVE
                - PAUSED
                - CAPPED
                - NO_CREDITS
                - FAILING
        - name: metricGroupIds
          in: query
          style: form
          explode: true
          description: Filter by bound metric family IDs (Metric.metricGroupId)
          required: false
          schema:
            type: array
            items:
              type: string
        - name: sort
          in: query
          style: form
          explode: true
          description: Sort instructions (field and direction pairs)
          required: false
          schema:
            type: array
            items:
              type: string
        - name: limit
          in: query
          description: Maximum number of results
          required: false
          schema:
            type: integer
        - name: offset
          in: query
          description: Number of results to skip
          required: false
          schema:
            type: integer
        - name: fromCreatedAt
          in: query
          description: Filter monitors created at or after this timestamp (ISO 8601 format)
          required: false
          schema:
            type: string
            format: date-time
        - name: toCreatedAt
          in: query
          description: >-
            Filter monitors created at or before this timestamp (ISO 8601
            format)
          required: false
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Monitors retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Monitor'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Monitor:
      type: object
      required:
        - productId
        - name
        - metricGroupIds
      properties:
        id:
          type: string
          example: monitor_123
        productId:
          type: string
          example: prod_123
        versionId:
          type: string
          nullable: true
          description: >-
            Optional version to narrow the monitor to. When null the monitor
            watches the whole product.
          example: version_123
        userId:
          type: string
          nullable: true
          example: user_123
        name:
          type: string
          example: Production quality watch
        metricGroupIds:
          type: array
          items:
            type: string
          description: >-
            Metric families (Metric.metricGroupId) the monitor scores with. The
            monitor binds the family, not a specific revision, so revising a
            metric is picked up automatically without editing the monitor.
          example:
            - metricGroup_123
        samplingPercentage:
          type: number
          default: 10
          minimum: 0
          exclusiveMinimum: true
          maximum: 100
          description: >-
            Percentage of production sessions to evaluate (greater than 0, at
            most 100).
          example: 10
        monthlyCreditCap:
          type: integer
          nullable: true
          minimum: 1
          description: >-
            Optional monthly credit ceiling for this monitor. When set it must
            be a positive integer; it may exceed the organization monthly
            allocation (spend is clamped to the available balance). Null means
            uncapped.
          example: 500
        inactivityWindowMinutes:
          type: integer
          default: 5
          minimum: 1
          description: >-
            Minutes of inactivity after which a session is considered complete
            and eligible for evaluation.
          example: 5
        status:
          type: string
          enum:
            - ACTIVE
            - PAUSED
            - CAPPED
            - NO_CREDITS
            - FAILING
          default: ACTIVE
          description: >-
            Users may set ACTIVE or PAUSED; CAPPED, NO_CREDITS and FAILING are
            system-set by the scanner and rejected on user writes.
          example: ACTIVE
        createdAt:
          type: string
          format: date-time
        deletedAt:
          type: string
          format: date-time
          nullable: true
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````