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

# SD2 Manxue: Batch Query Asset Moderation Review Status

> Batch query moderation review status for SD2 Manxue assets by asset ID. Poll until status is Active before using assets in generation tasks.

Use this endpoint to check the moderation review status of assets you submitted to SD2 Manxue. An asset must show `Active` status before you can use it with the `asset://` reference format in video generation tasks.

**Base URL:** `https://zcbservice.aizfw.cn/kyyReactApiServer`

**Endpoint:** `POST /asset/sd2Manxue/assetStatus`

***

## Request Parameters

<ParamField body="assetIds" type="array" required>
  A list of asset IDs to query. These are the IDs returned in `data.items[].assetId` from the [Submit Assets](/api-reference/assets/sd2-manxue-asset-upload) endpoint.

  Example: `["asset_img_001", "asset_video_001"]`
</ParamField>

***

## Response Fields

<ResponseField name="code" type="string">
  Response status code. `"0"` indicates success; any other value indicates failure.
</ResponseField>

<ResponseField name="msg" type="string">
  Response message. Returns `null` on success, or an error description on failure.
</ResponseField>

<ResponseField name="data" type="object">
  The response data object, returned on success.

  <Expandable title="data object properties">
    <ResponseField name="data.items" type="array">
      Status results for each asset that was successfully queried.

      <Expandable title="items[] properties">
        <ResponseField name="data.items[].assetId" type="string">
          The asset ID that was queried.
        </ResponseField>

        <ResponseField name="data.items[].status" type="string">
          The current moderation review status of the asset. See [Asset Status Values](#asset-status-values) below.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="data.failedItems" type="array">
      A list of asset IDs that could not be queried. May be empty if all queries succeeded.

      <Expandable title="failedItems[] properties">
        <ResponseField name="data.failedItems[].assetId" type="string">
          The asset ID that failed to be queried.
        </ResponseField>

        <ResponseField name="data.failedItems[].errorMessage" type="string">
          A description of why the query failed for this asset.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

***

## Asset Status Values

| Status       | Meaning                                                                     |
| ------------ | --------------------------------------------------------------------------- |
| `Processing` | The asset is currently under moderation review and is not yet ready to use. |
| `Active`     | The asset has been approved and is ready to use in generation tasks.        |
| `Failed`     | Moderation review failed. This asset cannot be used in generation tasks.    |

***

## Example Request

```bash theme={null}
curl -X POST https://zcbservice.aizfw.cn/kyyReactApiServer/asset/sd2Manxue/assetStatus \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assetIds": ["asset_img_001", "asset_video_001"]}'
```

**Response with mixed statuses:**

```json theme={null}
{
  "code": "0",
  "msg": null,
  "data": {
    "items": [
      {
        "assetId": "asset_img_001",
        "status": "Active"
      },
      {
        "assetId": "asset_video_001",
        "status": "Processing"
      }
    ],
    "failedItems": []
  }
}
```

In this example, `asset_img_001` has passed review and is ready to use, while `asset_video_001` is still under review. Continue polling until all required assets reach `Active`.

<Tip>
  Once an asset shows `Active` status, reference it in your generation task using `asset://{assetId}` in the appropriate parameter — `referenceImages`, `referenceVideos`, or `referenceAudios` — depending on the asset type.
</Tip>
