Skip to Content
Xeonr Developer Docs

Mint a telemetry read token

POST
/xmb.api.v1.TelemetryService/MintTelemetryReadToken

Mints a short-lived read-only Lantern token scoped to one server, and optionally to one install, node, task run or playback session on it. The admin UI queries Lantern directly with it.

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
Length1 <= length
installId?string

One app install.

Lengthlength <= 64
node?

One node — a hub or grabber this server owns or has been granted. A shared hub's log is read NARROWED, exactly as ListNodeLogs narrows it: the lines this tenant's own requests tagged, plus the untagged machine-level remainder.

taskRunUuid?string

One task run on this server.

Lengthlength <= 36
playbackSessionId?string

One playback session on this server — the app's, the hub's and the platform's lines about the same play, together.

Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TelemetryService/MintTelemetryReadToken" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "url": "https://in.lntrn.dev",
  "projectId": "xmb",
  "token": "eyJhbGciOiJFZERTQSIsImtpZCI6InhtYi0xIn0.eyJleHAiOjE3NjExMjQ2MDB9.c2lnbmF0dXJl",
  "expiresIn": "900s"
}