> ## 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.

# Get Alert

> Retrieves a specific alert by ID



## OpenAPI

````yaml /_specs/hyperdx-openapi.json get /api/v2/alerts/{id}
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/{id}:
    get:
      tags:
        - Alerts
      summary: Get Alert
      description: Retrieves a specific alert by ID
      operationId: getAlert
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Alert ID
          example: 65f5e4a3b9e77c001a123456
      responses:
        '200':
          description: Successfully retrieved alert
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
              examples:
                alertResponse:
                  summary: Single alert response
                  value:
                    data:
                      id: 65f5e4a3b9e77c001a123456
                      name: CPU Usage Alert
                      message: CPU usage is above 80%
                      threshold: 80
                      interval: 5m
                      thresholdType: above
                      source: tile
                      state: active
                      channel:
                        type: webhook
                        webhookId: 65f5e4a3b9e77c001a789012
                      team: 65f5e4a3b9e77c001a345678
                      tileId: 65f5e4a3b9e77c001a901234
                      dashboard: 65f5e4a3b9e77c001a567890
                      createdAt: '2023-03-15T10:20:30.000Z'
                      updatedAt: '2023-03-15T14:25:10.000Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Alert not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AlertResponse:
      type: object
      properties:
        data:
          $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

````