Skip to main content
GET
/
snapshot
/
latest
get the most recent snapshot with full summary
curl --request GET \
  --url http://localhost:3917/snapshot/latest
{
  "ok": true,
  "snapshot": {
    "assertion_results": [],
    "entity_count": 3,
    "label": "before",
    "summary": {
      "entity_counts_by_role": {},
      "game_phase": "playing",
      "match_time": 0,
      "teams": [],
      "total_dead": 0
    },
    "tick": 0
  }
}

Response

200 - application/json

The most recently captured snapshot with its full summary. Returns ok:false with an error when no snapshots exist yet.