Skip to content

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
  • rolledBackAt is set on a change that has been restored away
  • limit defaults to 50 and is capped at 200. An unparseable limit or offset falls back to the default rather than erroring
x-api-key
required
string

Your API key from account settings.

x-user-email
required
string

The email address of your user.

x-account-id
required
string

The ID of your account. You can find this in the account settings.

x-website-id
required
string

The ID of the workspace you want to use.

path
string

Only return changes to this page path.

limit
integer
default: 50 <= 200

How many entries to return. Capped at 200.

offset
integer
0

Change log entries.

object
entries
Array<object>

One recorded edit to a content library page.

object
id

Pass this to the restore endpoint.

integer
wikiPath
string
operation
string
semanticOperation
string
beforeContent
string
nullable
afterContent
string
nullable
beforeVersion
string
nullable
afterVersion
string
nullable
sourceUrl
string
nullable
agentSummary

The agent’s own account of why it made the change.

string
nullable
trigger

What caused the change, e.g. an import or an agent instruction.

string
triggeredByEmail
string
nullable
changeGroupId

Changes applied together share a group id.

string
nullable
appliedAt
string
nullable
rolledBackAt

Set once the change has been restored away.

string
nullable
limit
integer
offset
integer

Unauthorized - invalid API key.

Not found - the website does not belong to the account.

Bad request - missing websiteId.