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

# Retrieve a knowledge base

> Get a knowledge base by ID

<ParamField path="knowledge_base_id" type="string" required>
  Knowledge base ID.
</ParamField>

## SDK

<CodeGroup>
  ```typescript TypeScript theme={null}
  const kb = await client.knowledgeBases.retrieve(id);
  ```

  ```python Python theme={null}
  kb = await client.knowledge_bases.retrieve(knowledge_base_id)
  ```
</CodeGroup>
