v1
latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KBBuckets
Presign an upload or download for an object in a bucket
Returns a presigned URL that transfers bytes directly to or from the object's bucket on the specified branch, without the caller ever handling S3 credentials. The operation field selects the direction:
- upload returns a presigned PUT URL (the caller PUTs the file bytes straight to url with the returned headers). Authorized with project write access.
- download returns a presigned GET URL (the caller GETs the bytes straight from url). Authorized with project read access.
The platform mints a short-lived credential and builds the SigV4-signed URL against the branch's S3 data-plane host, returning it together with the HTTP method, any headers the caller must echo, and the URL's expiry.
Served by the user's session (no customer S3 credentials required).
Note: This endpoint is currently in Private Beta.
post/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}/presign
Request body
Response
A presigned URL valid until expires_at. The caller transfers the object bytes by issuing method url with the returned headers.