---
title: "Changes to Upload File"
method: POST
path: "/api/v2/agents/{agent_id}/upload-file"
---

# Changes to Upload File

`POST /api/v2/agents/{agent_id}/upload-file`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 46 revisions.

- **2026-10-21** `b26ebc4d9cd6`: 1 breaking, 1 info
- **2026-10-21** `87da4fd7ad11`: 2 breaking
- **2026-09-01** `4dbab4daf6d3`: 2 info
- **2026-07-09** `6c0f57766d0f`: 1 info
- **2026-06-23** `3f3d8570f1a6`: 1 warning

## Changes

- **2026-10-21** `b26ebc4d9cd6`: 1 breaking, 1 info
  - the `file` request property contentMediaType changed from `` to `application/octet-stream`
  - the `file` request property format was generalized from `binary` to no format
- **2026-10-21** `87da4fd7ad11`: 2 breaking
  - the `file` request property contentMediaType changed from `application/octet-stream` to ``
  - the `file` request property format changed from no format to `binary`
- **2026-09-01** `4dbab4daf6d3`: 2 info
  - added the new optional `header` request parameter `X-Api-Key`
  - added the new optional `header` request parameter `authorization`
- **2026-07-09** `6c0f57766d0f`: 1 info
  - added the new optional `cookie` request parameter `memanto_session_token`
- **2026-06-23** `3f3d8570f1a6`: 1 warning
  - deleted the `cookie` request parameter `memanto_session_token`

---

[Operation](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/docs/api/v2/agents/:agent_id/upload-file/post.md) - [API](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) - [Page](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/changes/api/v2/agents/:agent_id/upload-file/post)
