---
title: "Create a file"
method: POST
path: "/files/create"
tags: ["Files"]
---

# Create a file

`POST /files/create`

Upload a file using multipart/form-data.

## Response `200`

File uploaded successfully

- FileInfo — File information
  - `id` string, required — Unique identifier for the file
  - `name` string, required — Name of the file
  - `mimeType` string, nullable, required — MIME type of the file
  - `sizeBytes` number, nullable, required — Size of the file in bytes
  - `downloadUrl` string, nullable, required — Signed URL to download the file directly
  - `key` string, nullable, required — Key identifier for the file (for example, a key provided when completing a download for the file).

## Other responses

- `400` — Invalid request - file is required

---

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