Skip to content

Audit

GET /api/audit/changesV2/{eClass}/{id}

Get a structured diff of all changes made to an entity over time. Each entry describes a single field change with the old and new value, who made the change, and any associated audit events.

Request

Path parameters

  • eClass Entity class
  • id Entity ID

Response

[{
"field": string,
"new": any,
"old": any,
"modifiedBy": string,
"modifiedUtc": string,
"auditEvents": [object],
"version": number
}]

Example 1

Get change history for experiment EX001:

GET /api/audit/changesV2/Experiment/EX001

GET /api/audit/changes/{eClass}/{id}

Get the raw audit table rows for an entity. Each row represents the full entity state at a point in time.

Request

Path parameters

  • eClass Entity class
  • id Entity ID

Response

A list of entity snapshots ordered from newest to oldest.

GET /api/audit/events/{eClass}/{id}

Get all structured audit events logged against an entity (e.g. status changes, approvals, file deletions).

Request

Path parameters

  • eClass Entity class
  • id Entity ID

Response

A list of audit event objects.