# Hands\&Feet Repair Query API Reference

<mark style="color:green;">`POST/GET`</mark>`/ai/hand-foot/repair-results`

Description：You can use the task ID obtained from the Hand-foot Repair submit API to query the generation results.

### Request Parameters <a href="#io52v" id="io52v"></a>

| Parameter | Parameter | Parameter | Parameter                                                          |
| --------- | --------- | --------- | ------------------------------------------------------------------ |
| taskId    | String    | Yes       | The unique task ID. You can query the result according to task id. |

### Response Parameters <a href="#mxkya" id="mxkya"></a>

#### **Top-Level Fields**

| **Field Name** | **Type** | **Description**                                       |
| -------------- | -------- | ----------------------------------------------------- |
| code           | String   | Status code, 0 indicates success                      |
| request\_id    | String   | Unique request identifier used for tracking           |
| \_trace\_id\_  | String   | Internal trace ID for debugging                       |
| data           | Object   | Main business data containing task and result details |

***

#### **data Fields**

| **Field Name** | **Type** | **Description**                                  |
| -------------- | -------- | ------------------------------------------------ |
| usage          | Number   | Usage count related to this response, fixed as 0 |
| taskId         | String   | Unique task identifier assigned to the task      |
| taskStatus     | String   | Current status of the task (e.g., finished)      |
| taskResult     | Array    | List of detailed results for this task           |

***

#### **taskResult Array Fields (Each Item)**

| **Field Name** | **Type** | **Description**                                                    |
| -------------- | -------- | ------------------------------------------------------------------ |
| usage          | Number   | Usage count related to this specific task result                   |
| requestBizId   | String   | Business-specific request ID (empty in this case)                  |
| taskStatus     | String   | Status of the specific task result (e.g., finished)                |
| taskResult     | String   | JSON-encoded string containing detailed task result (parsed below) |
| usageMap       | String   | JSON string representing usage statistics (e.g., {"usage": 4})     |

***

#### **Parsed taskResult (JSON Object)**

| **Field Name** | **Type** | **Description**                                                |
| -------------- | -------- | -------------------------------------------------------------- |
| data           | Object   | Contains information about the task result                     |
| ├ message      | Array    | Empty message array related to the task                        |
| ├ usageMap     | String   | JSON string representing a usage map (e.g., {"usage": 4})      |
| ├ structData   | Object   | Detailed result information (parsed further below)             |
| └ success      | Boolean  | Indicates if the task was completed successfully (true)        |
| requestId      | String   | Unique identifier for this particular sub-request (21011ad...) |

***

#### **structData Fields**

| **Field Name** | **Type** | **Description**                                                |
| -------------- | -------- | -------------------------------------------------------------- |
| code           | String   | Status code indicating success (e.g., 200)                     |
| data           | Array    | Array of generated image URLs (examples listed below)          |
| message        | String   | Status message indicating success (e.g., success)              |
| usageMap       | String   | JSON string with additional usage details (e.g., {"usage": 4}) |

### Sample Response

```json
{
    "data": {
        "usage": 0,
        "taskId": "06f836d7-b12c-4686-a87b-0966fc4a2d7d",
        "taskStatus": "finished",
        "taskResult": [
            {
                "usage": 1,
                "requestBizId": "",
                "taskStatus": "finished",
                "taskResult": "{\"result\":\"{\\\"data\\\":{\\\"message\\\":[],\\\"usageMap\\\":\\\"{\\\\\\\"usage\\\\\\\":4}\\\",\\\"structData\\\":{\\\"code\\\":\\\"200\\\",\\\"data\\\":[\\\"https://aib-image.oss-ap-southeast-1.aliyuncs.com/body_restoration_result%2Ftest001%2Ftest001_20250904120435723.png?OSSAccessKeyId=LTAI5tSEGjGp5wixZgHLc3bV&Expires=4973630675&Signature=huoKygQbb7ym2%2BGposfZ%2BmGhwLs%3D\\\",\\\"https://aib-image.oss-ap-southeast-1.aliyuncs.com/body_restoration_result%2Ftest001%2Ftest001_20250904120435788.png?OSSAccessKeyId=LTAI5tSEGjGp5wixZgHLc3bV&Expires=4973630675&Signature=0LMq2OW5IwwnWJOYWJzoWU35CIA%3D\\\",\\\"https://aib-image.oss-ap-southeast-1.aliyuncs.com/body_restoration_result%2Ftest001%2Ftest001_20250904120435874.png?OSSAccessKeyId=LTAI5tSEGjGp5wixZgHLc3bV&Expires=4973630675&Signature=iTsSUyco5ESi2qE8J7znrUajygA%3D\\\",\\\"https://aib-image.oss-ap-southeast-1.aliyuncs.com/body_restoration_result%2Ftest001%2Ftest001_20250904120435929.png?OSSAccessKeyId=LTAI5tSEGjGp5wixZgHLc3bV&Expires=4973630675&Signature=IaaRpMTipPB%2BXK4lXmdoB6SjhzU%3D\\\"],\\\"message\\\":\\\"success\\\",\\\"usageMap\\\":\\\"{\\\\\\\"usage\\\\\\\": 4}\\\"}},\\\"success\\\":true,\\\"requestId\\\":\\\"21011ad517569586762002055d1020\\\"}\",\"usage\":1,\"usageMap\":\"{\\\"usage\\\":4}\"}"
            }
        ]
    },
    "code": "0",
    "request_id": "2102e47617569586773697613",
    "_trace_id_": "21059dbe17569586772376150e66db"
}json
```
