Skip to main content
GET
List Documents

Path Parameters

kb_id
string
required

Knowledge Base ID.

Response

A page of documents.

Cursor-paginated list of documents.

data
(FileDocumentResponse · object | WebsiteDocumentResponse · object)[]
required

Documents for the current page. A heterogeneous array - discriminate each element on document_type.

next_page_token
string | null

Opaque cursor for the next page. Null when there are no more pages.