Skip to content

List a site's revisions (ingest plane)

GET
/ingest/sites/{path}/revisions
curl --request GET \
--url https://example.com/ingest/sites/example/revisions \
--header 'Authorization: Bearer <token>'

Lists the site’s revisions (current plus retained archived versions), so automation can discover the revision id to roll back to. Requires the rollback capability on the target group (versioning must be enabled).

path
required
string

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

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
}
]
}

Invalid request (bad path, malformed body, or missing content).

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Authenticated, but not permitted for this target/capability.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}