Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.NodeLogService

List node logs

POST
/xmb.api.v1.NodeLogService/ListNodeLogs

Returns log lines shipped by the server's hubs and grabbers, filterable to one node, paged by a keyset cursor on the line id.

Required scopes: xmb:admin

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string

Slug of the server whose nodes these are.

Length1 <= length
nodeKind?string

Narrow to one node. Both set for the panel under a hub or grabber; both unset for the server-wide page. kind without uuid narrows to all nodes of that kind.

Value in"NODE_KIND_UNSPECIFIED" | "NODE_KIND_HUB" | "NODE_KIND_GRABBER" | "NODE_KIND_TUNER"
nodeUuid?string
Lengthlength <= 36
minLevel?string

Only lines at or above this level. UNSPECIFIED means everything.

Value in"LOG_LEVEL_UNSPECIFIED" | "LOG_LEVEL_DEBUG" | "LOG_LEVEL_INFO" | "LOG_LEVEL_WARN" | "LOG_LEVEL_ERROR" | "LOG_LEVEL_FATAL"
afterId?string

Only lines with id strictly greater — the poll cursor for following.

Formatint64
newestFirst?boolean

Newest first, with before_id as the backwards cursor — the tail view.

beforeId?string
Formatint64
pageSize?integer

Lines per page. Zero means the server's default; capped server-side.

Formatint32
Rangevalue <= 1000
sources?array<>

Which streams to interleave. Empty means nodes only — the panel under a single node. Task lines cannot be combined with a node filter, because a task is not a node's.

Itemsitems <= 4
taskBeforeId?string

The task stream's own backwards cursor. Its own field rather than a second meaning for before_id: two sources are two id sequences, and one cursor cannot page both. A stream added later adds a cursor beside it.

Formatint64
nodeSelectors?array<>

Narrow the node stream to a chosen SET of nodes — the logs page's picker, where somebody unticks all but the two machines they are comparing. Overrides node_kind and node_uuid when present. A selector naming a node the server does not have selects nothing, honestly.

Itemsitems <= 64
taskKeys?array<>

Narrow the task stream to chosen definitions, by their registry keys. Empty means every task.

Itemsitems <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NodeLogService/ListNodeLogs" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "lines": [
    "map[bootId:e3d2c1b0-a9f8-4e7d-8c6b-5a4f3e2d1c0b fields:map[session:tx-41 speed:0.86] id:302117 level:LOG_LEVEL_WARN message:Transcoder fell behind real time. nodeKind:NODE_KIND_HUB nodeUuid:3b9e6f0a-1c2d-4e5f-8a7b-6c5d4e3f2a10 source:NODE_LOG_SOURCE_NODE timestamp:2026-10-22T04:24:27Z]"
  ],
  "cursor": "302117",
  "total": "48912",
  "taskCursor": "48912"
}