---
title: "Update file details"
method: PATCH
path: "/models/{model_id}/model_files/{id}"
tags: ["Files"]
---

# Update file details

`PATCH /models/{model_id}/model_files/{id}`

## Response `200`

File updated

## Other responses

- `400` — The request structure was incorrect
- `401` — Unauthorized; the request did not provide valid authentication details
- `403` — Forbidden; the provided credentials do not have permission to perform the requested action
- `422` — Update failed due to invalid data

## Changes

- **2026-02-05** (v0) `562cb71e745a` — 2 info
  - added the new optional request property `previewable`
  - added the optional property `previewable` to the response with the `200` status
- **2025-04-15** (v0) `04936a1943d3` — 1 breaking, 9 info
  - the response property `name` became optional for the status `200`
  - added the new optional request property `caption`
  - added the new optional request property `presupported`
  - added the new optional request property `related`
  - …6 more
- **2025-04-11** (v0) `f9a9094851e4` — 1 info
  - endpoint added
- **2025-03-03** (v0) `ce0a74d4942a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/manyfold3d/apis/manyfold-api/changes/models/:model_id/model_files/:id/patch.md)

---

[API](https://skmtc.dev/manyfold3d/apis/manyfold-api.md) · [All operations](https://skmtc.dev/manyfold3d/apis/manyfold-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/manyfold3d/manyfold-api/revisions/a3cbfc387e66/schema)
