---
title: "Changes to Upload a new document."
method: POST
path: "/v1/libraries/{library_id}/documents"
---

# Changes to Upload a new document.

`POST /v1/libraries/{library_id}/documents`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 14 revisions.

- **2026-07-13** `5a5c361558bb`: 10 info
- **2026-04-07** `ff8a7389b7a4`: 1 info

## Changes

- **2026-07-13** `5a5c361558bb`: 10 info
  - added the optional property `expires_at` to the response with the `200` status
  - added the optional property `expires_at` to the response with the `201` status
  - response property `hash` deprecated
  - response property `hash` deprecated
  - response property `processing_status` deprecated
  - response property `processing_status` deprecated
  - response property `tokens_processing_main_content` deprecated
  - response property `tokens_processing_main_content` deprecated
  - response property `tokens_processing_summary` deprecated
  - response property `tokens_processing_summary` deprecated
- **2026-04-07** `ff8a7389b7a4`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/mistral/apis/mistral-ai-api/docs/v1/libraries/:library_id/documents/post.md) - [API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) - [Page](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/libraries/:library_id/documents/post)
