Skip to main content
POST
Upload File

Authorizations

anchor-api-key
string
header
required

API key for your Anchor Browser account, sent as the anchor-api-key header on every request. Create one at app.anchorbrowser.io (API Access), or obtain one programmatically via the unauthenticated agent-access flow (POST /v1/agent-access).

Path Parameters

volume_id
string<uuid>
required

Body

multipart/form-data
file
file
required

The file to upload

path
string

Destination path relative to the volume root, e.g. downloads/report.pdf. Defaults to the uploaded file's name at the root.

overwrite
enum<string>

Replace an existing file at path. Defaults to false.

Available options:
true,
false

Response

File uploaded

data
object