Documents
API for knowledge base documents
Was this helpful?
API for knowledge base documents
Was this helpful?
List a document on a given workspace and folder for a knowledge base.
/workspaces/{workspaceId}/content/documents
Limits the project of results to return
Pagination token that keeps of track of the current position in the list
Order in which to retrieve the results
Filter documents that were edited by at least one user from the list
Filter documents that have at least one of the provided tags
Paths of the folder. This can be used to narrow search to a specific folder
Special ordering setting for the result documents
createdAt:asc
Filter documents based on status
draft
, active
, inactive
Filter documents based on title
Create a document on a given workspace and folder for a knowledge base.
/workspaces/{workspaceId}/content/documents
Indicates if embedding should be done asynchronously
Contents of the document, can be markdown or plain text
ID of the folder to store the document
Path of the folder to store the document
Title of the document
Status of the document. If you want your document to be visible and used by other systems, make it 'active'
draft
, active
, inactive
Tags can be used to label the content and used in search
Get a document on a given workspace an folder for a knowledge base.
/workspaces/{workspaceId}/content/documents/{contentPath}
Delete a folder on a given workspace and folder for a knowledge base.
/workspaces/{workspaceId}/content/documents/{contentPath}
No body
Update a document on a given workspace for a knowledge base.
/workspaces/{workspaceId}/content/documents/{contentPath}
Indicates if embedding should be done asynchronously
Contents of the document, can be markdown or plain text
ID of the folder to store the document
Path of the folder to store the document
Title of the document
Status of the document. If you want your document to be visible and used by other systems, make it 'active'
draft
, active
, inactive