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

# 获取模型导出任务状态 - PIN API

> 按导出标识符获取 PIN 模型导出任务（gguf、mlx、mnn 或 qnn）的当前状态与产物路径。

获取导出任务的当前状态，包括其格式、进度，以及（完成后）产物路径。导出 ID 由 [创建模型导出](/api-reference/pin/models/export) 返回。

## 接口

```http theme={null}
GET /v1/exports/{id}
```

## 认证

`Authorization: Bearer <api_key or JWT>`。

## 路径参数

<ParamField path="id" type="string" required>
  导出任务标识符。
</ParamField>

## 响应

<ResponseField name="code" type="integer">
  成功时为 `0`。
</ResponseField>

<ResponseField name="data" type="object">
  导出记录，字段包括 `id`、`model_id`、`format`（`gguf` | `mlx` | `mnn` | `qnn`）、`status`（`pending` | `running` | `done` | `failed`）、`progress`、`artifact_path`、`error` 与时间戳。
</ResponseField>

## 示例

```bash theme={null}
curl https://ariapin.example.com/v1/exports/ex_0198c... \
  -H "Authorization: Bearer $ARIAPIN_API_KEY"
```

```json theme={null}
{
  "code": 0,
  "data": {
    "id": "ex_0198c...",
    "model_id": "mdl_0198a...",
    "format": "gguf",
    "status": "done",
    "artifact_path": "/artifacts/exports/ex_0198c.zip",
    "created_at": "2025-09-01T12:00:00Z"
  },
  "message": ""
}
```
