Skip to content

Audit

GET /api/v1/companies/{id}/activity

Authentication: BearerAuth.

NameInTypeRequiredDescription
idpathstringYesCompany ID
fromquerystringNoRFC3339 start of window (defaults to now - plan retention)
toquerystringNoRFC3339 end of window (defaults to now)
event_typequeryarray of stringNoFilter by event type (repeatable)
outcomequeryarray of stringNoFilter by outcome
actor_user_idquerystringNoFilter by actor user UUID
target_kindquerystringNoFilter by target kind (paired with target_id)
target_idquerystringNoFilter by target UUID (paired with target_kind)
qquerystringNoFree-text search
cursorquerystringNoOpaque pagination cursor
limitqueryintegerNoPage size (default 50, max 200)
StatusDescriptionBody
200OKAuditListResponse
400Bad RequestErrorResponse
403ForbiddenErrorResponse
500Internal Server ErrorErrorResponse

Daily summary aggregate for a company’s activity

Section titled “Daily summary aggregate for a company’s activity”

GET /api/v1/companies/{id}/activity/summary

Authentication: BearerAuth.

NameInTypeRequiredDescription
idpathstringYesCompany ID
fromquerystringNoRFC3339 start (defaults to now - 30d)
toquerystringNoRFC3339 end (defaults to now)
event_typequeryarray of stringNoFilter by event type (repeatable)
StatusDescriptionBody
200OKAuditSummaryResponse
400Bad RequestErrorResponse
403ForbiddenErrorResponse
500Internal Server ErrorErrorResponse

List the activity feed for the calling user (self-audit)

Section titled “List the activity feed for the calling user (self-audit)”

GET /api/v1/user/me/activity

Authentication: BearerAuth.

NameInTypeRequiredDescription
fromquerystringNoRFC3339 start (defaults to now - 90d)
toquerystringNoRFC3339 end (defaults to now)
event_typequeryarray of stringNoFilter by event type (repeatable)
cursorquerystringNoOpaque pagination cursor
limitqueryintegerNoPage size (default 50, max 200)
StatusDescriptionBody
200OKAuditListResponse
400Bad RequestErrorResponse
500Internal Server ErrorErrorResponse

Part of Crewlet. Generated from the OpenAPI document of the API, version 0.1.0.