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

# Get Alert

> Retrieve a single alert in OpsGenie API v2 response format.

Retrieve alert details in OpsGenie response format. The identifier can be a Warrn UUID, an alias, or a tiny ID - pass `identifierType=alias` or `identifierType=tiny` if you're not using the default UUID lookup.


## OpenAPI

````yaml GET /v2/alerts/{identifier}
openapi: 3.0.3
info:
  title: Warrn API
  version: '1.0'
  description: |
    Public REST API for Warrn. All endpoints are authenticated with an API key
    issued from Settings → API Keys in the Warrn dashboard.
servers:
  - url: https://api.warrn.io
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Alerts
    description: Native Warrn alert endpoints.
  - name: OpsGenie Compatible
    description: Drop-in OpsGenie Alert API v2 compatibility layer.
paths:
  /v2/alerts/{identifier}:
    get:
      tags:
        - OpsGenie Compatible
      summary: Get Alert (OpsGenie)
      description: >-
        Retrieve a single alert in OpsGenie response format. Supports lookup by
        alias, ID, or tiny ID.
      operationId: opsgenieGetAlert
      parameters:
        - in: path
          name: identifier
          required: true
          schema:
            type: string
        - in: query
          name: identifierType
          schema:
            type: string
            enum:
              - id
              - alias
              - tiny
            default: id
      responses:
        '200':
          description: OpsGenie-formatted alert
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpsgenieAlertResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    OpsgenieAlertResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/OpsgenieAlertData'
        requestId:
          type: string
          format: uuid
    OpsgenieAlertData:
      type: object
      properties:
        id:
          type: string
          format: uuid
        tinyId:
          type: string
        alias:
          type: string
        message:
          type: string
        status:
          type: string
          enum:
            - open
            - acknowledged
            - closed
        priority:
          type: string
          enum:
            - P1
            - P2
            - P3
            - P4
            - P5
        tags:
          type: array
          items:
            type: string
        teams:
          type: array
          items:
            $ref: '#/components/schemas/OpsgenieResponder'
    OpsgenieResponder:
      type: object
      properties:
        type:
          type: string
          enum:
            - team
            - user
        name:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Unauthorized
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: warrn_xxx
      description: Bearer token using your Warrn API key.

````