Skip to Content
Xeonr Developer Docs
API SpecificationAPI keys

List Tokens

POST
/xeonr.burrow.v1.TokenService/ListTokens

Lists a team's API keys, newest first, paged with an opaque cursor. Revoked keys are left out unless include_revoked is set. The secret is never returned. Needs the admin role.

Required scopes: burrow:tokens:admin

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
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
includeRevoked?boolean

IncludeRevoked lists revoked keys too, for the audit view.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.TokenService/ListTokens" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "tokens": [
    "map[createdAt:2026-09-02T10:00:00Z createdBy:urn:xeonr:auth:uid:user:3 description:Brings up preview tunnels from the staging deploy pipeline expiresAt:2027-09-02T00:00:00Z id:urn:xeonr:auth:api-key:7e0c1e52-3a0d-4a0a-9b2e-2f0f7a1b9c3d keyPrefix:4fK9pQ2z lastUsedAt:2026-10-22T09:30:00Z name:ci-staging-deploys role:ROLE_EDITOR scopes:[burrow:names:edit burrow:tunnels:read]]"
  ],
  "nextCursor": "MTc5MjY2NjIwMDAwMDAwMDAwMHw1YjJkN2MxZQ",
  "total": "4"
}