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

> ## Agent Instructions
> For AgentScope Python, use https://docs.agentscope.io/stable/en/index for new projects. For existing projects, check the installed agentscope version and use matching versioned documentation.
> The /latest/ alias points to development documentation. Use it only with the matching development source. Do not mix AgentScope 1.x and 2.x APIs.
> State the AgentScope version when providing installation commands or code examples. ReMe uses its own continuously updated /reme/latest/ documentation.

# List available chunker types and their parameter schemas

> List every available chunker type with its parameter schema.

The front-end uses this to populate the chunker selector and
to render a dynamic parameter form when creating a knowledge
base.

Args:
    _ (`str`):
        Injected authenticated user ID; only used to gate the
        endpoint behind authentication.
    chunker_classes (`list[type[ChunkerBase]]`):
        The chunker classes configured via
        ``create_app(knowledge_chunkers=...)``.

Returns:
    `ListChunkersResponse`:
        All available chunker types with their JSON Schemas.



## OpenAPI

````yaml /en/versions/2.0.9/deploy/openapi.json get /knowledge_bases/chunkers
openapi: 3.1.0
info:
  title: AgentScope
  version: 2.0.9
servers: []
security: []
paths:
  /knowledge_bases/chunkers:
    get:
      tags:
        - knowledge_bases
      summary: List available chunker types and their parameter schemas
      description: |-
        List every available chunker type with its parameter schema.

        The front-end uses this to populate the chunker selector and
        to render a dynamic parameter form when creating a knowledge
        base.

        Args:
            _ (`str`):
                Injected authenticated user ID; only used to gate the
                endpoint behind authentication.
            chunker_classes (`list[type[ChunkerBase]]`):
                The chunker classes configured via
                ``create_app(knowledge_chunkers=...)``.

        Returns:
            `ListChunkersResponse`:
                All available chunker types with their JSON Schemas.
      operationId: list_chunkers_knowledge_bases_chunkers_get
      parameters:
        - name: x-user-id
          in: header
          required: true
          schema:
            type: string
            description: >-
              Caller's user ID. Temporary header-based identity; will be
              replaced by JWT auth.
            title: X-User-Id
          description: >-
            Caller's user ID. Temporary header-based identity; will be replaced
            by JWT auth.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListChunkersResponse'
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ListChunkersResponse:
      properties:
        chunkers:
          items:
            $ref: '#/components/schemas/ChunkerInfo'
          type: array
          title: Chunkers
          description: The available chunker types, in configured order.
      type: object
      required:
        - chunkers
      title: ListChunkersResponse
      description: Response body listing the available chunker types.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ChunkerInfo:
      properties:
        type:
          type: string
          title: Type
          description: The chunker type identifier.
        parameter_schema:
          additionalProperties: true
          type: object
          title: Parameter Schema
          description: >-
            JSON Schema produced by
            `ChunkerBase.Parameters.model_json_schema()`, used to render the
            parameter form.
      type: object
      required:
        - type
        - parameter_schema
      title: ChunkerInfo
      description: One available chunker type and its parameter schema.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````