Create Document

Index a document for a given domain

Path parameters

domainstringRequired

Request

This endpoint expects an object.
documentstringRequired
The content of the document that will be returned in the tool response
chunkstringOptional
The chunk of the document that will be indexed as a vector. If not provided, the document will be indexed.
titlestringOptional
The title of the document
urlstringOptional
The url of the document
versionstringOptional
The version of the document
keywordslist of stringsOptional
The keywords of the document
authedbooleanOptional
Whether the document is authed

Response

This endpoint returns an object.
document_idstring

Errors