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

# Get domain anomalies

> Retrieve anomalies detected for a specific domain



## OpenAPI

````yaml openapi.yaml get /v2/domains/{domainId}/anomalies
openapi: 3.0.3
info:
  title: PulseGuard API
  description: >
    Comprehensive monitoring and management API for domains, devices, services,
    and network utilities.


    ## Authentication


    PulseGuard API uses different authentication methods depending on the
    endpoint:


    - **Bearer Token**: Most API endpoints require a valid API token passed in
    the Authorization header

    - **Agent Authentication**: Device agent endpoints use device-specific
    tokens

    - **Public Access**: Some endpoints like domain checking and downloads are
    publicly accessible


    ## Rate Limiting


    API requests are rate-limited per user and endpoint. Rate limits vary by
    subscription plan.


    ## Plan Requirements


    Certain API endpoints require specific subscription plans:

    - **Expert Plan**: Full API v1 access with advanced features

    - **Reports Plan**: Access to comprehensive reporting data

    - **Free/Pro Plans**: Basic monitoring with limited API access


    ## Base URL


    **Production**: `https://api.ipulse.one`


    ## Support


    For API support, visit our [documentation](https://docs.ipulse.one) or
    contact us at info@ipulse.one.
  version: 1.0.0
  contact:
    name: PulseGuard Support
    url: https://docs.ipulse.one
    email: info@ipulse.one
  license:
    name: Proprietary
    url: https://ipulse.one/terms
servers:
  - url: https://api.ipulse.one
    description: Production server
security:
  - bearerAuth: []
  - agentAuth: []
tags:
  - name: Authentication
    description: User authentication and account management
  - name: Domains
    description: Domain monitoring and management (Expert Plan required)
  - name: Devices
    description: Device monitoring and management (Expert Plan required)
  - name: Service Monitors
    description: Service monitoring endpoints (Expert Plan required)
  - name: Toolbox
    description: Network utility tools (Expert Plan required)
  - name: Statistics
    description: Analytics and statistics (Expert Plan required)
  - name: AI & Anomalies
    description: AI-powered anomaly detection and management
  - name: Reports
    description: Comprehensive reporting (Reports Plan required)
  - name: Public
    description: Publicly accessible endpoints
paths:
  /v2/domains/{domainId}/anomalies:
    get:
      tags:
        - AI & Anomalies
      summary: Get domain anomalies
      description: Retrieve anomalies detected for a specific domain
      parameters:
        - in: path
          name: domainId
          required: true
          schema:
            type: integer
          description: Domain ID
        - in: query
          name: status
          schema:
            type: string
            enum:
              - open
              - resolved
              - false_positive
          description: Filter by anomaly status
        - in: query
          name: severity
          schema:
            type: string
            enum:
              - low
              - medium
              - high
              - critical
          description: Filter by severity level
      responses:
        '200':
          description: Domain anomalies retrieved successfully
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Success'
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/Anomaly'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Success:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
          description: Success message
        data:
          oneOf:
            - type: object
              description: Response data as object
            - type: array
              description: Response data as array
      required:
        - success
        - message
    Anomaly:
      type: object
      properties:
        id:
          type: integer
          description: Unique identifier for the anomaly
        domain_id:
          type: integer
          description: Associated domain ID
        type:
          type: string
          enum:
            - response_time
            - uptime
            - security
            - ssl
          description: Type of anomaly detected
        severity:
          type: string
          enum:
            - low
            - medium
            - high
            - critical
          description: Severity level
        title:
          type: string
          description: Anomaly title
        description:
          type: string
          description: Detailed description
        status:
          type: string
          enum:
            - open
            - resolved
            - false_positive
          description: Current anomaly status
        detected_at:
          type: string
          format: date-time
        resolved_at:
          type: string
          format: date-time
          nullable: true
      required:
        - id
        - domain_id
        - type
        - severity
        - title
        - status
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          description: Error message
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Validation errors (if applicable)
      required:
        - success
        - message
  responses:
    Unauthorized:
      description: Unauthorized - Invalid or missing API token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            message: Unauthenticated.
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            message: Resource not found.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: token
      description: API token generated from your PulseGuard dashboard
    agentAuth:
      type: http
      scheme: bearer
      bearerFormat: token
      description: Device agent authentication token

````