List a site's revisions
GET
/api/sites/{path}/revisions
const url = 'https://example.com/api/sites/example/revisions';const options = {method: 'GET', headers: {'Remote-User': '<Remote-User>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/sites/example/revisions \ --header 'Remote-User: <Remote-User>'Returns the live content (current) first, then retained archived
versions newest-first. Available to any authenticated user; hidden sites
are visible only to admins.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”path
required
string
Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.
Responses
Section titled “ Responses ”The site’s revisions.
Media typeapplication/json
object
revisions
required
Array<object>
One browsable version of a site.
object
id
required
current for the live content, otherwise the archive timestamp.
string
current
required
True for the live content.
boolean
created_at
required
string format: date-time
size
required
Total on-disk size in bytes of the revision’s files.
integer format: int64
Examplegenerated
{ "revisions": [ { "id": "example", "current": true, "created_at": "2026-04-15T12:00:00Z", "size": 1 } ]}Missing or invalid credentials.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}No such site, key, or connection.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}