---
title: "Reserve a key + presigned PUT URL for a big file"
method: POST
path: "/v1/admin/models/{id}/files/presign"
tags: ["admin/models"]
---

# Reserve a key + presigned PUT URL for a big file

`POST /v1/admin/models/{id}/files/presign`

## Request

- Base URL: `https://api.ditto.audio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ditto.audio/v1/admin/models/{id}/files/presign`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- PresignUploadDto
  - `fileName` string, required
  - `role` 'model' | 'config' | 'vocab' | 'speakers' | 'index' | 'sample' | 'archive' | 'other', required
  - `contentType` string

## Response `201`

---

[API](https://skmtc.dev/ditto/apis/ditto-audio-api.md) · [All operations](https://skmtc.dev/ditto/apis/ditto-audio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ditto/apis/ditto-audio-api/revisions/30c8d7c218da?raw)
