Volume Files

Create Upload URL

Changed on

Get a pre-signed URL to upload a file of any size (up to 5 GB) directly to storage. PUT the file body to signed_url and send the returned headers unchanged.

post/v1/volumes/{volume_id}/files/upload-url

Request

  • Base URL
    https://api.anchorbrowser.io
  • Auth
    API key in header anchor-api-key

Path parameters

volume_idstring uuid required

Request body

pathstring required

Destination path relative to the volume root

content_typestring

MIME type of the file. Defaults to application/octet-stream.

sizeinteger

Size in bytes, if known

Example request

{
  "path": "inputs/dataset.csv"
}

Response

Upload URL created

Changes