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

# 查询多任务接口

### 请求信息

* **方法**: GET
* **URL**: `https://api.superaiglobal.com/v1/queryTasks/creations`

### 请求头

| 字段            | 值                       | 描述                                    |
| ------------- | ----------------------- | ------------------------------------- |
| Authorization | Bearer `{your api key}` | 将 `{your api key}` 替换为您的 Bearer token |

### 查询参数

| 参数名称      | 类型   | 是否必填 | 描述          |
| --------- | ---- | ---- | ----------- |
| startTime | Long | 是    | 查询开始时间戳（毫秒） |
| endTime   | Long | 是    | 查询结束时间戳（毫秒） |

### 请求示例

```bash theme={null}
curl --request GET 'https://api.superaiglobal.com/v1/queryTasks/creations?startTime=1741708800000&endTime=1741795199000' \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

### 响应体

| 字段                 | 类型     | 描述                                                       |
| :----------------- | :----- | :------------------------------------------------------- |
| code               | String | 状态码，200 表示成功，异常情况见错误码列表                                  |
| message            | String | 日志信息                                                     |
| data               | Array  | 任务列表                                                     |
| data\[].taskUUID   | String | 任务 ID                                                    |
| data\[].taskStatus | String | 处理状态：queued 排队中 / running 处理中 / succeeded 成功 / failed 失败 |
| data\[].model      | String | 模型名称                                                     |
| data\[].credit     | Int    | 消耗积分                                                     |
| data\[].createdAt  | String | 创建时间（ISO 8601 格式）                                        |

### 响应示例

```json theme={null}
{
  "code": "200",
  "message": "success",
  "data": [
    {
      "taskUUID": "9d4d6d7f-2d0c-4f14-9d1f-9c1d7c7a1111",
      "taskStatus": "succeeded",
      "model": "Veo@3.1:Normal",
      "credit": 12,
      "createdAt": "2026-03-12T10:00:00"
    },
    {
      "taskUUID": "52b2f57d-43f2-4a5e-b25e-2e8f8a4d2222",
      "taskStatus": "running",
      "model": "Veo@3.1:Normal",
      "credit": 12,
      "createdAt": "2026-03-12T09:30:00"
    }
  ]
}
```
