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

# List Knowledge Base Configs

> List all knowledge base configurations for the current account.



## OpenAPI

````yaml /api-reference/openapi/EvoAI-Knowledge-Service/knowledge-base-configs.yaml get /api/v1/knowledge-base-configs
openapi: 3.1.0
info:
  title: Evolution Foundation - Knowledge Service - Knowledge Base Configs
  description: Knowledge base and memory management
  version: 1.0.0
servers:
  - url: https://api.evoai.app
    description: Production server
  - url: http://localhost:3005
    description: Development server
    variables:
      port:
        default: '3005'
  - url: '{customUrl}'
    description: Custom server
    variables:
      customUrl:
        default: https://your-instance.com
        description: Enter your server URL
security: []
paths:
  /api/v1/knowledge-base-configs:
    get:
      summary: List Knowledge Base Configs
      description: List all knowledge base configurations for the current account.
      operationId: list_knowledge_base_configs_api_v1_knowledge_base_configs_get
      parameters:
        - name: provider
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/ProviderType'
              - type: 'null'
            description: Filter by provider type
            title: Provider
          description: Filter by provider type
        - name: active_only
          in: query
          required: false
          schema:
            type: boolean
            description: Show only active configurations
            default: false
            title: Active Only
          description: Show only active configurations
      responses:
        '200':
          description: Knowledge base configurations retrieved successfully
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/SuccessResponse_KnowledgeBaseConfigListResponse_
        '400':
          description: Bad Request (invalid data)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: BAD_REQUEST
                  message: Invalid request parameters
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/knowledge-base-configs
                  method: GET
        '401':
          description: Unauthorized (invalid or missing token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: UNAUTHORIZED
                  message: Invalid or missing authentication token
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/knowledge-base-configs
                  method: GET
        '403':
          description: Forbidden (insufficient permissions)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: FORBIDDEN
                  message: Insufficient permissions to perform this action
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/knowledge-base-configs
                  method: GET
        '404':
          description: Not Found (resource not found)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: NOT_FOUND
                  message: Resource not found
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/knowledge-base-configs
                  method: GET
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal Server Error (server error)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: INTERNAL_SERVER_ERROR
                  message: An unexpected error occurred
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /api/v1/knowledge-base-configs
                  method: GET
components:
  schemas:
    ProviderType:
      type: string
      enum:
        - pinecone
        - qdrant
        - openai
        - redis
      title: ProviderType
      description: Supported knowledge base provider types
    SuccessResponse_KnowledgeBaseConfigListResponse_:
      properties:
        success:
          type: boolean
          title: Success
          description: Success indicator
          default: true
        data:
          $ref: 250dc82c-d43b-4bda-a146-808ebe79fd74
          description: Response payload
        meta:
          $ref: e7f4bc71-7327-484e-9e6d-f27ec45def99
          description: Metadata
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: Optional success message
      type: object
      required:
        - data
        - meta
      title: SuccessResponse[KnowledgeBaseConfigListResponse]
    ErrorResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Success indicator
          default: false
        error: de7aff3a-baa1-434f-b4a8-98b611d37355
        meta:
          $ref: 4b6e66dc-476d-4342-a415-f132de0fb1ea
          description: Metadata
      type: object
      required:
        - error
        - meta
      title: ErrorResponse
      description: |-
        Standard error response schema matching error_response() return format.

        This schema matches the structure returned by error_response() function,
        which always uses ErrorInfo for the error field.
    HTTPValidationError:
      properties:
        detail:
          items: afb4ecf3-1404-4a62-b44b-ced1dc220f44
          type: array
          title: Detail
      type: object
      title: HTTPValidationError

````

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