Content History
List the revisions of a project written in Syntext, and read what one changed.
Every save, upload, restore and publish-ready change to a project written in Syntext is a numbered revision. History is never rewritten: a restore adds a new revision.
Any workspace member (session JWT), or an API key bound to this project with the read scope or higher.
Query Parameters
pathguides/quickstart.mdx.limit20beforepagination.nextBefore.Response
Newest first.
sourceeditor, template, import (an upload), restore, agent (the editor's Assistant), mcp, api, schedule or github-snapshot (pages copied from GitHub when it was disconnected).authornull for an API key or an automated change.restoredFrombuildIdpublishedtrue when the live site includes this revision: it's at or before the newest revision a successful publish deployed.pagination.nextBeforebefore for older revisions. null on the last page.Get a revision
/v1/projects/{projectId}/content/revisions/{number}One revision and every file it changed. Add ?content=true for each text file's content after the change — what the dashboard's per-file diff compares.
op — add, modify or delete. A deleted file has sha: null.kind — text or asset (an image; images have no content).Error Responses
400 Bad Request
validation_error — {number} isn't a positive integer, or a query parameter is out of range.
404 Not Found
not_found — no revision with that number in this project, or the project doesn't exist.
409 Conflict
content_source_github / content_source_upload — the project isn't written in Syntext. See Errors on GitHub and CLI projects.