Skip to main content
GET
Get one audit event

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

eventId
string<uuid>
required

Response

Audit event details.

id
string<uuid>
required
actor
object
required
event_type
string
required
payload
object
required
occurred_at
string<date-time>
required
project_id
string<uuid> | null
subject_kind
string | null
subject_id
string<uuid> | null
occurrence_count
integer

Size of the occurrence group this row collapses, counting every member and not just the ones this page loaded. Present only when collapse=true; absent otherwise, so a default read is unchanged.

occurrences
string<date-time>[]

Occurrence timestamps of the group, newest first, capped at 50. Present only when collapse=true.

occurrences_truncated
boolean

The group holds more members than occurrences lists. Present only when collapse=true.

payloads_vary
boolean

Two members of the group disagreed on their payload. Members are identical on the grouping key but NOT on their payloads — an authentication.failed run carries a different reason and remote_ip per occurrence — so the single payload on this row does not speak for all of them. Present only when collapse=true.