Reference

Audit log

Every call to the API in the organization, newest first: reads, writes and refusals.

GET
/audit

Authorization

bearer
headerAuthorizationBearer <token>

Query Parameters

limit?|

The most events to return, at most 1000. 1000 by default.

after?string

The next page: the id of the last one of the page before.

Lengthlength <= 4096
since?string

Only events at or after this time.

Formatdate-time
until?string

Only events before this time.

Formatdate-time
actor?string
Lengthlength <= 200
action?string
Lengthlength <= 200
outcome?string

ok; 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"

Response Body

A page of events.

application/json
  1. response
events*array<>
next*string|null
Example Request
curl -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"}