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

NameTypeRequiredDescription
database_idstringYesTarget database ID
entity_typeenumYesThe kind of entity whose history to read
entity_idstringYesThe entity's ID (document/relationship UUID, or collection/relationship_type id)
limitnumberNoMax results (newest first)
offsetnumberNoPagination offset
diffbooleanNoInclude field-level diffs between consecutive versions
get_change_history — Rekor