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

# 캐릭터 에셋 목록 조회

> 인증된 CometAPI 계정에 속한 에셋을 나열하고 그룹 또는 처리 상태로 필터링합니다.

인증된 계정에 속한 에셋을 조회합니다. `Authorization` 헤더에는 `Bearer` 접두사 없이 액세스 토큰을 그대로 전달합니다.

```bash theme={null}
curl \
  "https://api.cometapi.com/api/asset/assets?group_id=<GROUP_ID>&status=active" \
  -H "Authorization: $COMETAPI_ACCESS_TOKEN"
```

## 쿼리 매개변수

| 매개변수 | 설명 |
| - | - |
| `group_id` | 선택 사항인 그룹 ID 필터입니다. |
| `status` | 선택 사항인 상태 필터입니다. `processing`, `active` 또는 `failed`를 사용합니다. |

응답은 일치하는 에셋을 `data`에 반환합니다. 상태가 `active`가 된 후 `asset://<ASSET_ID>` 형식으로 에셋 ID를 사용하세요.


## OpenAPI

````yaml api/openapi/video/seedance/get-list-character-assets.openapi.json GET /api/asset/assets
openapi: 3.1.0
info:
  title: List character assets API
  version: 1.0.0
  description: List character assets that belong to the authenticated CometAPI account.
servers:
  - url: https://api.cometapi.com
security:
  - accessTokenAuth: []
paths:
  /api/asset/assets:
    get:
      summary: List character assets
      description: >-
        List assets that belong to the authenticated account. Filter by group or
        processing status.
      operationId: seedance_list_character_assets
      parameters:
        - name: group_id
          in: query
          required: false
          schema:
            type: string
          description: Filter by group ID.
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - processing
              - active
              - failed
          description: Filter by asset status.
      responses:
        '200':
          description: Character assets returned.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - message
                  - data
                properties:
                  success:
                    type: boolean
                    description: Whether the request succeeded.
                  message:
                    type: string
                    description: Status or error message.
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AssetView'
                    description: Array of matching records.
              examples:
                success:
                  summary: Successful response
                  value:
                    success: true
                    message: ''
                    data: {}
        '401':
          description: The access token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: unauthorized
      x-codeSamples:
        - lang: Shell
          label: Character asset request
          source: |-
            curl \
              "https://api.cometapi.com/api/asset/assets?group_id=<GROUP_ID>&status=active" \
              -H "Authorization: $COMETAPI_ACCESS_TOKEN"
        - lang: Python
          label: Character asset request
          source: |
            import os
            import requests

            response = requests.get(
                "https://api.cometapi.com/api/asset/assets",
                headers={"Authorization": os.environ["COMETAPI_ACCESS_TOKEN"]},
                timeout=30,
            )
            response.raise_for_status()
            print(response.json())
        - lang: JavaScript
          label: Character asset request
          source: |
            const response = await fetch(
              "https://api.cometapi.com/api/asset/assets",
              { headers: { Authorization: process.env.COMETAPI_ACCESS_TOKEN } },
            );

            if (!response.ok) throw new Error(await response.text());
            console.log(await response.json());
components:
  schemas:
    AssetView:
      type: object
      required:
        - id
        - group_id
        - asset_type
        - status
        - created_at
      properties:
        id:
          type: string
          description: CometAPI asset ID.
          example: as-example
        group_id:
          type: string
          description: Owning group ID.
          example: ag-example
        name:
          type: string
          description: Optional asset name.
        asset_type:
          type: string
          enum:
            - image
            - video
            - audio
          description: Asset media type.
        status:
          type: string
          enum:
            - processing
            - active
            - failed
          description: Asset processing status.
        fail_reason:
          type: string
          description: Sanitized failure reason when processing fails.
        created_at:
          type: integer
          description: Creation time as a Unix timestamp in seconds.
    ErrorResponse:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          description: Whether the request succeeded.
        message:
          type: string
          description: Description of the request error.
        data:
          type:
            - object
            - array
            - 'null'
          description: Error details when returned.
      additionalProperties: true
  securitySchemes:
    accessTokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Raw CometAPI access token. Do not prefix it with Bearer.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.