Type Alias KnowledgebasesAPI

Index

Properties

cancelKnowledgebaseDatasource: typeof cancelKnowledgebaseDatasource

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.

CancelKnowledgebaseDatasourceHttpError

clearCache: typeof clearCache

Clears the cache for knowledgebases api requests.

createKnowledgebase: typeof createKnowledgebase

Creates a new knowledgebase.

an object with the body content

CreateKnowledgebaseHttpError

createKnowledgebaseDatasource: typeof createKnowledgebaseDatasource

Adds a datasource to a knowledgebase.

The id of the knowledgebase.

an object with the body content

CreateKnowledgebaseDatasourceHttpError

createKnowledgebaseDatasourceSchedule: typeof createKnowledgebaseDatasourceSchedule

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

CreateKnowledgebaseDatasourceScheduleHttpError

deleteKnowledgebase: typeof deleteKnowledgebase

Deletes a knowledgebase and all of its resources.

The id of the knowledgebase to delete.

DeleteKnowledgebaseHttpError

deleteKnowledgebaseDatasource: typeof deleteKnowledgebaseDatasource

Deletes a specified datasource and all its resources.

The id of the knowledgebase the datasource belongs to.

The id of the datasource to delete.

DeleteKnowledgebaseDatasourceHttpError

deleteKnowledgebaseDatasourceSchedule: typeof deleteKnowledgebaseDatasourceSchedule

Delete knowledgebase datasource schedule

The id of the knowledgebase the schedule belongs to.

The id of the datasource the schedule belongs to.

DeleteKnowledgebaseDatasourceScheduleHttpError

downloadKnowledgebaseDatasource: typeof downloadKnowledgebaseDatasource

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

DownloadKnowledgebaseDatasourceHttpError

getKnowledgebase: typeof getKnowledgebase

Retrieves a specific knowledgebase.

The id of the knowledgebase to retrieve.

GetKnowledgebaseHttpError

getKnowledgebaseDatasourceHistories: typeof getKnowledgebaseDatasourceHistories

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

GetKnowledgebaseDatasourceHistoriesHttpError

getKnowledgebaseDatasourceHistory: typeof getKnowledgebaseDatasourceHistory

Retrieves detailed sync history for a specified datasource.

The id of the knowledgebase the datasource belongs to.

The id of the datasource.

The sync identifier.

GetKnowledgebaseDatasourceHistoryHttpError

getKnowledgebaseDatasourceSchedule: typeof getKnowledgebaseDatasourceSchedule

Get a knowledgebase datasource schedule

The id of the knowledgebase the schedule belongs to.

The id of the datasource the schedule belongs to.

GetKnowledgebaseDatasourceScheduleHttpError

getKnowledgebaseHistories: typeof getKnowledgebaseHistories

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

GetKnowledgebaseHistoriesHttpError

getKnowledgebases: typeof getKnowledgebases

Returns a list of all knowledgebases the user has access to.

an object with query parameters

GetKnowledgebasesHttpError

patchKnowledgebase: typeof patchKnowledgebase

Updates properties of a specific knowledgebase.

The knowledgebase id.

an object with the body content

PatchKnowledgebaseHttpError

syncKnowledgebaseDatasource: typeof syncKnowledgebaseDatasource

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

SyncKnowledgebaseDatasourceHttpError

updateKnowledgebaseDatasource: typeof updateKnowledgebaseDatasource

Update a knowledgebase datasource

The id of a knowledgebase.

The id of the datasource to update.

an object with the body content

UpdateKnowledgebaseDatasourceHttpError