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

# Query Asset

> Query Seedance asset import status and details using `POST /v1/seedance/asset/GetAsset`.

# Query Asset

Query asset processing progress and details based on the `task_id` returned by [Upload Asset](./asset-create-media).

## Method and Path

```http theme={null}
POST /v1/seedance/asset/GetAsset
```

## Request Example

<CodeGroup>
  ```bash theme={null}
  curl -X POST https://octopusx.ai/v1/seedance/asset/GetAsset \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{
      "task_id": "task_xxxx"
    }'
  ```

  ```python theme={null}
  import requests

  resp = requests.post(
      "https://octopusx.ai/v1/seedance/asset/GetAsset",
      headers={
          "Authorization": "Bearer YOUR_API_KEY",
          "Content-Type": "application/json",
          "Accept": "application/json",
      },
      json={"task_id": "task_xxxx"},
      timeout=30,
  )
  print(resp.json())
  ```
</CodeGroup>

## Response Example

<ResponseExample>
  ```json 200 theme={null}
  {
    "state": 1,
    "data": {
      "Id": "asset-xxx",
      "Name": "child",
      "URL": "https://example.com/processed.webp",
      "AssetType": "Image",
      "GroupId": "group-20260415111540-w9pkb",
      "Status": "Active",
      "CreateTime": "2026-04-15T11:15:40Z",
      "UpdateTime": "2026-04-15T11:16:02Z",
      "Error": null
    },
    "error": null
  }
  ```

  ```json 401 theme={null}
  {
    "error": {
      "code": "Unauthorized",
      "message": "Invalid API key provided",
      "type": "new_api_error"
    }
  }
  ```

  ```json 403 theme={null}
  {
    "error": {
      "code": "Forbidden",
      "message": "access denied",
      "type": "new_api_error"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "code": "NotFound",
      "message": "task not found",
      "type": "new_api_error"
    }
  }
  ```

  ```json 429 theme={null}
  {
    "error": {
      "code": "RateLimitExceeded",
      "message": "Current request rate is too high, please try again later",
      "type": "new_api_error"
    }
  }
  ```

  ```json 500 theme={null}
  {
    "error": {
      "code": "InternalError",
      "message": "internal server error",
      "type": "new_api_error"
    }
  }
  ```
</ResponseExample>

## Authentication

```http theme={null}
Authorization: Bearer YOUR_API_KEY
```

## Body

<ParamField body="task_id" type="string" required>
  The task ID returned when uploading the asset.
</ParamField>

## Response

<ResponseField name="data.Id" type="string">
  Asset ID.
</ResponseField>

<ResponseField name="data.Name" type="string">
  Asset name.
</ResponseField>

<ResponseField name="data.URL" type="string">
  Asset URL.
</ResponseField>

<ResponseField name="data.AssetType" type="string">
  Asset type: `Image`, `Video`, `Audio`.
</ResponseField>

<ResponseField name="data.GroupId" type="string">
  ID of the asset group it belongs to.
</ResponseField>

<ResponseField name="data.Status" type="string">
  Asset status: `Processing` (processing), `Active` (available for video generation), `Failed` (failed).
</ResponseField>

<ResponseField name="data.Error" type="string | null">
  Error message when the asset fails.
</ResponseField>

## Related Pages

* [Seedance-2 Overview](./overview)
* [Create Asset Group](./asset-create-group)
* [Upload Asset](./asset-create-media)
* [Create Video](./generation)
