The organization's audit log, newest first
const url = 'https://api.global.stillbox.example/v1/audit/events?limit=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Events before this sequence number, for the next page.
A user, API key or sandbox ID; matches the person behind it too.
Responses
Section titled “Responses”Events
object
object
A user, an API key, or the sandbox whose agent acted.
The person behind an API key or an agent.
Console, api, sign-in, agent, connection or platform.
The API operation (createSandbox, for example), or auth.sign_in, auth.sign_out, agent.turn.
The action in words.
object
The event’s SHA-256, in hex.
Pass as before for the next page; absent at the start of the log.
Example
{ "events": [ { "actor_type": "user", "outcome": "ok" } ]}The API key is missing or invalid
object
Example
{ "code": "not_found"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
object
Example
{ "code": "not_found"}