---
description: >-
  This section describes how to view the details of an import/export task by
  task ID, including its real-time status.
---

# View Import Task Details

{% hint style="info" %}
Endpoint: POST: \{{BaseUrl\}}/query-task
{% endhint %}

> Request body:

```json
{
  "taskId": "xxxx010"
}
```

> Response (Data Part):

```json
{
  "taskId": "xxxx010",
  "taskName": "The first task",
  "state": "PENDING"
}
```

**Request:**

| Parameter | Type   | Required | Description |
| --------- | ------ | -------- | ----------- |
| taskId    | STRING | YES      | Task ID     |

**Response** (Data Part)**:**

| Parameter | Type   | Description                                                                                                                                                                                                          |
| --------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| taskId    | STRING | Task ID                                                                                                                                                                                                              |
| taskName  | STRING | Task Name                                                                                                                                                                                                            |
| state     | STRING | <p>Current Status, Reference Values:</p><p>PENGDING : Processing</p><p><strong>SUCCESS</strong> : Processed successfully</p><p><strong>FAIL</strong> : Processing failed</p><p><strong>CANCEL</strong> : Deleted</p> |
