Skip to main content
Search the audit log

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

photoSize
enum<string>
default:nano

Which rendition of the profile pictures to return. It only matters when the people behind the entries are being returned as well.

Available options:
nano,
small,
medium,
big
Example:

"nano"

Body

application/json
includeUsers
boolean
default:false

Looks up the people the returned entries refer to and returns them alongside, so a client can show names and pictures rather than bare usernames.

Example:

false

logsQuery
object

Which entries to return, as a search query over the fields of an audit entry. A caller who is not an administrator may not query the fields that are withheld from them, and a query that mentions one is refused rather than quietly narrowed.

scroll
object

Ask for the results a page at a time. Send it on the first call to open the paging, then send back the handle each page returns to get the next one. Do not combine it with an offset in the query.

Response

Returns the matching entries and how many there are altogether. Matching nothing is a success with an empty list.

results
object[]

The matching entries, newest sorting first unless the search asked otherwise.

scrollId
string

Handle for fetching the next page of this same search. It changes with every page, so always send back the one that came last. It is only present when the search was started with paging.

Example:

"8kZtoG59p8qvO4a5LepHCNaR7LGH7BKFIAU1rd5DAEBPi4pxxIA6NVOAd0GXKB1m"

total
number

How many entries match the search altogether, not just how many came back in this page.

Example:

51221

users
object[]

Details of the people the returned entries refer to, so a client can show names and pictures instead of bare usernames. It is filled in only on request, and it leaves out anyone the caller may not see.