v1

latestOpenAPI 3.0.02026-07-2251509353.3 KB
KBPublicApiDocument
Public-Docs

Search documents

Find all documents that match the specified criteria.

get/v1alpha1/public/knowledge-base/document

Query parameters

pagestring

The page number to retrieve, defaults to 1 (which is the minimum). Order is by the date updated, descending.

limitstring

The number of documents to return per page. Defaults to 10, range is 1-100.

documentType'csv' | 'pdf' | 'text' | 'url' | 'docx' | 'table' | 'xlsx' | 'md'
projectEnvironmentIDOrAliasstring

The alias of the environment to target (ie. main). You can find this in the environments page of your agent.

💡 Tip: Learn more about Environments.

Response

Documents matching the specified criteria.

totalnumber required