Skip to content

Read the tenant's audit trail

GET
/api/v1/audit-trail
curl --request GET \
--url 'https://app.avera.io/api/v1/audit-trail?page=0&pageSize=50'

The same unified, append-only trail across the tenant, scoped to what the caller may see: a tenant administrator reads everything, everyone else reads the projects they can read items in, plus the project-less entries they are the actor of.

whatHappened
Array<string>
actorId
string format: uuid
entityType
string
entityId
string format: uuid
from
string format: date-time
to
string format: date-time
page
integer format: int32
0
pageSize
integer format: int32
default: 50

OK

Media type*/*
object
items
required
Array<object>
object
id
required
string format: uuid
source
required
string
projectId
string | null format: uuid
branchId
string | null format: uuid
occurredAt
required
string format: date-time
actorId
required
string format: uuid
actorKind
required
string
actorName
string | null
actorEmail
string | null
whatHappened
required
string
entityType
required
string
entityId
required
string format: uuid
entityNumber
string | null
seq
integer | null format: int64
detail
One of:
object
container
boolean
nodeType
string
Allowed values: ARRAY BINARY BOOLEAN MISSING NULL NUMBER OBJECT POJO STRING
string
boolean
integralNumber
boolean
missingNode
boolean
valueNode
boolean
pojo
boolean
number
boolean
short
boolean
int
boolean
long
boolean
double
boolean
bigDecimal
boolean
bigInteger
boolean
textual
boolean
boolean
boolean
binary
boolean
floatingPointNumber
boolean
empty
boolean
array
boolean
null
boolean
object
boolean
float
boolean
embeddedValue
boolean
changes
One of:
object
container
boolean
nodeType
string
Allowed values: ARRAY BINARY BOOLEAN MISSING NULL NUMBER OBJECT POJO STRING
string
boolean
integralNumber
boolean
missingNode
boolean
valueNode
boolean
pojo
boolean
number
boolean
short
boolean
int
boolean
long
boolean
double
boolean
bigDecimal
boolean
bigInteger
boolean
textual
boolean
boolean
boolean
binary
boolean
floatingPointNumber
boolean
empty
boolean
array
boolean
null
boolean
object
boolean
float
boolean
embeddedValue
boolean
correlationId
string | null
clientIp
string | null
userAgent
string | null
referencedItems
required
object
key
additional properties
object
number
required
string
itemTypeId
required
string
icon
string | null
color
string | null
branchKey
string | null
branchName
string | null
attributeLabels
required
object
key
additional properties
string
total
required
integer format: int64
page
required
integer format: int32
pageSize
required
integer format: int32
hasNext
required
boolean
totalIsLowerBound
required
boolean