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

# Get chunking override

> Get the stored and effective RAG chunking overrides for a document or folder.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/convai/knowledge-base/{documentation_id}/chunking-override
openapi: 3.1.0
info:
  title: Threetone API
  description: >-
    APIs for the Threetone Agents Platform and shared workspace resources.
    Authenticate programmatic requests with an API key in the x-api-key header.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/convai/knowledge-base/{documentation_id}/chunking-override:
    get:
      tags:
        - Agents Platform
      summary: Get chunking override
      description: >-
        Get the stored and effective RAG chunking overrides for a document or
        folder.
      operationId: get_chunking_override_route
      parameters:
        - name: documentation_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              The id of a document from the knowledge base. This is returned on
              document addition.
            examples:
              - 21m00Tcm4TlvDq8ikWAM
            embed: true
            title: Documentation Id
          description: >-
            The id of a document from the knowledge base. This is returned on
            document addition.
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDocumentChunkingOverrideResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GetDocumentChunkingOverrideResponseModel:
      properties:
        id:
          type: string
          title: Id
          description: ID of the document or folder whose chunking settings were read.
        chunking_override:
          anyOf:
            - $ref: '#/components/schemas/ChunkingOverride'
            - type: 'null'
          description: >-
            Override stored directly on this entity. Null means every setting is
            inherited.
        effective_chunking_override:
          $ref: '#/components/schemas/ChunkingOverride'
          description: >-
            Effective override after merging this entity with its ancestor
            folders. Null fields use embedding model defaults.
        inherited_chunking_override:
          $ref: '#/components/schemas/ChunkingOverride'
          description: >-
            Override inherited from ancestor folders, ignoring this entity's own
            override. Null fields use embedding model defaults.
      type: object
      required:
        - id
        - chunking_override
        - effective_chunking_override
        - inherited_chunking_override
      title: GetDocumentChunkingOverrideResponseModel
      example:
        chunking_override:
          custom_separators:
            - |-

              ### 
          max_chunk_size: 800
          overlap_percentage: 15
        effective_chunking_override:
          custom_separators:
            - |-

              ### 
          max_chunk_size: 800
          overlap_percentage: 15
        id: 21m00Tcm4TlvDq8ikWAM
        inherited_chunking_override:
          custom_separators:
            - |-

              ## 
          max_chunk_size: 500
          overlap_percentage: 10
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ChunkingOverride:
      properties:
        max_chunk_size:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Chunk Size
          description: Maximum chunk size in tokens. Null uses the inherited value.
        overlap_percentage:
          anyOf:
            - type: integer
            - type: 'null'
          title: Overlap Percentage
          description: >-
            Chunk overlap as a percentage of the chunk size. Null uses the
            inherited value.
        custom_separators:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Custom Separators
          description: >-
            Custom text separators used when splitting. Null uses the inherited
            value.
      type: object
      required:
        - max_chunk_size
        - overlap_percentage
        - custom_separators
      title: ChunkingOverride
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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