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

# Create a file

`POST /api/v1/files`

## Request body

- object
  - `accessToken` string
  - `userId` string
  - `name` string
  - `mimeType` string
  - `sizeBytes` number
  - `projectId` string, nullable
  - `parentId` string, nullable
  - `conversationId` string
  - `kind` string

## Response `200`

Successful response. Stable response schemas are documented in workflow guides when available.

- unknown

## Other responses

- `400` — Invalid request.
- `401` — Missing or invalid authentication.
- `500` — Unexpected server error.

---

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