Docs

API reference · Audit log

List audit log entries, newest first

GET/v1/orgs/{org}/audit-log
Permission
audit.entries.read
Operation
audit.entries.list

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
actionquerystringno0 to 100 characters
actorKindquerystringnoone of "user", "api_token", "system"
actorIdquery"system" or string or stringno
resourceTypequerystringno0 to 50 characters
resourceIdquerystringno0 to 100 characters
fromquerystring (date-time)noUTC, ISO 8601.
toquerystring (date-time)noUTC, ISO 8601.
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 200

FieldTypeRequiredNotes
itemsarray of objectyes
items[].idstringyesfor example "audit_01h455vb4pex5vsknk084sn02q"
items[].sequenceintegeryesmore than 0
items[].occurredAtstring (date-time)yesUTC, ISO 8601.
items[].actionstringyes
items[].actorobjectyes
items[].actor.kindstringyesone of "user", "api_token", "system"
items[].actor.idstringyes
items[].resourceobjectyes
items[].resource.typestringyes
items[].resource.idstringyes
items[].requestIdstringyes
items[].ipstring or nullyes
items[].dataobjectyes
items[].redactedarray of stringyes
items[].hashstringyes64 to 64 characters
nextCursorstring or nullyes