Update Document

Update a document for a given domain

Path parameters

domainstringRequired

Query parameters

document_idstringRequired
The unique identifier of the document to update
is_activebooleanRequired
Whether the document is active
contextlist of stringsRequired
The context of the document, as a list of strings, that will be indexed.
documentstringRequired
The content of the document that will be returned in the tool response. If not provided, the document will be removed from the index.

Response

This endpoint returns an object.
document_idstring
domainstring
context_idstring
contextlist of strings
documentstring
is_activeboolean
created_atdatetime
updated_atdatetime

Errors