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

# 任务查询

* 查询异步任务状态
* 常用于图像、视频和素材审核任务

<ParamField path="task_id" type="string" required>
  任务 ID。
</ParamField>

<RequestExample>
  ```bash cURL theme={null} theme={null}
  curl --request GET \
    --url 'https://xcompute.us/v1/tasks/YOUR_TASK_ID?language=zh' \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null} theme={null}
  {
    "id": "task_01JNXXXXXXXXXXXXXXXXXX",
    "status": "completed",
    "progress": 100
  }
  ```
</ResponseExample>
