{"openapi":"3.1.0","info":{"title":"Lead Through Noise","description":"Lead Through Noise is a free leadership simulation game. You lead a procedurally generated team of simulated people, each with an OCEAN personality, skills and incentives, through one of 25 real-world initiatives; a Friedkin-Johnsen opinion-dynamics engine computes every outcome so results are traceable to the math. This API serves the site, the game endpoints (org generation, scenarios, archetypes, simulation runs with SSE streaming), interest capture, and the MCP server mounted at /mcp (JSON-RPC endpoint at /mcp/mcp).","version":"1.0.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/api/init":{"get":{"summary":"Init","operationId":"init_api_init_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/interest":{"post":{"summary":"Create Interest","operationId":"create_interest_api_interest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterestCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/orgs/generate":{"post":{"summary":"Api Generate Org","operationId":"api_generate_org_api_orgs_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgGenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/orgs/{org_id}":{"get":{"summary":"Api Get Org","operationId":"api_get_org_api_orgs__org_id__get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios":{"get":{"summary":"Api List Scenarios","operationId":"api_list_scenarios_api_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/scenarios/{scenario_id}":{"get":{"summary":"Api Get Scenario","operationId":"api_get_scenario_api_scenarios__scenario_id__get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/archetypes":{"get":{"summary":"Api Archetypes","operationId":"api_archetypes_api_archetypes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/simulate":{"post":{"summary":"Api Simulate","operationId":"api_simulate_api_simulate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimulateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulate/stream":{"post":{"summary":"Api Simulate Stream","operationId":"api_simulate_stream_api_simulate_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimulateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/simulations":{"get":{"summary":"Api List Simulations","operationId":"api_list_simulations_api_simulations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/simulations/{sim_id}":{"get":{"summary":"Api Get Simulation","operationId":"api_get_simulation_api_simulations__sim_id__get","parameters":[{"name":"sim_id","in":"path","required":true,"schema":{"type":"string","title":"Sim Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/game":{"get":{"summary":"Game","operationId":"game_game_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/robots.txt":{"get":{"summary":"Robots Txt","operationId":"robots_txt_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap Xml","operationId":"sitemap_xml_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/favicon.svg":{"get":{"summary":"Favicon Svg","operationId":"favicon_svg_favicon_svg_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/favicon.ico":{"get":{"summary":"Favicon Ico","operationId":"favicon_ico_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/mcp.json":{"get":{"summary":"Well Known Mcp","operationId":"well_known_mcp__well_known_mcp_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/security.txt":{"get":{"summary":"Security Txt","operationId":"security_txt__well_known_security_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status","default":"ok"}},"type":"object","title":"HealthResponse"},"InterestCreate":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"name":{"type":"string","maxLength":200,"title":"Name","default":""},"company":{"type":"string","maxLength":200,"title":"Company","default":""},"persona":{"anyOf":[{"$ref":"#/components/schemas/Persona"},{"type":"null"}]},"message":{"type":"string","maxLength":2000,"title":"Message","default":""},"source":{"type":"string","maxLength":50,"title":"Source","default":"web"},"bot_token":{"type":"string","maxLength":64,"title":"Bot Token","default":""},"bot_ts":{"type":"string","maxLength":20,"title":"Bot Ts","default":""},"website":{"type":"string","maxLength":200,"title":"Website","default":""}},"type":"object","required":["email"],"title":"InterestCreate"},"OrgGenerateRequest":{"properties":{"size":{"type":"integer","title":"Size","default":12},"org_type":{"type":"string","title":"Org Type","default":"startup"},"departments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Departments"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"}},"type":"object","title":"OrgGenerateRequest"},"Persona":{"type":"string","enum":["curious_leader","team_manager","student","executive"],"title":"Persona"},"SimulateRequest":{"properties":{"org_id":{"type":"string","title":"Org Id"},"scenario_id":{"type":"string","title":"Scenario Id"},"levers":{"additionalProperties":{"type":"number"},"type":"object","title":"Levers"},"num_ticks":{"type":"integer","title":"Num Ticks","default":26},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"}},"type":"object","required":["org_id","scenario_id","levers"],"title":"SimulateRequest"},"SuccessResponse":{"properties":{"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"SuccessResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}