---
title: "Get knowledge base documents"
method: GET
path: "/companies/{company}/knowledge-base/documents"
tags: ["Knowledge Base"]
---

# Get knowledge base documents

`GET /companies/{company}/knowledge-base/documents`

## Path parameters

- `company` integer, required

## Query parameters

- `businessUnitId` integer
- `query` string
- `type` string
- `agentIds[]` integer[]
- `createdBy` string
- `sortBy` string
- `sortDirection` 'asc' | 'desc'

## Response `200`

Successful response

- object
  - `data` AppHttpResourcesApiKnowledgeBaseDocumentResource[] — unresolved $ref

---

[API](https://skmtc.dev/800/apis/public-api.md) · [All operations](https://skmtc.dev/800/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/800/public-api/revisions/aab9efc97342/schema)
