Skip to content

Download a single file from a revision

GET
/api/sites/{path}/revisions/{rev}/file

Streams one file with a Content-Disposition: attachment header. Available to any authenticated user; hidden sites are visible only to admins.

path
required
string

Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.

rev
required
string

A revision ID — current for the live content, or an archive timestamp from GET …/revisions.

path
required
string

Slash-separated file path within the revision.

The file contents.

string format: binary

Missing or invalid credentials.

object
error
required
string

No such site, key, or connection.

object
error
required
string