Skip to content
ShaireDevelopers

audit

1 endpoint.

The other paged endpoint, and the obvious feed for anything exporting to a SIEM. Admin only, and the role is checked on the controller rather than the route.

get/api/audit#

workspace:adminadmin only

Query

limitinteger
default 50 · min 1 · max 200
cursorstring
actorIdstring · uuid
subjectTypestring
ticketmilestonepageworkspace
fromstring · date
tostring · date
Request
curl https://api.shairelabs.com/api/audit \
  -H "Authorization: Bearer $SHAIRE_TOKEN"

Response · 200 · AuditPage

itemsobject[]*
[item]object
idstring · uuid*
typestring*
subjectTypestring*
ticketmilestonepageworkspace
subjectIdstring · uuid*
entityobject | null*
typestring*
ticketpagemilestonelist
idstring · uuid*
titlestring*
subtitlestring | null*
keystring | null*
listIdstring · uuid | null*
statusIdstring · uuid | null*
iconstring | null*
glyphstring | null*
actorobject | null*
idstring · uuid*
namestring*
payloadobject*
[key: string]unknown
sourcestring*
webapimcpgitjob
occurredAtstring*
nextCursorstring | null*

Also answers 401 and 403. SeeErrors.