v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Buckets

Download an object's bytes

Streams the raw bytes of the named object from the bucket on the specified branch, including objects inherited from ancestor branches. Served by the user's session (no customer S3 credentials required).

The body is returned as application/octet-stream so a browser treats it as a download; the Content-Length and ETag response headers echo the stored object metadata.

BINARY-STREAM EXCEPTION TO THE BUILD-GENERATED-TYPES RULE (#7029): the successful 200 body is the raw object stream, proxied verbatim from the platform storage admin endpoint. It is modeled as an application/octet-stream binary body (not a JSON response schema) and is streamed without buffering the whole object in memory. Error responses still use the generated GeneralError shape.

Note: This endpoint is currently in Private Beta.

get/projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}/download

Response

The object's raw bytes, streamed verbatim. Content-Length and ETag headers are set from the stored object metadata; X-Content-Type-Options and Content-Disposition harden the browser against the caller-controlled bytes.