Upload a new document.
Changed onGiven a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body multipart/form-data
Response
A document with the same hash was found in this library. Returns the existing document.
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
hashdeprecated - info
response property
hashdeprecated - info
response property
processing_statusdeprecated - info
response property
processing_statusdeprecated - info
response property
tokens_processing_main_contentdeprecated - info
response property
tokens_processing_main_contentdeprecated - info
response property
tokens_processing_summarydeprecated - info
response property
tokens_processing_summarydeprecated
- info
- info
endpoint added
- info