GRIDTACDocsFirmware
Beta. The API, GT-Link and hardware support are new: they work, and may still change before they are announced. Breaking changes are noted on these pages first.

Dashboard

The spectator view of one game: the score, who holds which zone, the phase and the clock, and the big moments. Made for a screen at the base, a scoreboard on a stream, or a Discord bot. It shows where players are only if the game master turns that on, and then only as they were several minutes ago (Delayed positions).

GET /api/v1/dashboard
Authorization: Bearer gt_dash_…

Needs a dashboard key (gt_dash_), which only the game master can create (Authentication). The key belongs to one game; the dashboard is that game's.

Response

{
  "game": {
    "id": "…",
    "name": "Operation Northwind",
    "phase": "live",
    "paused": false,
    "startsAt": "2026-11-14T08:00:00.000Z",
    "startedAt": "2026-11-14T08:03:12.000Z",
    "endsAt": "2026-11-14T15:00:00.000Z"
  },
  "serverTime": "2026-11-14T10:41:07.000Z",
  "scoreVisible": true,
  "teams": [
    { "id": "…", "name": "Blue", "color": "#6E9BD1", "points": 420 },
    { "id": "…", "name": "Red", "color": "#D16E6E", "points": 385 }
  ],
  "zones": [{ "id": "…", "name": "ALPHA", "ownerTeamId": "…" }],
  "events": [{ "type": "zone_captured", "at": "2026-11-14T10:38:55.000Z", "summary": "Blue took ALPHA" }],
  "positions": null
}
Field Meaning
game.phase draft, scheduled, live, paused or ended.
game.paused The game master has paused the game clock.
serverTime Use it to draw countdowns to startsAt and endsAt without trusting the viewer's clock.
scoreVisible false when the game master has hidden the score; points is then null for every team. Always true once the game has ended.
zones The active zones every side can see, with the team that holds each (null = nobody). A zone the game master hid from a side is not listed.
events The 20 latest moments meant for everyone: zones taken and lost, hot zones, hold bonuses, delivered items, a side out of tickets, the game paused and resumed, a UAV or EMP fired or ended (with the sides by name).
positions null unless the game master shows delayed positions; see below.

Live, or running behind

The dashboard has two modes, set by the game master in the game's settings (Map permissions, "Spectator dashboard"):

  • No positions (the default): live. The score, the zones, running UAVs and EMPs and the latest moments as they happen. Made for games that need no map, such as indoor games.
  • Positions with a delay of N minutes: the whole screen runs N minutes behind. Not only the positions: the score, who holds which zone, the UAVs and EMPs and the moments are all as they were N minutes ago, like an after-action review running late. A screen at the base can then never help anyone ghost.
Field Meaning
delayMin null when live; else how many minutes behind everything in the answer is.
asOf The moment the answer shows: serverTime, or about serverTime minus the delay.
waitingUntil Running behind and there is no picture that old yet (the delay was just turned on, or the game just started): when there will be one. Until then teams has no points and zones, effects and events are empty.
effects Running UAVs and EMPs: kind (uav or emp), the side that fired it (teamId), targetTeamIds, radiusM (null for a whole side; where the circle is never shows) and leftSec, the seconds left at asOf.
area [west, south, east, north] around what every side may see of the play area, to frame a map. null when the game has no map or zones.

UAVs and EMPs show on the dashboard for every side, also when only the side that fired it was told in the app.

Delayed positions

Off by default. The game master can turn them on in the game's settings (Map permissions, "Spectator dashboard") with a delay of 5, 10, 15 or 30 minutes (the server accepts any whole number from 5 to 120). positions is then:

"positions": {
  "delayMin": 10,
  "asOf": "2026-11-14T10:31:07.000Z",
  "units": [
    { "callsign": "HAWK", "teamId": "…", "point": { "lat": 55.6012, "lon": 13.0034 }, "at": "2026-11-14T10:30:58.000Z" }
  ]
}
Field Meaning
delayMin How far back the positions are. Never less than 5 minutes.
asOf The moment shown: serverTime minus the delay.
units Every player's last position at or before asOf, with their side. A player who had not reported for three minutes before asOf is left out. at is when that position was taken.

The positions come from the game's position history, never from the live map: nothing newer than asOf is in the answer. There is no health, status or role, and no positions before the game starts.

For a TV at the base or a stream there is no need for a key or a script: the game master makes a spectator link in the game's settings (Map permissions, "Spectator link") and opens it on any screen. It looks like https://gridtac.com/watch#gt_link_…, needs no account, and shows this same dashboard, big enough to read across a room. The game master can turn a link off at any time, and every screen on it says so within seconds.

  • Anyone who has the link sees the screen, so share it like a key. The part after # never leaves the viewer's browser in a request line, so it does not end up in server logs.
  • A link is a key of kind link (gt_link_): it reads GET /api/v1/dashboard like a dashboard key and nothing else, on the same budget, shared by every screen on that link. The page polls every 10 seconds and follows Retry-After.
  • At most five live links per game. A link stops working 24 hours after its game ends.
  • Making one needs the game master's sign-in, not two-factor: the link shows only what this page shows, which never includes anything live about a player.

What it never shows

Live positions, players' status, callsigns of anyone in trouble, SOS calls, orders, chat, and anything the game master shows to one side only. A dashboard key sees less than any player.

Freshness

The dashboard is rebuilt at most every 5 seconds per game and shared by every viewer, so poll it every 5 to 10 seconds. A dashboard key may read 120 times a minute (rate limits).