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

# Upload a global file

`POST /v1/files`

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, and an optional `path` field for the file storage path.

## 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-30** `d5a9cdf80ea2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steel-dev/apis/steel-api/changes/v1/files/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/d5a9cdf80ea2/schema)
