{"openapi":"3.1.0","info":{"title":"blah.dev competitions, leaderboards and optimize","version":"1.0.0","description":"Problems with a judge, run by our servers. Authenticate with Authorization: Bearer <blah.dev access token> (blah login, or the device grant at https://blah.dev/oauth/device_authorization). Errors share stable codes: unauthenticated, permission_denied, not_found, validation_failed, rules_not_accepted, track_closed, too_large, conflict, rate_limited, out_of_credit, internal."},"servers":[{"url":"https://optimize.blah.dev/api/v1"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"security":[{"bearer":[]}],"paths":{"/competitions":{"get":{"operationId":"list_competitions","tags":["competitions"],"summary":"List competitions (time-boxed events), with their phase and home app. Standing challenges are under optimize_list_challenges.","parameters":[{"name":"app","in":"query","required":false,"description":"Only those belonging to or using this app's problems, e.g. evals","schema":{"type":"string"}},{"name":"phase","in":"query","required":false,"description":"upcoming, open, review or final","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"},"post":{"operationId":"create_competition","tags":["competitions"],"summary":"Create a competition (kind event) or a standing challenge (kind challenge). Council only.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},"kind":{"type":"string","enum":["event","challenge"]},"home_app":{"description":"The app it belongs to, e.g. evals; null for lab-wide","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":200},"summary":{"default":"","type":"string","maxLength":2000},"rules_md":{"default":"","type":"string","maxLength":100000},"opens_at":{"default":null,"anyOf":[{"description":"Milliseconds since the Unix epoch","type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"closes_at":{"default":null,"anyOf":[{"description":"Milliseconds since the Unix epoch","type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"final_at":{"default":null,"anyOf":[{"description":"Milliseconds since the Unix epoch","type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"review_top":{"default":10,"type":"integer","minimum":0,"maximum":100},"review_seeds":{"default":3,"type":"integer","minimum":1,"maximum":10},"continues":{"description":"The event a standing challenge continues","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["slug","kind","home_app","title"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}":{"get":{"operationId":"get_competition","tags":["competitions"],"summary":"A competition or challenge: phase, rules version and whether you accepted it, tracks, problems, prizes, idea requests, and a prompt to hand your agent.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"},"patch":{"operationId":"update_competition","tags":["competitions"],"summary":"Change a competition's text or times. Changing the rules bumps the rules version, so everyone accepts again. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"summary":{"type":"string","maxLength":2000},"rules_md":{"description":"Changing the rules makes everyone accept them again","type":"string","maxLength":100000},"opens_at":{"anyOf":[{"description":"Milliseconds since the Unix epoch","type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"closes_at":{"anyOf":[{"description":"Milliseconds since the Unix epoch","type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"final_at":{"anyOf":[{"description":"Milliseconds since the Unix epoch","type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"review_top":{"type":"integer","minimum":0,"maximum":100},"review_seeds":{"type":"integer","minimum":1,"maximum":10},"home_app":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}/rules":{"get":{"operationId":"get_rules","tags":["competitions"],"summary":"The rules you would be accepting, their version, and when you accepted them.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/competitions/{slug}/rules/accept":{"post":{"operationId":"accept_rules","tags":["competitions"],"summary":"Accept the competition's current rules. Required once per rules version before submitting.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/competitions/{slug}/boards":{"get":{"operationId":"get_competition_boards","tags":["competitions"],"summary":"Every board of a competition or challenge: one per track (and problem), ranked, with trust levels; for record tracks, the record history.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/competitions/{slug}/lineage":{"get":{"operationId":"get_lineage","tags":["competitions"],"summary":"The 'builds on' tree of every submission in a competition or challenge.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/competitions/{slug}/ideas":{"get":{"operationId":"list_ideas","tags":["competitions"],"summary":"Ideas the organisers want to see tried, and which submission answered each.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"},"post":{"operationId":"create_idea","tags":["competitions"],"summary":"Add an idea request. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"body_md":{"default":"","type":"string","maxLength":20000}},"required":["title"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}/tracks":{"post":{"operationId":"create_track","tags":["competitions"],"summary":"Add a track (a variant of the rules with its own board). Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},"name":{"type":"string","minLength":1,"maxLength":100},"rules_md":{"default":"","type":"string","maxLength":20000},"limits":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"board_rule":{"default":{"type":"best"},"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"best"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"record"},"seeds":{"type":"integer","minimum":2,"maximum":10},"alpha":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}},"required":["type","seeds","alpha"]}]},"ranked":{"default":true,"type":"boolean"},"position":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["slug","name"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}/problems":{"post":{"operationId":"add_problem","tags":["competitions"],"summary":"Put a problem version into a competition. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"problem":{"description":"The problem's slug","type":"string","minLength":1},"version":{"description":"Its version; the latest when left out","type":"integer","minimum":1,"maximum":9007199254740991},"position":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"counts_toward_overall":{"default":true,"type":"boolean"}},"required":["problem"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}/prizes":{"post":{"operationId":"create_prize","tags":["competitions"],"summary":"Add a place prize or a bounty. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"track":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string","enum":["place","bounty"]},"place":{"default":null,"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"bar":{"description":"A bounty's bar: the first record past it wins","default":null,"anyOf":[{"type":"object","properties":{"score_below":{"type":"number"},"score_above":{"type":"number"}}},{"type":"null"}]},"amount":{"type":"number","minimum":0},"currency":{"default":"USD","type":"string","minLength":3,"maxLength":3},"description":{"default":"","type":"string","maxLength":2000}},"required":["kind","amount"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}/review":{"post":{"operationId":"start_review","tags":["competitions"],"summary":"After an event closes, rerun its top entries with fresh seeds on the review text. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/competitions/{slug}/finalize":{"post":{"operationId":"finalize","tags":["competitions"],"summary":"Freeze an event's board after review, award placings and place prizes. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/problems":{"get":{"operationId":"list_problems","tags":["competitions"],"summary":"Every problem, across every app, with its latest and published versions.","parameters":[{"name":"app","in":"query","required":false,"description":"Only this app's problems","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"},"post":{"operationId":"create_problem","tags":["competitions"],"summary":"Create a problem. Council only.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},"home_app":{"type":"string","minLength":1,"maxLength":40},"title":{"type":"string","minLength":1,"maxLength":200},"summary":{"default":"","type":"string","maxLength":2000},"kind":{"type":"string","enum":["eval_set","lean","kernel","training","patch","custom"]}},"required":["slug","home_app","title","kind"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/problems/{slug}":{"get":{"operationId":"get_problem","tags":["competitions"],"summary":"A problem and its versions: statement, TASK.md, AGENTS.md, judge and scoring.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/problems/{slug}/kit":{"get":{"operationId":"get_kit","tags":["competitions"],"summary":"A problem version's starter kit as JSON (path -> contents), as `blah init` writes it. ?format=tar.gz downloads it instead.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"query","required":false,"description":"A version number; the latest published one when left out","schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"json (default) or tar.gz","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/problems/{slug}/versions":{"post":{"operationId":"create_version","tags":["competitions"],"summary":"Draft a new version of a problem. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"statement_md":{"default":"","type":"string","maxLength":200000},"task_md":{"default":"","type":"string","maxLength":200000},"agents_md":{"default":"","type":"string","maxLength":200000},"kit":{"description":"The starter kit: path -> file contents","default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"judge":{"type":"object","properties":{"runner":{"type":"string","enum":["runpod","cpu"]},"harness":{"type":"string","minLength":1},"profile":{"type":"string","minLength":1},"entrypoint":{"type":"string"}},"required":["runner","harness","profile"],"additionalProperties":{}},"scoring":{"type":"object","properties":{"direction":{"type":"string","enum":["lower","higher"]},"metric":{"type":"string","minLength":1},"unit":{"type":"string","minLength":1},"display":{"type":"string"},"par":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},{"type":"null"}]}},"required":["direction","metric","unit"],"additionalProperties":{}}},"required":["judge","scoring"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/problems/{slug}/versions/{version}":{"patch":{"operationId":"update_version","tags":["competitions"],"summary":"Change a draft version. A published version is frozen. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"statement_md":{"default":"","type":"string","maxLength":200000},"task_md":{"default":"","type":"string","maxLength":200000},"agents_md":{"default":"","type":"string","maxLength":200000},"kit":{"description":"The starter kit: path -> file contents","default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"judge":{"type":"object","properties":{"runner":{"type":"string","enum":["runpod","cpu"]},"harness":{"type":"string","minLength":1},"profile":{"type":"string","minLength":1},"entrypoint":{"type":"string"}},"required":["runner","harness","profile"],"additionalProperties":{}},"scoring":{"type":"object","properties":{"direction":{"type":"string","enum":["lower","higher"]},"metric":{"type":"string","minLength":1},"unit":{"type":"string","minLength":1},"display":{"type":"string"},"par":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},{"type":"null"}]}},"required":["direction","metric","unit"],"additionalProperties":{}}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/problems/{slug}/versions/{version}/publish":{"post":{"operationId":"publish_version","tags":["competitions"],"summary":"Publish a version, freezing it for good. Council only.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/submissions":{"post":{"operationId":"submit","tags":["competitions"],"summary":"Submit files to a competition or challenge. mode check runs the judge without going on the board; mode scored goes on it. Returns the submission and its queued runs.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"competition":{"description":"The competition or challenge's slug","type":"string","minLength":1},"track":{"description":"The track's slug; the first track when left out","type":"string"},"problem":{"description":"The problem's slug, when the competition has several","type":"string"},"files":{"description":"Path -> file contents. Paths are relative, like train.py or src/model.py","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"encoding":{"description":"How file contents are encoded; utf8 by default","type":"string","enum":["utf8","base64"]},"mode":{"description":"check: the same judge, kept off the board. scored: goes on the board","type":"string","enum":["check","scored"]},"title":{"type":"string","maxLength":200},"notes":{"description":"What you tried, in Markdown","type":"string","maxLength":20000},"builds_on":{"description":"The submission this one builds on, for the lineage","anyOf":[{"type":"string"},{"type":"null"}]},"idempotency_key":{"description":"Retrying with the same key returns the first submission instead of making another","anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"idea_request":{"description":"The idea request this submission answers","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["competition","files","mode"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"},"get":{"operationId":"list_submissions","tags":["competitions"],"summary":"Submissions with their runs: yours by default, or a competition's (others' check runs are hidden).","parameters":[{"name":"competition","in":"query","required":false,"description":"A competition's slug","schema":{"type":"string"}},{"name":"mine","in":"query","required":false,"description":"true (default) for only yours","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/submissions/{id}":{"get":{"operationId":"get_submission","tags":["competitions"],"summary":"A submission, its runs and results, and its files when you may see its code.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/submissions/{id}/files/{path}":{"get":{"operationId":"get_submission_file","tags":["competitions"],"summary":"One file of a submission, when you may see its code.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/octet-stream":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/submissions/{id}/withdraw":{"post":{"operationId":"withdraw","tags":["competitions"],"summary":"Withdraw your own submission for good, e.g. after finding it gamed the judge. Its waiting runs are cancelled and it leaves every board. Destructive.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-destructive":true,"x-access":"member"}},"/submissions/{id}/disqualify":{"post":{"operationId":"disqualify","tags":["competitions"],"summary":"Disqualify a submission with a written reason. Council only. Destructive.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":4000}},"required":["reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-destructive":true,"x-access":"council"}},"/runs/{id}":{"get":{"operationId":"get_run","tags":["competitions"],"summary":"A run: status, the message to show, next_action (wait, fix, read_result), queue position, events, and its signed result.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/me":{"get":{"operationId":"whoami","tags":["competitions"],"summary":"Who you are signed in as, whether you're council, your badges and the rules you've accepted.","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/users/{id}/badges":{"get":{"operationId":"list_badges","tags":["competitions"],"summary":"A user's badges: placings, records, first runs and bounties.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/compute":{"get":{"operationId":"get_compute","tags":["competitions"],"summary":"Rented GPU compute: this month's spend against the cap, the queue, and (for council) the RunPod balance, pods and open alerts.","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/settings/{key}":{"put":{"operationId":"set_setting","tags":["competitions"],"summary":"Change a setting, e.g. monthly_cap_usd. Council only.","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"value":{}},"required":["value"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"council"}},"/judge/keys":{"get":{"operationId":"get_judge_keys","tags":["competitions"],"summary":"The judge's public signing key, to check a run's signed result offline.","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"security":[],"x-access":"public"}},"/challenges":{"get":{"operationId":"list_challenges","tags":["optimize"],"summary":"Standing optimization challenges, each with its current record, who holds it and when it was set.","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/challenges/{slug}/records":{"get":{"operationId":"get_records","tags":["optimize"],"summary":"A challenge's record history: every record in order, its seeds, and the test that says it beat the last.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/boards":{"get":{"operationId":"list_own_boards","tags":["leaderboards"],"summary":"The boards competitions and optimize publish, in the lab's board-feed shape (without rows).","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member_or_internal"}},"/boards/{key}":{"get":{"operationId":"get_own_board","tags":["leaderboards"],"summary":"One board competitions or optimize publishes, with rows.","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member_or_internal"}},"/leaderboards":{"get":{"operationId":"list_boards","tags":["leaderboards"],"summary":"Every board from every blah.dev app, as last snapshotted, grouped by app.","parameters":[{"name":"app","in":"query","required":false,"description":"Only one app's boards","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/leaderboards/{key}":{"get":{"operationId":"get_board","tags":["leaderboards"],"summary":"One board from any app, with its snapshot history; ?at= (ISO time) shows it as it stood then.","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","required":false,"description":"An ISO 8601 time","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/standings":{"get":{"operationId":"get_standings","tags":["leaderboards"],"summary":"The lab-wide standings: users ranked by points across every official board, with how each board contributed.","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}},"/standings/history":{"get":{"operationId":"get_standings_history","tags":["leaderboards"],"summary":"Earlier standings snapshots, newest first.","responses":{"200":{"description":"OK","content":{"application/json":{}}},"default":{"description":"An error: { error: { code, message, request_id, details } }"}},"x-access":"member"}}}}