---
title: "Prepare a direct model file upload"
method: POST
path: "/v1/models/{modelId}/files/prepare-upload"
tags: ["Models", "Public"]
---

# Prepare a direct model file upload

`POST /v1/models/{modelId}/files/prepare-upload`

Reserves the collision-safe storage path for a direct-to-Supabase model file upload.

## Path parameters

- `modelId` string, required

## Request body

- object
  - `organizationId` string, required
  - `filename` string, required
  - `fileType` string
  - `fileSize` number

## Response `200`

Default Response

---

[API](https://skmtc.net/printhiv3d/apis/hive-api-documentation.md) · [All operations](https://skmtc.net/printhiv3d/apis/hive-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/printhiv3d/hive-api-documentation/versions/3b06bcb5f808/schema)
