Skip to main content
Introducing packages.sweber.dev
Documentation menuHTTP endpoint

HTTP endpoint

Parameters and responses of createAuditHandler.

GET only. Other methods answer 405.

ParameterMaps to
actoractorId
actionaction; comma-separated or repeated, prefix.* allowed
targettargetId
targetTypetargetType
from, toTime range, ISO 8601
qsearch
limitPage size, at most 500
cursorNext page
idReturn one event instead of a page

Responses:

StatusBody
200{ "events": AuditEvent[], "nextCursor": string | null } or one AuditEvent
400{ "error": "..." } for invalid dates, limits or cursors
403authorize returned null
404Event not found in the caller's tenant

Responses carry cache-control: no-store.