Knowledge

Create knowledge base version

Beta
POST
Create a new knowledge base version. Only supported on API knowledge bases. Will throw an exception if there is an existing version in progress.

Request

This endpoint expects an object.
knowledge_base_id
stringRequired
External ID of the knowledge base used to create a new version
type
enumRequired
Indicates whether the completed version constitutes a full or partial refresh of the knowledge base. Deleting and updating documents is only supported for partial refreshes.
Allowed values: FULLPARTIAL

Response

This endpoint returns an object
knowledge_base_id
string
External ID of the knowledge base used to create a new version
type
enum
Indicates whether the completed version constitutes a full or partial refresh of the knowledge base. Deleting and updating documents is only supported for partial refreshes.
Allowed values: FULLPARTIAL

Errors