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

# List knowledge base entries

> Retrieve all knowledge base entries accessible to the current user.



## OpenAPI

````yaml https://api.camelai.com/api/schema/ get /api/v1/knowledge-base/
openapi: 3.0.3
info:
  title: camelAI API
  version: 1.0.0 (v1)
  description: API for camelAI - AI-powered data analytics platform
servers:
  - url: https://api.camelai.com
    description: camelAI API server
security: []
paths:
  /api/v1/knowledge-base/:
    get:
      tags:
        - knowledge-base
      summary: List knowledge base entries
      description: Retrieve all knowledge base entries accessible to the current user.
      operationId: knowledge_base_list
      parameters:
        - name: page
          required: false
          in: query
          description: A page number within the paginated result set.
          schema:
            type: integer
        - name: page_size
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedKnowledgeBaseList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PaginatedKnowledgeBaseList:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeBase'
    KnowledgeBase:
      type: object
      description: Serializer for KnowledgeBase entries.
      properties:
        id:
          type: integer
          readOnly: true
        content:
          type: string
        connection_id:
          type: integer
          description: Connection ID this knowledge base entry applies to
        created_at:
          type: string
          format: date-time
          readOnly: true
        last_modified:
          type: string
          format: date-time
          readOnly: true
      required:
        - connection_id
        - content
        - created_at
        - id
        - last_modified
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key authentication using Bearer scheme

````