---
title: "Upload a global file"
method: POST
path: "/v1/files/{path}"
tags: ["Files"]
---

# Upload a global file

`POST /v1/files/{path}`

Uploads a file to global storage via `multipart/form-data` with a `file` field that accepts either binary data or a URL string to download from.

## Path parameters

- `path` string, required

## Response `200`

Default Response

- FileDetails
  - `path` string, required — Path to the file in the storage system
  - `size` number, required — Size of the file in bytes
  - `lastModified` string, date-time, required — Timestamp when the file was created

## Changes

- **2025-05-29** `4d2368c15e4e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steel-dev/apis/steel-api/changes/v1/files/:path/post.md)

---

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