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

# List Alert Rules by Deployment

> Lists the alert rules for one deployment.



## OpenAPI

````yaml openapi-specs/playground/platform.json GET /alerting/deployments/{deployment_id}/rules/
openapi: 3.1.0
info:
  title: Simplismart Platform APIs (Read-only)
  description: >-
    Read-only endpoints for accounts, models, deployments, observability, usage,
    alerting and external catalogues.
  version: 1.0.0
servers:
  - url: https://api.app.simplismart.ai
    description: Simplismart API
security: []
tags:
  - name: Accounts
  - name: Models
  - name: Deployments
  - name: Observability
  - name: Usage
  - name: Alerting
paths:
  /alerting/deployments/{deployment_id}/rules/:
    get:
      tags:
        - Alerting
      summary: List Alert Rules by Deployment
      description: Lists the alert rules for one deployment.
      operationId: get_alerting_deployments_deployment_id_rules
      parameters:
        - name: deployment_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Deployment UUID.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              example:
                alerts:
                  - id: ...
                    name: ...
                    preset_id: ...
                    preset_name: ...
                    parameters: []
                    channel_ids:
                      - ...
                    severity: ...
                    pending_period: ...
                    evaluation_interval: ...
                    enabled: true
                    is_muted: false
                    deployment:
                      id: ...
                      slug: ...
                      name: ...
                      avatar: {}
                    state: ...
                    health: ...
                    last_evaluation: ...
                    current_value: 0
                    firing_since: null
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        preset_id:
                          type: string
                        preset_name:
                          type: string
                        parameters:
                          type: array
                          items: {}
                        channel_ids:
                          type: array
                          items:
                            type: string
                        severity:
                          type: string
                        pending_period:
                          type: string
                        evaluation_interval:
                          type: string
                        enabled:
                          type: boolean
                        is_muted:
                          type: boolean
                        deployment:
                          type: object
                          properties:
                            id:
                              type: string
                            slug:
                              type: string
                            name:
                              type: string
                            avatar:
                              type: object
                        state:
                          type: string
                        health:
                          type: string
                        last_evaluation:
                          type: string
                        current_value:
                          type: integer
                        firing_since:
                          type:
                            - string
                            - 'null'
        '401':
          description: 'Unauthorized: Authentication failed'
          content:
            application/json:
              example:
                error: Authentication failed
        '403':
          description: >-
            Forbidden: You don't have permission to perform this action for this
            organization.
          content:
            application/json:
              example:
                error: >-
                  You don't have permission to perform this action for this
                  organisation.
        '404':
          description: 'Not found: Not found.'
          content:
            application/json:
              example:
                error: Not found.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your Simplismart Playground token, from Settings → API Key.

````

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