Skip to content

List a site's revisions

GET
/api/sites/{path}/revisions

Returns the live content (current) first, then retained archived versions newest-first. 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.

The site’s revisions.

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

Missing or invalid credentials.

object
error
required
string

No such site, key, or connection.

object
error
required
string