Cancels ongoing sync for a specified datasource.
The id of the knowledgebase the datasource belongs to.
The id of the datasource to cancel sync for.
Optional
options: ApiCallOptionsClears the cache for knowledgebases api requests.
Clears the cache for knowledgebases api requests.
Creates a new knowledgebase.
Creates a new knowledgebase.
an object with the body content
Optional
options: ApiCallOptionsAdds a datasource to a knowledgebase.
Adds a datasource to a knowledgebase.
The id of the knowledgebase.
an object with the body content
Optional
options: ApiCallOptionsCreates or updates a specified datasource schedule.
Creates or updates a specified datasource schedule.
The id of the knowledgebase the schedule belongs to.
The id of the datasource the schedule belongs to.
an object with the body content
Optional
options: ApiCallOptionsDeletes a knowledgebase and all of its resources.
Deletes a knowledgebase and all of its resources.
The id of the knowledgebase to delete.
Optional
options: ApiCallOptionsDeletes a specified datasource and all its resources.
Deletes a specified datasource and all its resources.
The id of the knowledgebase the datasource belongs to.
The id of the datasource to delete.
Optional
options: ApiCallOptionsDelete knowledgebase datasource schedule
Delete knowledgebase datasource schedule
The id of the knowledgebase the schedule belongs to.
The id of the datasource the schedule belongs to.
Optional
options: ApiCallOptionsDownload knowledgebase datasource reference
Download knowledgebase datasource reference
The id of the knowledgebase the datasource belongs to.
The id of the datasource to download from.
an object with the body content
Optional
options: ApiCallOptionsRetrieves a specific knowledgebase.
Retrieves a specific knowledgebase.
The id of the knowledgebase to retrieve.
Optional
options: ApiCallOptionsRetrieves sync history for a specified datasource in a knowledgebase. Returns a 404
if there is no sync history, or if the calling user doesn't have access to the datasource.
Retrieves sync history for a specified datasource in a knowledgebase. Returns a 404
if there is no sync history, or if the calling user doesn't have access to the datasource.
The id of the knowledgebase the datasource belongs to.
The id of the datasource.
an object with query parameters
Optional
limit?: numberThe number of knowledgebases to get.
Optional
next?: stringOptional parameter to request the next page.
Optional
prev?: stringOptional parameter to request the previous page.
Optional
sort?: "COMPLETED" | "-COMPLETED"Optional resource field name to sort on, case insensitive, eg. name. Can be prefixed with - to set descending order, defaults to ascending.
Optional
options: ApiCallOptionsThe id of the knowledgebase the datasource belongs to.
The id of the datasource.
The sync identifier.
Optional
options: ApiCallOptionsGet a knowledgebase datasource schedule
Get a knowledgebase datasource schedule
The id of the knowledgebase the schedule belongs to.
The id of the datasource the schedule belongs to.
Optional
options: ApiCallOptionsRetrieves sync history for the specified knowledgebase. Will return a 404
if no sync history exists, or if the calling user does not have access to synced datasources.
Retrieves sync history for the specified knowledgebase. Will return a 404
if no sync history exists, or if the calling user does not have access to synced datasources.
The id of the knowledgebase.
an object with query parameters
Optional
limit?: numberThe number of sync histories to get.
Optional
next?: stringOptional parameter to request the next page.
Optional
prev?: stringOptional parameter to request the previous page.
Optional
sort?: "COMPLETED" | "-COMPLETED"Optional resource field name to sort on, case insensitive, eg. name. Can be prefixed with - to set descending order, defaults to ascending.
Optional
options: ApiCallOptionsReturns a list of all knowledgebases the user has access to.
Returns a list of all knowledgebases the user has access to.
an object with query parameters
Optional
countTotal?: booleanOptional
limit?: numberThe number of knowledgebases to get.
Optional
next?: stringOptional parameter to request the next page.
Optional
prev?: stringOptional parameter to request the previous page.
Optional
sort?: Optional resource field name to sort on, case insensitive, eg. name. Can be prefixed with - to set descending order, defaults to ascending.
Optional
options: ApiCallOptionsUpdates properties of a specific knowledgebase.
Updates properties of a specific knowledgebase.
The knowledgebase id.
an object with the body content
Optional
options: ApiCallOptionsStarts syncing a specified datasource to a specified knowledgebase index.
Starts syncing a specified datasource to a specified knowledgebase index.
The id of the knowledgebase the datasource belongs to.
The id of the datasource to sync.
an object with query parameters
Optional
migrate?: booleanOptional parameter to migrate indexed files to docdetails collection
Optional
options: ApiCallOptionsUpdate a knowledgebase datasource
Update a knowledgebase datasource
The id of a knowledgebase.
The id of the datasource to update.
an object with the body content
Optional
options: ApiCallOptions
Cancels ongoing sync for a specified datasource.