---
title: "Get Model File Download Link"
method: GET
path: "/openapi/v2.0/model/download-url/{file_id}"
tags: ["Model Reconstruction"]
---

# Get Model File Download Link

`GET /openapi/v2.0/model/download-url/{file_id}`

## Request

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

If the returned url is empty, the model is still being compressed; please retry after 1 minute. Larger models may take longer

## Path parameters

- `file_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`

Returns download URL on success

- object
  - `code` integer, required: Non-zero Indicates Exception
  - `message` string, required: Message Prompt
  - `data` object, required: Business data, model file download info
    - `url` string, required: Model file download link; empty means the model is still being compressed
    - `id` integer, required: Model File ID

## 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)
