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

# Resolve Alert

> Mark an alert as resolved. Sets the status to `resolved` and records the resolution timestamp.

Looks up the alert by UUID by default. Pass `identifierType=alias` to look up by the `alert_alias` set at creation time instead. Only matches alerts currently `open` or `acknowledged`; resolved alerts are not matched.




## OpenAPI

````yaml /openapi.yaml post /alerts/{identifier}/resolve/
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:
  /alerts/{identifier}/resolve/:
    post:
      tags:
        - Alerts
      summary: Resolve Alert
      description: >
        Mark an alert as resolved. Sets the status to `resolved` and records the
        resolution timestamp.


        Looks up the alert by UUID by default. Pass `identifierType=alias` to
        look up by the `alert_alias` set at creation time instead. Only matches
        alerts currently `open` or `acknowledged`; resolved alerts are not
        matched.
      operationId: resolveAlert
      parameters:
        - in: path
          name: identifier
          required: true
          schema:
            type: string
          description: Alert UUID, or the `alert_alias` when `identifierType=alias`.
        - in: query
          name: identifierType
          schema:
            type: string
            enum:
              - id
              - alias
            default: id
      responses:
        '200':
          description: Resolved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alert'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Alert:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        severity:
          $ref: '#/components/schemas/Severity'
        status:
          $ref: '#/components/schemas/AlertStatus'
        source:
          type: string
          example: integration
        service_id:
          type: string
          format: uuid
          nullable: true
        service_name:
          type: string
          nullable: true
        team_id:
          type: string
          format: uuid
          nullable: true
        team_name:
          type: string
          nullable: true
        tags:
          type: array
          items:
            type: string
        metadata:
          type: object
          additionalProperties: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        acknowledged_at:
          type: string
          format: date-time
          nullable: true
        resolved_at:
          type: string
          format: date-time
          nullable: true
        alert_alias:
          type: string
          nullable: true
        occurrence_count:
          type: integer
    Severity:
      type: string
      enum:
        - low
        - medium
        - high
        - critical
    AlertStatus:
      type: string
      enum:
        - open
        - acknowledged
        - resolved
  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.

````