Rest API
Get the content library change log
GET /api/v1/wiki/change-log
The history of content library edits, newest first, with the before and after content of each change.
Notes
- The before and after snapshots are returned raw; nothing computes a diff for you
rolledBackAtis set on a change that has been restored awaylimitdefaults to 50 and is capped at 200. An unparseablelimitoroffsetfalls back to the default rather than erroring
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Your API key from account settings.
The email address of your user.
The ID of your account. You can find this in the account settings.
The ID of the workspace you want to use.
Query Parameters
Section titled “Query Parameters ”Only return changes to this page path.
How many entries to return. Capped at 200.
Responses
Section titled “ Responses ”Change log entries.
object
One recorded edit to a content library page.
object
Pass this to the restore endpoint.
The agent’s own account of why it made the change.
What caused the change, e.g. an import or an agent instruction.
Changes applied together share a group id.
Set once the change has been restored away.
Unauthorized - invalid API key.
Not found - the website does not belong to the account.
Bad request - missing websiteId.