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
auditEvents
Lists audit events in the caller's workspace.
auditEvents(
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:
entityHistory
Retrieves the change history for any entity in the caller's workspace.
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:
Objects
AuditEvent
An audit log entry recording an event that occurred in the system.
Implements: Node
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
workspace
The workspace the event was recorded in. auditEvents and entityHistory list only the caller's workspace's events, so this is always the caller's workspace.
ipAddress
String
The client IP address.
userAgent
String
The client User-Agent string.
traceId
String
The distributed tracing ID (32 hex characters) for log correlation.
aggregateType
The type of entity affected: asset, asset_group, catalog_item (any catalog item), custom_field_definition, device, geo_object, integration, inventory, member, schedule, or workspace.
aggregateId
ID
The ID of the affected entity.
Inputs
AuditEventFilter
Filtering options for audit events.
actorIds
[ID!]
Filter by actors (OR within field).
aggregateIds
[ID!]
Filter by specific entity IDs (OR within field).
traceId
String
Filter by trace ID.
AuditEventOrder
Ordering options for audit events.
Enums
SourceType
The source type identifying the origin of an API request.
WEB
Not recorded. Every event has API.
MOBILE
Not recorded. Every event has API.
API
Recorded on every event, including the events the platform records on its own.
INTERNAL
Not recorded. Every event has API.
INTEGRATION
Not recorded. Every event has API.
AuditEventType
The type of event recorded in the audit log.
CREATED
A new entity was created.
UPDATED
An existing entity was modified.
DELETED
An entity was deleted.
RESTORED
A workspace was restored. Recorded only when Navixy Console reactivates a workspace.
AuditEventOrderField
Fields available for ordering audit events.
OCCURRED_AT
Order by occurrence date.
Pagination types
AuditEventConnection
A paginated list of AuditEvent items.
Implements: Connection
AuditEventEdge
An edge in the AuditEvent connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
See also
Last updated
Was this helpful?