Audit
Query the audit trail to retrieve a paginated, filterable log of entity create, update, and delete events across your workspace.
Audit trail of the changes to the entities of your workspace.
Queries
myAuditEvents
Lists the audit events of the product bdr in the caller's workspace, newest first by default. Only bdr's events are read: filter.products absent or empty reads them, and naming any other product fails with VALIDATION_ERROR, since this field does not serve it. Billing's events are read through BillingQuery.myAuditEvents.
myAuditEvents(
filter: AuditEventFilter
first: Int
after: String
last: Int
before: String
orderBy: AuditEventOrder = { field: OCCURRED_AT, direction: DESC }
): AuditEventConnection!Arguments
filter
AuditEventFilter
Filtering options for the returned audit events.
orderBy
AuditEventOrder
The ordering options for the returned audit events.
Input types:
Output types:
myEntityHistory
Retrieves the change history of any entity in the caller's workspace: the audit events of the product bdr about it, newest first by default. The products are as for myAuditEvents.
Arguments
entityId
ID!
The ID of the entity to retrieve history for.
filter
AuditEventFilter
Filtering options for the returned audit events.
orderBy
AuditEventOrder
The ordering options for the returned audit events.
Input types:
Output types:
See also
Last updated
Was this helpful?