# Agents: List an agent's knowledge bases (https://docs.envocal.ai/api-reference/agents/list-an-agents-knowledge-bases/) > Requires agents:read ## GET `/v1/tenants/{tenantId}/agents/{id}/knowledge-bases` **Required permission:** `agents:read` ### Parameters | Name | In | | Type | Description | | --- | --- | --- | --- | --- | | `tenantId` | path | required | string | Tenant id, or `current` for the key's own tenant. Must be the key's tenant or one of its sub-tenants. | | `id` | path | required | string | Agent id. | ### Responses **200** — KnowledgeBaseDto[]: Linked knowledge bases (empty list if none). | Field | Type | | Description | | --- | --- | --- | --- | | `id` | string | required | Knowledge base id. | | `name` | string | required | Name, unique per tenant. | | `description` | string | nullable | Optional description. | | `documentCount` | integer | | Number of documents. | | `tenantId` | string | required | Tenant it belongs to. | **401**: Missing, invalid, revoked or expired API key. **403**: The key lacks the required permission, or the tenant/resource is outside its reach. **404**: Agent not found. **429**: Rate limit exceeded. Retry after the number of seconds in the Retry-After header. ### Example ```bash curl -X GET "https://api.envocal.ai/v1/tenants/current/agents/{id}/knowledge-bases" \ -H "Authorization: Bearer evk_eu_..." ```