> ## 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.

# List character asset groups

> List the character asset groups that belong to the authenticated CometAPI account. Filter groups by type or status.

List groups that belong to the authenticated account. Send the raw access token in the `Authorization` header without a `Bearer` prefix.

```bash theme={null}
curl \
  "https://api.cometapi.com/api/asset/groups?type=virtual&status=active" \
  -H "Authorization: $COMETAPI_ACCESS_TOKEN"
```

## Query parameters

| Parameter | Description |
| - | - |
| `type` | Optional group type filter. Use `virtual` or `real`. |
| `status` | Optional status filter. Use `pending`, `active`, or `expired`. |

The response returns the groups in `data`. Each item includes `id`, `name`, `group_type`, `status`, and `created_at`. Pending real-person groups also include `liveness` details.

Use [Retrieve a character asset group](https://apidoc.cometapi.com/api/video/seedance/get-character-asset-group.md) to read one group by ID.


## OpenAPI

````yaml api/openapi/video/seedance/get-list-character-asset-groups.openapi.json GET /api/asset/groups
openapi: 3.1.0
info:
  title: List character asset groups API
  version: 1.0.0
  description: >-
    List character asset groups that belong to the authenticated CometAPI
    account.
servers:
  - url: https://api.cometapi.com
security:
  - accessTokenAuth: []
paths:
  /api/asset/groups:
    get:
      summary: List character asset groups
      description: >-
        List groups that belong to the authenticated account. Filter by group
        type or status.
      operationId: seedance_list_character_asset_groups
      parameters:
        - name: type
          in: query
          required: false
          schema:
            type: string
            enum:
              - virtual
              - real
          description: Filter by group type.
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - pending
              - active
              - expired
          description: Filter by group status.
      responses:
        '200':
          description: Character asset groups 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/GroupView'
                    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/groups?type=virtual&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/groups",
                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/groups",
              { headers: { Authorization: process.env.COMETAPI_ACCESS_TOKEN } },
            );

            if (!response.ok) throw new Error(await response.text());
            console.log(await response.json());
components:
  schemas:
    GroupView:
      type: object
      required:
        - id
        - name
        - group_type
        - status
        - created_at
      properties:
        id:
          type: string
          description: CometAPI group ID.
          example: ag-example
        name:
          type: string
          description: Group name.
          example: my-character
        group_type:
          type: string
          enum:
            - virtual
            - real
          description: Character type.
        status:
          type: string
          enum:
            - pending
            - active
            - expired
          description: Group status.
        created_at:
          type: integer
          description: Creation time as a Unix timestamp in seconds.
        liveness:
          type: object
          description: Present for a pending real-person group.
          properties:
            platform_wrapper_url:
              type: string
              format: uri
              description: Signed verification URL.
            activated:
              type: boolean
              description: Whether a verification session is active.
            hint:
              type: string
              description: Optional action hint.
          required:
            - platform_wrapper_url
            - activated
    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.