get_change_history
Retrieve the change history (audit log) for a document, relationship, collection, or relationship type — every version as a full snapshot, plus who changed it (actor), the operation (create/update/delete/cancel/archive), and when. Admin-only: organization owners/admins, or a token explicitly granted read:audit; ordinary agent tokens receive 403.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
database_id | string | Yes | Target database ID |
entity_type | enum | Yes | The kind of entity whose history to read |
entity_id | string | Yes | The entity's ID (document/relationship UUID, or collection/relationship_type id) |
limit | number | No | Max results (newest first) |
offset | number | No | Pagination offset |
diff | boolean | No | Include field-level diffs between consecutive versions |