# GET /knowledge-bases

**Resource:** [Knowledge Bases](./knowledge-bases.md)  
**MCP tool:** `list_knowledge_bases`  
**Scopes:** `knowledge:read`  
**Write operation:** no

List knowledge bases in the workspace. Pass agent_type + agent_id to list only the KBs attached to a given voice or workflow agent.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `agent_type` | query | string | no |  |
| `agent_id` | query | string | no |  |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/knowledge-bases"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`