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

# Get knowledge base

> Retrieve a single knowledge base by ID

### Path parameters

<ParamField path="id" type="string" required>
  The knowledge base ID
</ParamField>

<CodeGroup>
  ```bash curl theme={null}
  curl https://api.agentic-os.com/api/v1/knowledge-bases/KB_ID \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
  ```

  ```python Python theme={null}
  requests.get(
      "https://api.agentic-os.com/api/v1/knowledge-bases/KB_ID",
      headers={"Authorization": f"Bearer {API_KEY}"},
  )
  ```

  ```javascript Node theme={null}
  await fetch("https://api.agentic-os.com/api/v1/knowledge-bases/KB_ID", {
    headers: { Authorization: `Bearer ${API_KEY}` },
  });
  ```
</CodeGroup>

### Related

Sources for a knowledge base are listed at
`GET /knowledge-bases/{kbId}/sources`, and ingestion progress at
`GET /knowledge-bases/{kbId}/ingestion-jobs`.
