v10

latestOpenAPI 3.0.2Apache 2.0raw.githubusercontent.com2026-05-07302486.6 KB

Create knowledge

Create knowledge

post/v1/Knowledge

Request body

assistant_idstring

The Assistant ID.

descriptionstring

The description of the knowledge source.

knowledge_source_detailsobject

The details of the knowledge source based on the type.

namestring required

The name of the tool.

typestring required

The type of the knowledge source.

embedding_modelstring

The embedding model to be used for the knowledge source. It's required for 'Database' type but disallowed for other types.

Response

Created

descriptionstring

The type of knowledge source.

idstring required

The description of knowledge.

account_sidstring

The SID of the Account that created the Knowledge resource.

knowledge_source_detailsobject

The details of the knowledge source based on the type.

namestring required

The name of the knowledge source.

statusstring

The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED')

typestring required

The type of knowledge source ('Web', 'Database', 'Text', 'File')

urlstring

The url of the knowledge resource.

embedding_modelstring

The embedding model to be used for the knowledge source.

date_createdstring date-time required

The date and time in GMT when the Knowledge was created specified in ISO 8601 format.

date_updatedstring date-time required

The date and time in GMT when the Knowledge was last updated specified in ISO 8601 format.