Dashboard API Cookbook
The nfltr.xyz/dashboard admin views (agents, settings) sit behind an authenticated session, the same as any other admin console. This page lists what those APIs serve to a signed-in session; for scripts and CI, use the relay's API with a machine certificate (HTTP API Examples).
Sign in
The dashboard's session comes only from a browser sign-in with Google; there is no key to trade for one. The examples below send that session's cookie ($COOKIE_JAR, saved from your browser) and are for an admin's own tooling.
List connected agents
curl -sS -b "$COOKIE_JAR" https://nfltr.xyz/api/v1/dashboard/agents
Mirrors Home's agents and its Details view: agent id, flavor, capacity, readiness, and last heartbeat.
Read global settings
curl -sS -b "$COOKIE_JAR" https://nfltr.xyz/api/v1/dashboard/global-settings
Enrol machines
New machines join without copying any secret between machines: the Fleet view's Add machine card mints a single-use enrol code or a group enrolment token (POST /api/v1/dashboard/machines/codes, POST /api/v1/dashboard/machines/tokens, signed-in dashboard session), and the machine runs nfltr config login --code <code> or nfltr config login --token <file> --machine <machine name>. See Dashboard.
Related docs
- HTTP API Examples — presence over the relay API
- Dashboard — the same views from the browser