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

# List Knowledge Bases

> List all knowledge bases for the current organization.

# List Knowledge Bases

This endpoint returns a list of all knowledge bases associated with your organization.

## Request

### Headers

| Name          | Type   | Required | Description                     |
| ------------- | ------ | -------- | ------------------------------- |
| Authorization | string | Yes      | Bearer token for authentication |

## Response

### 200 OK

```json theme={null}
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "created_at": "string",
      "updated_at": "string",
      "organization_id": "string"
    }
  ]
}
```

### Response Fields

| Field            | Type   | Description                                         |
| ---------------- | ------ | --------------------------------------------------- |
| id               | string | Unique identifier for the knowledge base            |
| name             | string | Name of the knowledge base                          |
| description      | string | Description of the knowledge base                   |
| created\_at      | string | Timestamp when the knowledge base was created       |
| updated\_at      | string | Timestamp when the knowledge base was last updated  |
| organization\_id | string | ID of the organization that owns the knowledge base |

## Example

```bash theme={null}
curl -X GET 'https://api.kollie.ai/api/v1/knowledge-base/' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```


## OpenAPI

````yaml GET /api/v1/knowledge-base/
openapi: 3.1.0
info:
  title: kollie-backend
  version: v1
servers: []
security: []
paths:
  /api/v1/knowledge-base/:
    get:
      tags:
        - knowledge-base
      summary: List Knowledge Bases
      description: List all knowledge bases for the current organization.
      operationId: list_knowledge_bases_api_v1_knowledge_base__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer

````