---
title: "Get Wayline Details"
method: GET
path: "/openapi/v2.0/wayline/{wayline_id}"
tags: ["Wayline/Wayline Management/Wayline Query", "Wayline", "device-api"]
---

# Get Wayline Details

`GET /openapi/v2.0/wayline/{wayline_id}`

## Request

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

Retrieve wayline details. You can use the `Get Wayline List Under Project` interface to obtain the wayline_id list, used as input for this interface

## Path parameters

- `wayline_id` string, required

## Headers

- `X-Request-Id` string, uuid
- `X-Language` 'zh' | 'en'
- `X-Project-Uuid` string, required
- `X-User-Token` string, required

## Response `200`

- object
  - `code` integer, required: Non-zero Indicates Exception
  - `message` string, required: Message Prompt
  - `data` object, required: Business Data
    - `id` string, required: Wayline Unique Identifier
    - `name` string, required: Wayline Name
    - `download_url` string, required: Wayline File Download Link
    - `update_time` integer, required: Updated At
    - `template_types` string[], required: Wayline Type
    - `payload_information` object[], required: Payload info list; for detailed device types refer to: https://developer.dji.com/doc
      - `domain` string: Domain
      - `type` string: Payload Type
      - `lens_type` 'wide' | 'zoom' | 'ir': Lens Type
    - `distance` number, required: Wayline Length
    - `wayline_point_nums` integer, required: Wayline Waypoint Count
    - `device_model_key` string, required: Device unique identifier, composed of domain-type-sub_type. For detailed device types, refer to: https://developer.dji.com/doc/cloud-api-tutorial/en/overview/product-support.html

## Other responses

- `400`: Invalid request parameters (incorrect format, missing required fields, etc.)
- `401`: Authentication failed (token invalid or expired)
- `403`: Insufficient permission (token does not have the corresponding permission in this project/organization)
- `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)
