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

# Get knowledge base

> One knowledge base, with its file counts: read it until processing_count is 0 to know its files have finished.

Returns one [knowledge base object](https://docs.verbeo.ai/api-reference/knowledge-bases/overview.md#the-knowledge-base-object). After an upload, read it until `processing_count` is `0`: every file is then `ready` or `error`, and `error_count` says how many failed.

## Path parameters

**id** `string` *required*

UUID of the knowledge base.

## Request

```bash cURL theme={null}
curl "https://api.verbeo.ai/v1/knowledge-base/5df09066-0842-4c92-8ef0-6cf2ff6d7455" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```python Python theme={null}
import os, time, requests

kb_id = "5df09066-0842-4c92-8ef0-6cf2ff6d7455"
headers = {"Authorization": f"Bearer {os.environ['VERBEO_API_KEY']}"}
while True:
    kb = requests.get(f"https://api.verbeo.ai/v1/knowledge-base/{kb_id}", headers=headers).json()["data"]
    if kb["processing_count"] == 0:
        break
    time.sleep(5)
print(kb["ready_count"], "ready,", kb["error_count"], "failed")
```

## Response

`200 OK`

```json theme={null}
{
  "success": true,
  "data": {
    "id": "5df09066-0842-4c92-8ef0-6cf2ff6d7455",
    "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
    "agent_id": null,
    "display_name": "Clinic FAQ",
    "tool_description": "Search this knowledge base before answering questions about the clinic's prices, opening hours and treatments.",
    "tool_description_source": "generated",
    "tool_description_review": false,
    "tool_description_input_hash": "8f3c1d0e9b7a65f4e3d2c1b0a9f8e7d6c5b4a39281706f5e4d3c2b1a09f8e7d6",
    "metadata": {},
    "created_at": "2026-11-07T09:12:44.512301+00:00",
    "updated_at": "2026-11-07T09:13:02.044870+00:00",
    "file_count": 2,
    "ready_count": 2,
    "processing_count": 0,
    "error_count": 0,
    "chunk_count": 14
  }
}
```

## Errors

| Code | Status | When |
| - | - | - |
| `NOT_FOUND` | 404 | No such knowledge base, or it belongs to another workspace: `Knowledge base not found`. |
| `VALIDATION_FAILED` | 422 | `id` is not a UUID. |


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