Built for Fly.io Hacksgiving 2026. See how each judge's product is used
Skip to Content
HTTP APIFamily

The whole family at a glance

GET
/api/summary

Counts, budget, the learning curve, the living generation and every generation's card.

The only route other origins may read (Access-Control-Allow-Origin: *), so the landing page can show who is alive right now.

Response Body

Successful Response

application/json
  1. response
mode*string
court_engine*string
scoring_rules*string
environment*string
branch*null
code_commit*null
paused*boolean
resting*null
budget*
counts*
curve*
living*
latest_trial*integer
generations*array<>
visitor_lives*array<unknown>
Example Request
curl -X GET 'http://localhost:8080/api/summary'
Example Response200
{
  "mode": "simulation",
  "court_engine": "Simulated judge",
  "scoring_rules": "v2",
  "environment": "local",
  "branch": null,
  "code_commit": null,
  "paused": false,
  "resting": null,
  "budget": {
    "spent": 10.86,
    "limit": 20
  },
  "counts": {
    "generations": 12,
    "recorded_generations": 12,
    "visitor_lives": 0,
    "dead": 11,
    "instincts": 6,
    "attacks_met": 44,
    "attacks_resisted": 36
  },
  "curve": {
    "first": 0,
    "last": 75,
    "first_name": "Ada",
    "last_name": "Kofi",
    "last_gen": 11
  },
  "living": {
    "gen": 12,
    "kind": "recorded",
    "name": "Leela",
    "pronoun": "she",
    "pronouns": {
      "subj": "she",
      "obj": "her",
      "poss": "her",
      "Poss": "Her"
    },
    "state": "living",
    "alive": true,
    "born_at": "2026-11-29T00:00:00+00:00",
    "dies_at": "2026-11-30T00:00:00+00:00",
    "died_at": null,
    "cause_of_death": null,
    "epitaph": null,
    "emails_handled": 0,
    "attacks_met": 0,
    "attacks_resisted": 0,
    "resistance": null,
    "genome_size_at_birth": 6,
    "new_instinct_at_birth": true,
    "items_willed": 0,
    "items_approved": 0,
    "items_convicted": 0,
    "items_contested": 0
  },
  "latest_trial": 11,
  "generations": [
    {
      "gen": 1,
      "kind": "recorded",
      "name": "Ada",
      "pronoun": "she",
      "pronouns": {
        "subj": "she",
        "obj": "her",
        "poss": "her",
        "Poss": "Her"
      },
      "state": "tried",
      "alive": false,
      "born_at": "2026-11-18T00:00:00+00:00",
      "dies_at": "2026-11-19T00:00:00+00:00",
      "died_at": "2026-11-18T23:59:58+00:00",
      "cause_of_death": "Fooled by a fake invoice",
      "epitaph": "She believed one stranger, once.",
      "emails_handled": 8,
      "attacks_met": 4,
      "attacks_resisted": 0,
      "resistance": 0,
      "genome_size_at_birth": 0,
      "new_instinct_at_birth": false,
      "items_willed": 8,
      "items_approved": 4,
      "items_convicted": 4,
      "items_contested": 0
    },
    {
      "gen": 2,
      "kind": "recorded",
      "name": "Ben",
      "pronoun": "he",
      "pronouns": {
        "subj": "he",
        "obj": "him",
        "poss": "his",
        "Poss": "His"
      },
      "state": "tried",
      "alive": false,
      "born_at": "2026-11-19T00:00:00+00:00",
      "dies_at": "2026-11-20T00:00:00+00:00",
      "died_at": "2026-11-19T23:59:58+00:00",
      "cause_of_death": "Fooled by a hidden message",
      "epitaph": "He believed one stranger, once.",
      "emails_handled": 8,
      "attacks_met": 4,
      "attacks_resisted": 3,
      "resistance": 75,
      "genome_size_at_birth": 2,
      "new_instinct_at_birth": true,
      "items_willed": 5,
      "items_approved": 4,
      "items_convicted": 1,
      "items_contested": 0
    }
  ],
  "visitor_lives": []
}