Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

bucket
string
required

Body

multipart/form-data
file
file
required

The file's bytes.

prefix
string
default:""

The folder to write into, e.g. raw/2026/.

path
string | null

The file's path within the folder being uploaded, e.g. q1/sales.csv. This is how a folder upload arrives: the browser gives each file its path and sends one request per file. Defaults to the file's own name.

overwrite
boolean
default:false

Replace an object already at that key.

Response

Successful Response

bucket
string
required
key
string
required
name
string
required
url
string
required

s3://bucket/key

size
integer
required
modified
string<date-time> | null
content_type
string | null
etag
string | null