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

# Kling Element List

> List all custom elements created by the current user with pagination.

Retrieve a paginated list of all custom elements you have created. Each item in the returned array mirrors the structure of the single-element query response.

## Quick example

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://www.anyfast.ai/kling/v1/general/advanced-custom-elements?pageNum=1&pageSize=10" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://www.anyfast.ai/kling/v1/general/advanced-custom-elements",
      headers={"Authorization": "Bearer YOUR_API_KEY"},
      params={"pageNum": 1, "pageSize": 10}
  )

  data = response.json()
  for item in data["data"]:
      task_status = item["task_status"]
      elements = item.get("task_result", {}).get("elements", [])
      for el in elements:
          print(f"{el['element_name']} ({task_status}) — ID: {el['element_id']}")
  ```
</CodeGroup>

## Parameters

| Parameter  | Type    | Description                  |
| ---------- | ------- | ---------------------------- |
| `pageNum`  | integer | Page number, starting from 1 |
| `pageSize` | integer | Items per page               |

## Response

`data` is an array. Each element follows the same structure as the single-query response. Items with `task_status: submitted` may not yet have `task_result` populated.

<Card title="API Reference" icon="code" href="/api-reference/model-api/kuaishou/kling-element-list">
  View the interactive API playground for Kling Element List.
</Card>

<script src="/feedback.js" />
