Reference
Audit log
Every call to the API in the organization, newest first: reads, writes and refusals.
GET
bearerheader
AuthorizationBearer <token>limit?|The most events to return, at most 1000. 1000 by default.
after?stringThe next page: the id of the last one of the page before.
Length
length <= 4096since?stringOnly events at or after this time.
Format
date-timeuntil?stringOnly events before this time.
Format
date-timeactor?stringLength
length <= 200action?stringLength
length <= 200outcome?stringok; denied for lack of access (401, 403); rejected as a bad request (other 4xx); error on our side (5xx).
Value in
"ok""denied""rejected""error"A page of events.
application/json- response
events*array<>next*string|nullcurl -X GET 'https://example.com/v1/audit'Example Response
{ "events": [ { "id": "string", "at": "2019-08-24T14:15:22Z", "org": "string", "owner": "string", "actor": "string", "actorKind": "key", "action": "string", "outcome": "ok", "status": 0, "method": "string", "route": "string", "resource": { "property1": "string", "property2": "string" }, "details": { "property1": null, "property2": null }, "requestId": "string", "clientRequestId": "string", "ip": "string", "userAgent": "string", "durationMs": 0, "bytesIn": 0, "bytesOut": 0, "chain": "string", "seq": 0, "prev": "string", "hash": "string" } ], "next": "string"}