Skip to main content
GET
Read the audit log
Takes a signed-in session only. A managing key is refused with 403. See How it works for what the gateway records. What was done in this organization, newest first. An admin or owner reads every row; anyone else reads only their own actions. Rows older than the organization keeps never show. A signed-in session only.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Query Parameters

limit
integer
default:50

How many rows, 1 to 100. Default 50.

Required range: 1 <= x <= 100
cursor
string

The nextCursor of the previous page. Opaque.

Required string length: 1 - 2048
action
string
Required string length: 1 - 64
service
string
Required string length: 1 - 64
actor
string

Only the actions of this person (their user id).

Required string length: 1 - 128
since
string<date-time>

From this time, ISO 8601.

until
string<date-time>

To this time, ISO 8601.

Response

One page of the log.

data
object[]
required
nextCursor
string | null
required

Pass as ?cursor= for the next page. null on the last.