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

# Eine Zeichen-Asset-Gruppe abrufen

> Eine Zeichen-Asset-Gruppe abrufen per ID ab und lesen Sie ihren Status oder den Link zur Prüfung einer echten Person.

Rufen Sie eine Gruppe des authentifizierten Kontos ab. Senden Sie das rohe Access-Token im Header `Authorization` ohne Präfix `Bearer`.

```bash theme={null}
curl \
  https://api.cometapi.com/api/asset/groups/<GROUP_ID> \
  -H "Authorization: $COMETAPI_ACCESS_TOKEN"
```

Lesen Sie vor dem Hochladen `data.status`. Verwenden Sie `active`-Gruppen. Eine ausstehende Gruppe für echte Personen enthält `data.liveness.platform_wrapper_url`, eine signierte URL für den Prüfablauf.

| Feld | Beschreibung |
| - | - |
| `data.id` | Group ID. |
| `data.group_type` | `virtual` or `real`. |
| `data.status` | `pending`, `active`, or `expired`. |
| `data.liveness.platform_wrapper_url` | Signierte Prüf-URL für eine ausstehende Gruppe einer echten Person. |
| `data.liveness.activated` | Ob die Prüfungssitzung aktiv ist. |
| `data.liveness.hint` | Optionaler vom Gruppendienst zurückgegebener Hinweis. |

Fragen Sie diesen Endpunkt nach der Prüfung für echte Personen ab, bis `data.status=active` ist, und verwenden Sie dann [Ein Zeichen-Asset hochladen](https://apidoc.cometapi.com/de/api/video/seedance/upload-character-asset.md).


## OpenAPI

````yaml api/openapi/video/seedance/get-character-asset-group.openapi.json GET /api/asset/groups/{id}
openapi: 3.1.0
info:
  title: Retrieve character asset group API
  version: 1.0.0
  description: Retrieve a CometAPI character asset group by ID.
servers:
  - url: https://api.cometapi.com
security:
  - accessTokenAuth: []
paths:
  /api/asset/groups/{id}:
    get:
      summary: Retrieve a character asset group
      description: >-
        Read a group that belongs to the authenticated account. Pending
        real-person groups include a signed verification URL.
      operationId: seedance_get_character_asset_group
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: CometAPI group ID.
          example: ag-example
      responses:
        '200':
          description: Character asset group 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:
                    $ref: '#/components/schemas/GroupView'
              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
        '404':
          description: The group does not exist for the authenticated account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: asset group not found
      x-codeSamples:
        - lang: Shell
          label: Character asset request
          source: |-
            curl \
              https://api.cometapi.com/api/asset/groups/<GROUP_ID> \
              -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/<GROUP_ID>",
                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/<GROUP_ID>",
              { 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.