Skip to Content
Xeonr Developer Docs
API SpecificationSessions

List Sessions

POST
/xeonr.burrow.v1.SessionService/ListSessions

Lists a team's agent sessions, newest first, paged with an opaque cursor over (started_at, id). A session with no ended_at was still connected at the last write — which, after a gateway is killed without draining, can outlive the connection itself.

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 retention window still holds, which is 90 days — this was the whole of the team's history until BRW-17 gave the table a TTL, and 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 retention window still holds, which is 90 days — this was the whole of the team's history until BRW-17 gave the table a TTL, and 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.

Lengthlength <= 512
limit?integer

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

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.SessionService/ListSessions" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "sessions": [
    "map[agentVersion:v0.9.0 clientIp:198.51.100.7 id:b7e3d1a9-5c2f-4b8e-a6d0-4f1c3e5a7b92 protocol:PROTOCOL_HTTP startedAt:2026-10-22T08:05:12Z subject:urn:xeonr:auth:uid:user:3 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60 tunnel:checkout]"
  ],
  "nextCursor": "MTc5MjY2NjIwMDAwMDAwMDAwMHw1YjJkN2MxZQ"
}