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

# Query Multiple Tasks Interface

### Request Information

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

### Request Headers

| Field         | Value                   | Description                                     |
| ------------- | ----------------------- | ----------------------------------------------- |
| Authorization | Bearer `{your api key}` | Replace `{your api key}` with your Bearer token |

### Query Parameters

| Parameter Name | Type | Required | Description                     |
| -------------- | ---- | -------- | ------------------------------- |
| startTime      | Long | Yes      | Query start time (milliseconds) |
| endTime        | Long | Yes      | Query end time (milliseconds)   |

### Request Example

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

### Response Body

| Field              | Type   | Description                                                          |
| ------------------ | ------ | -------------------------------------------------------------------- |
| code               | String | Status code. 200 for success. See error codes table for other values |
| message            | String | Log message                                                          |
| data               | Array  | List of tasks                                                        |
| data\[].taskUUID   | String | Task ID                                                              |
| data\[].taskStatus | String | Task status: queued / running / succeeded / failed                   |
| data\[].model      | String | Model name                                                           |
| data\[].credit     | Int    | Credits consumed                                                     |
| data\[].createdAt  | String | Creation time (ISO 8601 format)                                      |

### Response Example

```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"
    }
  ]
}
```
