Get Audit Event
Beta/v1/core/audit-events/{id}This endpoint is idempotent. Learn more
Returns an audit event by ID.
idstringAudit event ID.
include[]optional arrayenumValues:actorchangesmetadataSub-objects to expand in the response. When omitted, sub-objects are returned as null.
idstringAudit event ID.
objectstringenumValues:audit_eventResource type identifier.
actionstringenumValues:createupdatedeleteMutation type.
resource_typestringenumValues:accountactorentityResource type of the audited entity.
resource_idstringAudited resource ID.
actorobjectExpandablenullableActor who performed the mutation.
idstringActor ID.
objectstringenumValues:actorResource type identifier.
typestringenumValues:userapi_keyagentActor type.
namestringnullableDisplay name.
handlestringnullableHuman-readable handle (email for users, redacted value for API keys, slug for agents).
roleobjectnullableAssigned role.
null in this endpoint.changesobjectExpandablenullableField-level changes recorded for this event.
objectstringenumValues:listObject type for AuditFieldChange list
page_infoobjectPagination metadata for AuditFieldChange list
next_cursorstringnullableCursor to fetch the next page, null if no more pages.
prev_cursorstringnullableCursor to fetch the previous page, null if on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectArray of AuditFieldChange resources in this page
fieldstringName of the changed field.
old_valueobjectPrevious value as a JSON fragment. Null for creation events.
new_valueobjectNew value as a JSON fragment. Null for deletion events.
metadataobjectExpandableArbitrary JSON metadata for the mutation (e.g. reason, source, tags).
request_idstringnullableOriginating HTTP request ID.
idempotency_keystringnullableIdempotency key of the originating request.
source_ipstringnullableOriginating client IP address.
occurred_atstring (date-time)When the audited mutation occurred.
created_atstring (date-time)When the audit event record was created.
Responses
Successful response for Get Audit Event