Get a list of available knowledge base documents
API key for programmatic access
How many documents to return at maximum. Can not exceed 100, defaults to 30.
1 <= x <= 100If specified, the endpoint returns only documents whose names start with this string.
If set to true, the endpoint will return only documents owned by you.
If present, the endpoint will return only documents of the given types.
Type of knowledge base document
file, url, text, folder If set, the endpoint will return only documents that are direct children of the given folder.
If set, the endpoint will return only documents that are descendants of the given folder.
Whether folders should be returned first in the list of documents.
The direction to sort the results
asc, desc The field to sort the results by Fields available for sorting knowledge base documents
name, created_at, updated_at, size Used for fetching next page. Cursor is returned in the response.
Successful Response
Paginated list of knowledge base documents. Enterprise-compatible response model with cursor pagination.
List of knowledge base documents
Knowledge base document summary for URL type
Whether there are more documents to fetch
Cursor for fetching the next page