---
title: "Add a new file to a model"
method: POST
path: "/models/{model_id}/model_files"
tags: ["Files"]
---

# Add a new file to a model

`POST /models/{model_id}/model_files`

## Path parameters

- `model_id` string, required

## Response `202`

Accepted; the files will be added to the model after processing

## Other responses

- `401` — Unauthorized; the request did not provide valid authentication details
- `403` — Forbidden; the provided credentials do not have permission to perform the requested action

## Changes

- **2025-06-26** (v0) `da1160f62c76` — 2 warning
  - removed the request property `files/items/size`
  - removed the request property `files/items/type`
- **2025-06-25** (v0) `21d6a5d2343c` — 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/post.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)
