apistockdocs
API reference/Ops: audit

List audit events, newest first

GET/ops/audit

Who did what to which resource, and whether it worked. Filters combine; paginate with `cursor`.

bearer auth

Query parameters

actor_kindstring

user, service, system or anonymous

max length 32
actor_idstring
max length 200
actionstring

Exact action

max length 200
action_prefixstring

Actions starting with this

max length 200
resource_typestring
max length 100
resource_idstring
max length 200
org_idstring
max length 200
outcomestring

success, failure or denied

max length 16
request_idstring
max length 128
fromstring (date-time)

Only events that occurred at or after this time (RFC 3339)

tostring (date-time)

Only events that occurred before this time (RFC 3339)

limitinteger (int64)
≥ 1 · ≤ 100 · default 50
cursorstring

next_cursor from the previous page

max length 30

Responses

200OKapplication/json
eventsarray of objectrequired
next_cursorstring
400Bad Requestapplication/problem+json
codestringrequired

Stable machine-readable error code

detailstring

Human-readable explanation

errorsarray of object

Field-level validation errors

request_idstring

Correlates with server logs and traces

statusinteger (int64)required

HTTP status code

titlestringrequired

Short summary of the problem type

typestring

URI identifying the problem type

401Unauthorizedapplication/problem+json
codestringrequired

Stable machine-readable error code

detailstring

Human-readable explanation

errorsarray of object

Field-level validation errors

request_idstring

Correlates with server logs and traces

statusinteger (int64)required

HTTP status code

titlestringrequired

Short summary of the problem type

typestring

URI identifying the problem type

403Forbiddenapplication/problem+json
codestringrequired

Stable machine-readable error code

detailstring

Human-readable explanation

errorsarray of object

Field-level validation errors

request_idstring

Correlates with server logs and traces

statusinteger (int64)required

HTTP status code

titlestringrequired

Short summary of the problem type

typestring

URI identifying the problem type

422Unprocessable Entityapplication/problem+json
codestringrequired

Stable machine-readable error code

detailstring

Human-readable explanation

errorsarray of object

Field-level validation errors

request_idstring

Correlates with server logs and traces

statusinteger (int64)required

HTTP status code

titlestringrequired

Short summary of the problem type

typestring

URI identifying the problem type

500Internal Server Errorapplication/problem+json
codestringrequired

Stable machine-readable error code

detailstring

Human-readable explanation

errorsarray of object

Field-level validation errors

request_idstring

Correlates with server logs and traces

statusinteger (int64)required

HTTP status code

titlestringrequired

Short summary of the problem type

typestring

URI identifying the problem type

v0.5
esc
↑↓ move↵ openesc close