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

# List drift alerts

> Lists all drift alerts with optional filtering by device, model, status, severity, and time range



## OpenAPI

````yaml /api-spec.json get /data/drift-alerts
openapi: 3.0.0
info:
  contact:
    name: Acusight API Support
  description: >-
    Acusight platform API - custom endpoints + Portainer proxy routes for edge
    AI deployments
  title: Acusight API
  version: 1.0.0
servers:
  - url: https://acusight.io/api
    description: AcuSight Cloud (hosted)
security: []
tags:
  - name: Devices & provisioning
    description: Register, provision, and manage edge devices and their agents.
  - name: Virtual devices
    description: Create and drive simulated devices for testing and demos.
  - name: Alerts & telemetry
    description: Model alerts, alert rules, and product telemetry.
  - name: Organization
    description: Organization-level settings.
  - name: Datasets & data
    description: Projects, batches, datasets, images, annotations, and drift.
  - name: Models & training
    description: Model registry, training jobs, exports, and inference.
  - name: Pipeline data
    description: Detection time-series and aggregated pipeline analytics.
paths:
  /data/drift-alerts:
    get:
      tags:
        - Datasets & data
      summary: List drift alerts
      description: >-
        Lists all drift alerts with optional filtering by device, model, status,
        severity, and time range
      parameters:
        - description: Filter by device ID
          in: query
          name: device_id
          schema:
            type: string
        - description: Filter by model version ID
          in: query
          name: model_id
          schema:
            type: integer
        - description: Filter by project ID
          in: query
          name: project_id
          schema:
            type: integer
        - description: Filter by status (no_drift, drift_detected, acknowledged, resolved)
          in: query
          name: drift_status
          schema:
            type: string
        - description: Filter by severity (high, warning)
          in: query
          name: severity
          schema:
            type: string
        - description: Filter from timestamp (ISO8601)
          in: query
          name: from
          schema:
            type: string
        - description: Filter to timestamp (ISO8601)
          in: query
          name: to
          schema:
            type: string
        - description: Limit results (default 50)
          in: query
          name: limit
          schema:
            type: integer
        - description: Offset for pagination
          in: query
          name: offset
          schema:
            type: integer
      responses:
        '200':
          description: List of drift alerts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.APIResponse'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.APIResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.APIResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    types.APIResponse:
      properties:
        data: {}
        error:
          $ref: '#/components/schemas/types.APIError'
        meta:
          $ref: '#/components/schemas/types.APIMeta'
        success:
          type: boolean
      type: object
    types.APIError:
      properties:
        code:
          type: string
        details:
          type: string
        message:
          type: string
      type: object
    types.APIMeta:
      properties:
        count:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        total:
          type: integer
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT access token. Paste the token only; the Bearer prefix is added
        automatically.

````