Skip to Content
Xeonr Developer Docs
API SpecificationAudit

List Audit Entries

POST
/xeonr.burrow.v1.AuditService/ListAuditEntries

Reads a team's audit feed, newest first, paged with an opaque cursor over (time, id). Every member can read it: an audit trail only one role can see is not much of a deterrent.

Required scopes: burrow:audit:read

Authorization

BearerAuth
AuthorizationBearer <token>

A Xeonr Auth access token whose audience is this API, or a team API key (xk_…), presented as Authorization: Bearer ….

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

team?string
Lengthlength <= 128
timeFrom?string

TimeFrom and TimeTo bound the window. Both unset means everything the platform audit log still holds for the team: the feed is read from trail (BRW-26) and kept for as long as trail's retention keeps it, not for the 90 days burrow keeps sessions. A caller that wants a page of recent rows should say so rather than pay for the walk.

Formatdate-time
timeTo?string

TimeFrom and TimeTo bound the window. Both unset means everything the platform audit log still holds for the team: the feed is read from trail (BRW-26) and kept for as long as trail's retention keeps it, not for the 90 days burrow keeps sessions. A caller that wants a page of recent rows should say so rather than pay for the walk.

Formatdate-time
cursor?string

Cursor is opaque, empty for the first page. A cursor issued before the feed moved to the platform audit log (BRW-26) answers invalid_argument.

Lengthlength <= 512
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
includeFailures?boolean

IncludeFailures adds the attempts that were refused or failed, each with outcome AUDIT_OUTCOME_FAILURE and its failure_code, between the changes that were made. Unset, the feed lists only changes that happened, as it always has, so a client that does not read outcome never shows a refused attempt as a change. Every member may set it. validate:skip — a flag; both values are valid

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.AuditService/ListAuditEntries" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "entries": [
    "map[action:name.reserve actor:urn:xeonr:auth:uid:user:3 at:2026-09-14T11:02:00Z detail:protocol http, retention 30 days id:01JAZ8K3QW5V7N2M4R6T8Y0XCB outcome:AUDIT_OUTCOME_SUCCESS subject:checkout team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60]",
    "map[action:token.create actor:urn:xeonr:auth:uid:user:3 at:2026-10-20T15:11:00Z detail: failureCode:permission_denied id:01JB0C4M8N2P6R0S4T8V2X6Z0A outcome:AUDIT_OUTCOME_FAILURE subject:ci-staging-deploys team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60]"
  ],
  "nextCursor": "MTc5MjY2NjIwMDAwMDAwMDAwMHw1YjJkN2MxZQ"
}