> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8a08bda2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Alerts

> Retrieves a list of all alerts for the authenticated team



## OpenAPI

````yaml /_specs/hyperdx-openapi.json get /api/v2/alerts
openapi: 3.0.0
info:
  title: HyperDX External API
  description: API for managing HyperDX alerts and dashboards
  version: 2.0.0
servers:
  - url: https://api.hyperdx.io
    description: Production API server
  - url: /
    description: Current server
security:
  - BearerAuth: []
tags:
  - name: Dashboards
    description: Endpoints for managing dashboards and their visualizations
  - name: Alerts
    description: Endpoints for managing monitoring alerts
paths:
  /api/v2/alerts:
    get:
      tags:
        - Alerts
      summary: List Alerts
      description: Retrieves a list of all alerts for the authenticated team
      operationId: listAlerts
      responses:
        '200':
          description: Successfully retrieved alerts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertsListResponse'
              examples:
                alertsList:
                  summary: List of alerts
                  value:
                    data:
                      - id: 65f5e4a3b9e77c001a123456
                        name: High Error Rate
                        message: Error rate exceeds threshold
                        threshold: 100
                        interval: 15m
                        thresholdType: above
                        source: tile
                        state: inactive
                        channel:
                          type: webhook
                          webhookId: 65f5e4a3b9e77c001a789012
                        team: 65f5e4a3b9e77c001a345678
                        tileId: 65f5e4a3b9e77c001a901234
                        dashboard: 65f5e4a3b9e77c001a567890
                        createdAt: '2023-01-01T00:00:00.000Z'
                        updatedAt: '2023-01-01T00:00:00.000Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Unauthorized access. API key is missing or invalid.
components:
  schemas:
    AlertsListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Alert'
    Error:
      type: object
      properties:
        message:
          type: string
    Alert:
      type: object
      properties:
        id:
          type: string
          example: 65f5e4a3b9e77c001a123456
        name:
          type: string
          example: High Error Rate
        message:
          type: string
          example: Error rate exceeds threshold
        threshold:
          type: number
          example: 100
        interval:
          type: string
          example: 15m
        thresholdType:
          type: string
          enum:
            - above
            - below
          example: above
        source:
          type: string
          enum:
            - tile
            - search
          example: tile
        state:
          type: string
          example: inactive
        channel:
          type: object
          properties:
            type:
              type: string
              example: webhook
            webhookId:
              type: string
              example: 65f5e4a3b9e77c001a789012
        team:
          type: string
          example: 65f5e4a3b9e77c001a345678
        tileId:
          type: string
          example: 65f5e4a3b9e77c001a901234
        dashboard:
          type: string
          example: 65f5e4a3b9e77c001a567890
        savedSearch:
          type: string
          nullable: true
        groupBy:
          type: string
          nullable: true
        silenced:
          type: boolean
          nullable: true
        createdAt:
          type: string
          format: date-time
          example: '2023-01-01T00:00:00.000Z'
        updatedAt:
          type: string
          format: date-time
          example: '2023-01-01T00:00:00.000Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````