Mistral AIMistral AI API
PUT/v1/libraries/{library_id}/documents/{document_id}
Manage libraries Documents Update V1.
Contract-preserving PUT Endpoint for libraries Documents Update V1 in the Mistral AI API. Model and resource-specific values are supplied by the caller at runtime.
All 238 ApiKey-authenticated Mistral AI Platform REST endpoints from a fixed Apache-2.0-licensed official revision, including typed SSE streaming and Workflows. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
librariesDocumentsUpdateV1- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
library_id
pathstringuuidrequired
library id value in the Mistral AI API contract.
document_id
pathstringuuidrequired
document id value in the Mistral AI API contract.
Request body
UpdateDocumentRequestrequired
Content-Type: application/json
Properties: attributesexpires_atname
Responses
200
Documentapplication/json
Successful supplier response.
Properties: attributescreated_atexpires_atextensionhashidlast_processed_atlibrary_idmime_typenamenumber_of_pagesprocess_statusprocessing_statussizesummarytokens_processing_main_contenttokens_processing_summarytokens_processing_totaluploaded_by_iduploaded_by_typeurl
422
HTTPValidationErrorapplication/json
Supplier response with HTTP status 422.
Properties: detail
{}