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

# Knowledge Base List

> Retrieve knowledge base details.



## OpenAPI

````yaml /docs/openapi.json get /api/v1/knowledge-base/
openapi: 3.1.0
info:
  title: Voice AI Developer API
  description: >-
    Generate realistic speech and clone voices. AI voice agents with retrieval
    augmented generation (RAG) and model context protocol (MCP) included.
  version: 1.5.0
  contact: {}
servers:
  - url: https://dev.voice.ai
    description: HTTP API endpoints
security:
  - BearerAuth: []
tags:
  - name: Text To Speech
    description: Text-to-speech endpoints for voice cloning and speech generation.
  - name: Pronunciation Dictionaries
    description: Manage versioned pronunciation dictionaries for TTS and voice agents.
  - name: Agent Management
    description: Create, update, deploy, and manage voice agents.
  - name: Models
    description: Discover supported LLM and TTS model options.
  - name: Agent Connection
    description: Connect to agents and manage active calls.
  - name: Agent Analytics
    description: >-
      Analytics and reporting for agent performance, call history, and
      statistics.
  - name: Agent Knowledge Base
    description: >-
      Manage knowledge bases for retrieval augmented generation (RAG) with your
      agents.
  - name: Phone Number Management
    description: >-
      Search, select, and manage phone numbers from your plan allocation.
      Release numbers to free up slots.
  - name: Managed Tools
    description: >-
      Connect Google Calendar, Sheets, and Gmail to agents and inspect
      connection state.
paths:
  /api/v1/knowledge-base/:
    get:
      tags:
        - Agent Knowledge Base
      summary: Knowledge Base List
      description: Retrieve knowledge base details.
      operationId: list_knowledge_bases_api_v1_knowledge_base__get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Page number (1-based)
            title: Page
          description: Page number (1-based)
        - name: limit
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 100
                minimum: 1
              - type: 'null'
            description: Items per page
            title: Limit
          description: Items per page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/PaginatedKnowledgeBaseResponse'
                  - type: array
                    items:
                      $ref: '#/components/schemas/KnowledgeBaseResponse'
                title: Response List Knowledge Bases Api V1 Knowledge Base  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PaginatedKnowledgeBaseResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/KnowledgeBaseResponse'
          type: array
          title: Items
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
      type: object
      required:
        - items
        - pagination
      title: PaginatedKnowledgeBaseResponse
    KnowledgeBaseResponse:
      properties:
        kb_id:
          type: integer
          title: Kb Id
        name:
          type: string
          title: Name
          nullable: true
        description:
          type: string
          title: Description
          nullable: true
        document_count:
          type: integer
          title: Document Count
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        message:
          type: string
          title: Message
          nullable: true
      type: object
      required:
        - kb_id
        - document_count
        - created_at
        - updated_at
      title: KnowledgeBaseResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PaginationMeta:
      properties:
        current_page:
          type: integer
          title: Current Page
        total_pages:
          type: integer
          title: Total Pages
        total_items:
          type: integer
          title: Total Items
        limit:
          type: integer
          title: Limit
        has_next:
          type: boolean
          title: Has Next
        has_previous:
          type: boolean
          title: Has Previous
      type: object
      required:
        - current_page
        - total_pages
        - total_items
        - limit
        - has_next
        - has_previous
      title: PaginationMeta
    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
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token authentication. Use your API key as the bearer token.
        Format: Authorization: Bearer <your-api-key>

````