Update Document
Documents
Update Document
Modify an existing document’s data and properties by its unique ID.
PUT
Update Document
Authorizations
API key authentication
Path Parameters
Unique ID of the document to update
Body
application/json
The main data of the document, can be any type (string, object, array, etc.)
Example:
{
"messages": [
{
"content": "How do the odds look for Man City vs Real Madrid?",
"date": "2024-12-07T23:09:39.784Z",
"role": "user"
},
{
"content": "Manchester City vs Real Madrid",
"date": "2024-12-07T23:11:39.784Z",
"role": "assistant"
}
]
}Additional metadata for the document
Updated status of the document
Available options:
active, draft, archived 
