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

# 列出角色

> 列出当前工作区中未删除的角色，按创建时间从新到旧排列。列表仅返回摘要字段，不返回完整的 `avatars` 或 `pipeline_config`。



## OpenAPI

````yaml cn/streaming-avatar/api-references/openapi.json GET /v1/characters
openapi: 3.1.0
info:
  title: Vivix Streaming Avatar API 中文参考
  version: 1.0.0
  description: Streaming Avatar 会话、音色和角色的 REST 接口。
servers:
  - url: https://api.vivix.ai
security:
  - bearerAuth: []
paths:
  /v1/characters:
    get:
      summary: 列出角色
      description: >-
        列出当前工作区中未删除的角色，按创建时间从新到旧排列。列表仅返回摘要字段，不返回完整的 `avatars` 或
        `pipeline_config`。
      operationId: listCharacters
      parameters:
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
          description: 每页数量。默认为 50，最大为 200。
        - name: page_token
          in: query
          required: false
          schema:
            type: string
          description: 上一次响应返回的 `next_page_token`。无效 token 会返回 `20004`。
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                  - data
                properties:
                  code:
                    type: integer
                    description: 成功时为 `0`；其他值均为错误码。
                  message:
                    type: string
                    description: '`success`，或英文错误说明。'
                  data:
                    type: object
                    properties:
                      items:
                        type: array
                        description: 角色摘要，按创建时间从新到旧排列。
                        items:
                          type: object
                          properties:
                            character_id:
                              type: string
                              description: 角色 ID。
                            name:
                              type: string
                              description: 显示名称。
                            model:
                              type: string
                              description: |-
                                与该角色一起保存的模型 ID。

                                即已存储配置中的 `model`。
                            resolution:
                              type: string
                              description: 已存储配置中的 `output.resolution`（如有）。
                            created_at:
                              type: string
                              format: date-time
                              description: UTC 时间。
                            updated_at:
                              type: string
                              format: date-time
                              description: UTC 时间。
                          required:
                            - character_id
                            - name
                            - model
                            - resolution
                            - created_at
                            - updated_at
                      next_page_token:
                        type: string
                        description: 下一页游标。没有下一页时为空字符串。
                    required:
                      - items
                      - next_page_token
              example:
                code: 0
                message: success
                data:
                  items:
                    - character_id: chr_a1b2c3d4e5f6789012345678abcdef01
                      name: Studio Host
                      model: vivix-a1-stream
                      resolution: 720p
                      created_at: '2026-08-19T10:00:00Z'
                      updated_at: '2026-08-19T10:00:00Z'
                  next_page_token: ''
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 你的 Vivix API 密钥。请仅保存在服务端。

````

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