---
title: "Changes to Update a file"
method: PATCH
path: "/v2/files/{file_id}"
---

# Changes to Update a file

`PATCH /v2/files/{file_id}`

> Every recorded change to this endpoint, newest first.
> 254 revisions in range; 71 not diffed.

## Timeline

Changed in 7 of 254 revisions.

- **2026-07-17** `2f27caf6888c` — 1 warning
- **2026-07-16** `bee257c5b248` — 1 info
- **2026-07-16** `801f61a5a056` — 1 warning
- **2026-07-16** `42d5d2062527` — 1 info
- **2026-07-10** `8ecb8a66eb1d` — 1 warning
- **2026-07-10** `5f95063ab4fd` — 1 info
- **2026-07-07** `320d42e024f2` — 1 warning

## Changes

- **2026-07-17** `2f27caf6888c` — 1 warning
  - added the new `FILE_PURPOSE_CODE_INTERPRETER` enum value to the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`
- **2026-07-16** `bee257c5b248` — 1 info
  - removed the `FILE_PURPOSE_CODE_INTERPRETER` enum value from the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`
- **2026-07-16** `801f61a5a056` — 1 warning
  - added the new `FILE_PURPOSE_CODE_INTERPRETER` enum value to the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`
- **2026-07-16** `42d5d2062527` — 1 info
  - removed the `FILE_PURPOSE_CODE_INTERPRETER` enum value from the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`
- **2026-07-10** `8ecb8a66eb1d` — 1 warning
  - added the new `FILE_PURPOSE_CODE_INTERPRETER` enum value to the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`
- **2026-07-10** `5f95063ab4fd` — 1 info
  - removed the `FILE_PURPOSE_CODE_INTERPRETER` enum value from the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`
- **2026-07-07** `320d42e024f2` — 1 warning
  - added the new `FILE_PURPOSE_CODE_INTERPRETER` enum value to the `file/allOf[#/components/schemas/File]/purpose` response property for the response status `200`

---

[Operation](https://skmtc.dev/orq-ai/apis/orq-ai-api/docs/v2/files/:file_id/patch.md) · [API](https://skmtc.dev/orq-ai/apis/orq-ai-api.md) · [Page](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/files/:file_id/patch)
