Get Knowledge Base List
Get a list of available knowledge base documents
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Query Parameters
How many documents to return at maximum. Can not exceed 100, defaults to 30.
1 <= x <= 100If specified, the endpoint returns only such knowledge base documents whose names start with this string.
Filter documents by creator user ID. When set, only documents created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user.
If present, the endpoint will return only documents of the given types.
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
name, created_at, updated_at, size Used for fetching next page. Cursor is returned in the response.
Response
Successful Response
- GetKnowledgeBaseSummaryURLResponseModel
- GetKnowledgeBaseSummaryFileResponseModel
- GetKnowledgeBaseSummaryTextResponseModel
- GetKnowledgeBaseSummaryFolderResponseModel