Skip to content

The newest ledger events, newest first, without audit reads (not itself recorded)

GET
/v1/audit/recent
curl --request GET \
--url 'https://example.com/v1/audit/recent?limit=10' \
--header 'Authorization: Bearer <token>'

Returns the newest ledger events, newest first, leaving out the ledger’s own audit.read events. It is the console’s notification read: it is not itself recorded, so polling it does not grow the chain. Searching, exporting and verifying the ledger stay recorded.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

limit
integer
default: 10 >= 1 <= 50

How many events, 1 to 50 (default 10).

OK

Media type application/json
object
head_seq
required

The ledger head the events were read at; 0 when the ledger is empty.

integer
items
required
Array<object>
object
action
required
string
actor
required
string
actor_kind
required
string
hash
required

Hex-encoded SHA-256 of this event

string
id
required
string format: uuid
occurred_at
required
string format: date-time
prev_hash
required

Hex-encoded SHA-256 of the previous event

string
seq
required
integer format: int64
sig

Base64-encoded Ed25519 signature

string
target_id
string
target_kind
string
Example generated
{
"head_seq": 1,
"items": [
{
"action": "example",
"actor": "example",
"actor_kind": "example",
"hash": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"occurred_at": "2026-04-15T12:00:00Z",
"prev_hash": "example",
"seq": 1,
"sig": "example",
"target_id": "example",
"target_kind": "example"
}
]
}

Bad request

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Unauthenticated

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Forbidden

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Not found

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Conflict / setup required

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}

Rate limited

Media type application/json
object
error
required
object
code
required
string
message
required
string
module

With code module_not_enabled: the namespace of the module this node does not run.

string
Example generated
{
"error": {
"code": "example",
"message": "example",
"module": "example"
}
}