---
title: "Query Flight Sortie List with AI Alerts by Device SN"
method: GET
path: "/openapi/v2.0/drc/api/v2/projects/{uuid}/ai-alert-flight"
tags: ["Flight Task/AI Flight Alert"]
---

# Query Flight Sortie List with AI Alerts by Device SN

`GET /openapi/v2.0/drc/api/v2/projects/{uuid}/ai-alert-flight`

## Request

- Base URL: `https://41b04hdzmc.apifox.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://41b04hdzmc.apifox.cn/openapi/v2.0/drc/api/v2/projects/{uuid}/ai-alert-flight`
- Auth: none required

Given an aircraft SN, query the list of flight sorties that have historically generated AI alerts for the aircraft (each returns a flight_id and corresponding alert count). Commonly used to first select an aircraft, then browse its alert flight history.

## Path parameters

- `uuid` string, required

## Query parameters

- `page` integer
- `page_size` integer
- `drone_sn` string, required
- `begin_at` integer
- `end_at` integer
- `algorithm_source` integer
- `algorithm_sources[]` string[]

## Headers

- `x-user-token` string, required
- `X-Request-Id` string, uuid
- `X-Project-Uuid` string, required

## Response `200`

Success (Raw JSON, top-level is data)

- object
  - `code` integer, required: Business Status Code: 0=Success; non-zero=Error Code (see message for meaning)
  - `message` string: Error Description Message (Omitted on Success)
  - `data` object: AI Alert Flight Sortie Paginated Data
    - `data` object[]: AI Alert Flight Sortie List
      - `flight_id` string: Flight Sortie ID
      - `count` integer: AI Alert Count Generated by This Sortie
      - `flight_task_name` string: Flight Task Name
      - `status` integer: Task Status Code
      - `flight_task_type` integer: Flight Task Type
      - `start_time` integer: Takeoff Time (Unix Seconds)
      - `is_commented` boolean: Whether This Sortie Has Been Commented / Handled
    - `total` integer: Total Count
    - `page` integer: Current Page
    - `page_size` integer: Page Size
    - `page_count` integer: Total Pages

## Other responses

- `400`: Request Parameter Format Error
- `500`: Service Exception

---

[API](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-on-premises.md) - [All operations](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-on-premises/llms.txt) - [OpenAPI document](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-on-premises/revisions/e4544b7809ea?raw)
