Skip to content

The organization's audit log, newest first

GET
/audit/events
curl --request GET \
--url 'https://api.global.stillbox.example/v1/audit/events?limit=100' \
--header 'Authorization: Bearer <token>'

Who did what, through which agent (ADR 0033): every change made through the API or the console, terminals opened, files read, sign-ins and each agent turn, with the person behind it. Owners and auditors can read it.

before
integer format: int64

Events before this sequence number, for the next page.

actor
string

A user, API key or sandbox ID; matches the person behind it too.

action
string
target
string
since
string format: date-time
until
string format: date-time
limit
integer
default: 100 >= 1 <= 500

Events

Media typeapplication/json
object
events
required
Array<object>
object
seq
required
integer format: int64
at
required
string format: date-time
actor_type
required
string
Allowed values: user api_key agent system
actor_id
required

A user, an API key, or the sandbox whose agent acted.

string
sponsor_id

The person behind an API key or an agent.

string
via
required

Console, api, sign-in, agent, connection or platform.

string
action
required

The API operation (createSandbox, for example), or auth.sign_in, auth.sign_out, agent.turn.

string
summary

The action in words.

string
target_type
string
target_id
string
outcome
required
string
Allowed values: ok denied failed
ip
string
details
required
object
key
additional properties
any
hash
required

The event’s SHA-256, in hex.

string
next_before

Pass as before for the next page; absent at the start of the log.

integer format: int64

Example

{
"events": [
{
"actor_type": "user",
"outcome": "ok"
}
]
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}