Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

A signed file (the signature is the auth; no API key)

GET
/files/{path}
curl --request GET \
--url http://localhost:8300/files/example \
--header 'Range: bytes=0-1048575'

Only reachable through a url the API returned. Served with Content-Security-Policy: sandbox and X-Content-Type-Options: nosniff, the object’s stored Content-Type (image/png, video/mp4, …), its Content-Length and ETag, and Accept-Ranges: bytes. A Range: bytes=<a>-<b> / <a>- / -<n> header (one range; a multi-range header is answered as if absent, 200) gets 206 with Content-Range: bytes <a>-<b>/<size> and just those bytes, streamed from the object store’s own range read, so a <video> can seek; a range that starts past the end is 416 with Content-Range: bytes */<size>. HEAD answers the same headers without a body. Kong passes Range through and buffers nothing.

path
required
string

Storage-relative path (may contain slashes)

exp
integer

Expiry, unix seconds (missing = 403, not 422)

sig
string

HMAC signature of path and exp (missing = 403, not 422)

Range
string
/^bytes=/

One byte range (RFC 9110); absent = the whole file

The file

Media typeapplication/octet-stream
string
Content-Security-Policy
string
Allowed value: sandbox
X-Content-Type-Options
string
Allowed value: nosniff
Accept-Ranges
string
Allowed value: bytes

The requested range of the file

Media typeapplication/octet-stream
string
Content-Range
string
Content-Security-Policy
string
Allowed value: sandbox
X-Content-Type-Options
string
Allowed value: nosniff
Accept-Ranges
string
Allowed value: bytes

The gateway (Kong/nginx) refuses a path that climbs above the root (.. segments) before the API sees it

Media typetext/html
string

Bad or missing signature, expired link, a path that escapes the store, or no such file (never 404)

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The range starts past the end of the file (Content-Range: bytes */<size>)

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}