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

# List monitor alerts

> Lists the monitor's alerts. Alerts are enabled per organization; without it every alert call returns 404. A monitor can have at most 10 alerts: another returns 409 monitor_alert_limit_reached. Alerts post to the project's Slack channel.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /monitors/{monitor_id}/alerts
openapi: 3.1.0
info:
  title: Lemma Platform API
  description: Lemma Platform HTTP API for AI observability and workspace operations.
  version: 0.1.0
servers:
  - url: https://api.uselemma.ai
    description: Lemma production API
security:
  - bearerAuth: []
paths:
  /monitors/{monitor_id}/alerts:
    get:
      tags:
        - Monitors
      summary: List monitor alerts
      description: >-
        Lists the monitor's alerts. Alerts are enabled per organization; without
        it every alert call returns 404. A monitor can have at most 10 alerts:
        another returns 409 monitor_alert_limit_reached. Alerts post to the
        project's Slack channel.
      operationId: list_monitor_alerts
      parameters:
        - name: monitor_id
          in: path
          required: true
          description: Monitor ID.
          schema:
            type: string
      responses:
        '200':
          description: Monitor alerts
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        monitor_id:
                          type: string
                          format: uuid
                        rule:
                          oneOf:
                            - type: object
                              properties:
                                kind:
                                  type: string
                                  const: count
                                threshold:
                                  type: integer
                                  minimum: 1
                                window:
                                  type: string
                                  enum:
                                    - 1h
                                    - 24h
                                    - 7d
                                cooldown:
                                  type: string
                                  enum:
                                    - 1h
                                    - 6h
                                    - 24h
                              required:
                                - kind
                                - threshold
                                - window
                                - cooldown
                              additionalProperties: false
                            - type: object
                              properties:
                                kind:
                                  type: string
                                  const: rate
                                percent:
                                  type: number
                                  exclusiveMinimum: 0
                                  maximum: 100
                                window:
                                  type: string
                                  enum:
                                    - 1h
                                    - 24h
                                    - 7d
                                cooldown:
                                  type: string
                                  enum:
                                    - 1h
                                    - 6h
                                    - 24h
                                min_sample:
                                  type: integer
                                  minimum: 1
                              required:
                                - kind
                                - percent
                                - window
                                - cooldown
                                - min_sample
                              additionalProperties: false
                            - type: object
                              properties:
                                kind:
                                  type: string
                                  const: spike
                                cooldown:
                                  type: string
                                  enum:
                                    - 1h
                                    - 6h
                                    - 24h
                              required:
                                - kind
                                - cooldown
                              additionalProperties: false
                            - type: object
                              properties:
                                kind:
                                  type: string
                                  const: every_match
                                cooldown:
                                  type: string
                                  enum:
                                    - none
                                    - 5m
                                    - 1h
                              required:
                                - kind
                                - cooldown
                              additionalProperties: false
                            - type: object
                              properties:
                                kind:
                                  type: string
                                  const: quiet
                                window:
                                  type: string
                                  enum:
                                    - 1h
                                    - 24h
                                    - 7d
                                min_prior_matches:
                                  type: integer
                                  minimum: 1
                              required:
                                - kind
                                - window
                                - min_prior_matches
                              additionalProperties: false
                            - type: object
                              properties:
                                kind:
                                  type: string
                                  const: issues
                                issue_returns:
                                  type: boolean
                                cooldown:
                                  type: string
                                  enum:
                                    - none
                                    - 5m
                                    - 1h
                              required:
                                - kind
                                - issue_returns
                                - cooldown
                              additionalProperties: false
                        firing:
                          type: object
                          properties:
                            status:
                              type: string
                              enum:
                                - armed
                                - sending
                                - cooling_down
                                - quiet_latched
                            suppressed_count:
                              type: integer
                              minimum: 0
                            cooldown_until:
                              type:
                                - string
                                - 'null'
                              format: date-time
                          required:
                            - status
                            - suppressed_count
                            - cooldown_until
                          additionalProperties: false
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                      required:
                        - id
                        - monitor_id
                        - rule
                        - firing
                        - created_at
                        - updated_at
                      additionalProperties: false
                required:
                  - alerts
                additionalProperties: false
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                  retryable:
                    type: boolean
                  retry_after_seconds:
                    type: number
                    minimum: 0
                required:
                  - detail
                  - code
                  - retryable
                additionalProperties: false
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                    const: internal_error
                  retryable:
                    type: boolean
                    const: false
                  request_id:
                    type: string
                required:
                  - detail
                  - code
                  - retryable
                  - request_id
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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