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

# Get event details

> Get details of a specific event.



## OpenAPI

````yaml https://api.dnsradar.dev/openapi.json get /monitors/{monitor_id}/events/{event_id}
openapi: 3.0.3
info:
  title: DNSRadar API
  description: DNSRadar API - Monitor your DNS records and get notified when they change.
  version: 1.0.0
  contact:
    name: DNSRadar Support
    email: support@dnsradar.dev
    url: https://dnsradar.dev
servers:
  - url: https://api.dnsradar.dev
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Agents
    description: Team member management and invitations
  - name: Organization
    description: Organization settings, billing, and subscription management
  - name: Monitors
    description: DNS monitoring configuration and management
  - name: Events
    description: DNS change events and history
  - name: Groups
    description: Monitor grouping and organization
  - name: Webhooks
    description: Webhook configuration for event notifications
paths:
  /monitors/{monitor_id}/events/{event_id}:
    get:
      tags:
        - Events
      summary: Get event details
      description: Get details of a specific event.
      operationId: getEvent
      parameters:
        - name: monitor_id
          in: path
          required: true
          schema:
            type: string
        - name: event_id
          in: path
          required: true
          schema:
            type: string
          description: Event UUID (starts with 'evt_')
      responses:
        '200':
          description: Event details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Event'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Event:
      type: object
      description: DNS change event detected by monitoring
      properties:
        id:
          type: string
          description: Event identifier with 'evt_' prefix
          example: evt_abc123...
        monitor_id:
          type: string
          description: UUID of the associated monitor
          example: mon_abc123...
        monitor:
          type: object
          description: Monitor information associated with this event
          properties:
            domain:
              type: string
              description: Domain name to monitor
              example: example.com
            subdomain:
              type: string
              description: Subdomain to monitor (empty string for apex)
              example: www
            record_type:
              type: string
              enum:
                - A
                - AAAA
                - CNAME
                - MX
                - TXT
                - NS
                - PTR
                - SPF
                - CAA
              description: DNS record type to monitor
            expected_value:
              type: array
              items:
                type: string
              description: Expected DNS record values (up to 10)
              example:
                - 192.168.1.1
        occurred:
          type: string
          format: date-time
          description: Datetime when the event occurred in ISO 8601 format
        previous_value:
          type: array
          items:
            type: string
          nullable: true
          description: Previous DNS values
          example:
            - 192.168.1.1
        current_value:
          type: array
          items:
            type: string
          nullable: true
          description: New DNS values
          example:
            - 10.0.0.1
        old_state:
          type: string
          enum:
            - UNSET
            - VALID
            - INVALID
            - TIMEOUT
            - MISMATCH
            - NOT_FOUND
            - NO_DATA
            - BAD_SETUP
          description: Previous monitoring state
          example: MISMATCH
        new_state:
          type: string
          enum:
            - VALID
            - INVALID
            - TIMEOUT
            - MISMATCH
            - NOT_FOUND
            - NO_DATA
            - BAD_SETUP
          description: New monitoring state
          example: VALID
        incidence_count:
          type: integer
          description: Total number of incidents for the monitor.
          example: 0
    Error:
      type: object
      description: Error response
      properties:
        code:
          type: integer
          description: HTTP status code
        error:
          oneOf:
            - type: string
              description: Error message
            - type: object
              description: Validation errors by field
              additionalProperties:
                type: string
        errors:
          type: object
          description: Field-specific validation errors
          additionalProperties:
            type: string
  responses:
    UnauthorizedError:
      description: Authentication is missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: 401
            error: Unauthorized
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: 404
            error: Not found
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API key used to authenticate yourself on DNSRadar. Obtain your API key
        from your DNSRadar dashboard.

````