beta.libraries.documents
Update the metadata of a specific document.
Changed onGiven a library and a document in that library, update the name of that document.
put/v1/libraries/{library_id}/documents/{document_id}
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
library_idstring uuid required
document_idstring uuid required
Request body
Response
Successful Response
Changes
- breaking
request property
list-of-types was narrowed by removing typesnullfrom media typeapplication/json - info
endpoint deprecated
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
response property
hashdeprecated - info
response property
processing_statusdeprecated - info
response property
tokens_processing_main_contentdeprecated - info
response property
tokens_processing_summarydeprecated
- breaking
- info
endpoint added
- info