---
title: "Get Export History"
method: GET
path: "/openapi/v2.0/flight-task/export"
tags: ["Flight Task/Flight Record", "Flight Task/Flight Record/Flight Record"]
---

# Get Export History

`GET /openapi/v2.0/flight-task/export`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/openapi/v2.0/flight-task/export`
- Auth: none required

Query flight record export history; if export_id is not provided, returns a paginated list; if export_id is provided, used to poll a single export's progress

## Query parameters

- `page` integer
- `page_size` integer
- `content_type` 'summary' | 'details'
- `status` 'export_in_progress' | 'export_complete' | 'export_failed'
- `export_id` string

## Headers

- `X-User-Token` string, required
- `X-Project-Uuid` string, required
- `X-Request-Id` string
- `X-Language` string

## Response `200`

Success

- object
  - `code` integer: Business status code, 0 means success
  - `message` string: Business Message
  - `data` object: Paginated Export History Result
    - `pagination` object: Pagination info (returned when no export_id is provided)
      - `page` integer: Current Page
      - `page_size` integer: Records Per Page
      - `total` integer: Total Records
    - `list` object[]: Export record list. When export_id is provided, the list contains only that record (used for polling progress)
      - `uuid` string: Export task unique ID (can be used to poll progress)
      - `created_at` string, date-time: Created At
      - `export_time` string, date-time: Export completion time (null when not completed)
      - `content_type` string: Export content type: summary – flight summary; details – flight details
      - `export_status` 'export_in_progress' | 'export_complete' | 'export_failed': Export status: export_in_progress = exporting; export_complete = export completed; export_failed = export failed
      - `progress` integer: Export Progress (0-100)
      - `file_name` string: Export File Name
      - `file_type` string[]: File format list, e.g., ["PDF"], ["Excel"]
      - `object_key` string: OSS object key, can be used to get download URL
      - `user_name` string: Username Who Created the Export Task
      - `failed_reason_code` integer: Failure reason code (effective when export_status=export_failed)

## Other responses

- `401`: Login Expired
- `404`: export_id does not exist
- `500`: Server Internal Error

---

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