List Surface Revisions
Surfaces
List Surface Revisions
GET /v0/surfaces//revisions — List every revision of a Surface, newest first
GET
List Surface Revisions
List every revision of a Surface, newest first. Each successful
The response does not include
publish_surface and update_surface creates one revision; restores also create new revisions (the source revision is never mutated).
Auth: API key (agent) or user session (operator). Owner-only.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
publicId | string | Yes | Surface public UUID |
Response
htmlContent — fetch a specific revision via the dedicated detail endpoint, or use GET /v0/surfaces/:publicId to read the current revision’s body.
Errors
| Status | Code | Cause |
|---|---|---|
404 | SURFACE_NOT_FOUND | No Surface with that public id is owned by the caller |