{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health Check","description":"Lightweight sync health check for Fly.io.","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Root","description":"Serve hello.html as the default landing page","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/app":{"get":{"summary":"App Page","description":"Serve find.html (main application consolidated)","operationId":"app_page_app_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/find":{"get":{"summary":"Find Page","description":"Serve find.html","operationId":"find_page_find_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/feedback":{"get":{"summary":"Feedback Page","description":"Serve feedback.html","operationId":"feedback_page_feedback_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/register":{"get":{"summary":"Register Page","description":"Serve register.html","operationId":"register_page_register_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/scenario/{scenario_name}":{"get":{"summary":"Public Scenario Page","description":"Serve find.html in public/unauthenticated mode for a specific scenario","operationId":"public_scenario_page_scenario__scenario_name__get","parameters":[{"name":"scenario_name","in":"path","required":true,"schema":{"type":"string","title":"Scenario Name"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/local/":{"get":{"summary":"Local Page","description":"Serve local.html page","operationId":"local_page_local__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/download/generated/{filename}":{"get":{"summary":"Download Generated File","description":"Serve generated parquet files from the application root.\nSecurity: Verify filename contains no path traversals and is a parquet/sav file.","operationId":"download_generated_file_api_download_generated__filename__get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/generate":{"post":{"summary":"Run Scenario Endpoint","description":"Handle form submission. \n1. Augment file with form inputs.\n2. Start background simulation.","operationId":"run_scenario_endpoint_api_generate_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_run_scenario_endpoint_api_generate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/run-scenario":{"post":{"summary":"Run Scenario Endpoint","description":"Handle form submission. \n1. Augment file with form inputs.\n2. Start background simulation.","operationId":"run_scenario_endpoint_api_run_scenario_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_run_scenario_endpoint_api_run_scenario_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs":{"get":{"summary":"Get Runs","description":"Get history of runs for the current user.","operationId":"get_runs_api_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/runs/clear":{"post":{"summary":"Clear Runs","description":"Mark all user runs as Expired to hide them from history.","operationId":"clear_runs_api_runs_clear_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/analyze-priority/{session_id}":{"post":{"summary":"Analyze Priority Endpoint","description":"Endpoint to trigger Random Forest and Decision Tree analysis for a session.\nCalculates feature importance and cleavage points for the given y_variable.","operationId":"analyze_priority_endpoint_api_analyze_priority__session_id__post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"y_var","in":"query","required":true,"schema":{"type":"string","title":"Y Var"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzePriorityPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analyze-priority/download-topology":{"post":{"summary":"Download Topology Xlsx","description":"Export the Demand Topology table to Excel.","operationId":"download_topology_xlsx_api_analyze_priority_download_topology_post","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"y_var","in":"query","required":true,"schema":{"type":"string","title":"Y Var"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzePriorityPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/run-heartbeat/{run_id}":{"get":{"summary":"Run Heartbeat","description":"Keep-alive heartbeat stream for long-running simulations.\nThis keeps the Fly.io connection alive while simulation happens in a background thread.\nReturns status and progress as SSE.","operationId":"run_heartbeat_api_run_heartbeat__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/upload":{"post":{"summary":"Builder Upload","operationId":"builder_upload_api_builder_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_builder_upload_api_builder_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios/list-panels":{"get":{"summary":"List Scenario Panels","description":"List files in the scenarios bucket.","operationId":"list_scenario_panels_api_scenarios_list_panels_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/scenarios/quick-pick":{"post":{"summary":"Scenarios Quick Pick","description":"Sample gatodo-base.parquet and create/update a session.","operationId":"scenarios_quick_pick_api_scenarios_quick_pick_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_scenarios_quick_pick_api_scenarios_quick_pick_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario/quick-start":{"post":{"summary":"Scenario Quick Start","description":"General purpose quick-start.\nIf session_id provided, use existing file.\nIf no session_id, fallback to gatodo-base (10 samples).","operationId":"scenario_quick_start_api_scenario_quick_start_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_scenario_quick_start_api_scenario_quick_start_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public-scenario/{scenario_name}":{"get":{"summary":"Get Public Scenario Data","description":"Fetch parquet data for a public scenario from the 'public-scenario' bucket","operationId":"get_public_scenario_data_api_public_scenario__scenario_name__get","parameters":[{"name":"scenario_name","in":"path","required":true,"schema":{"type":"string","title":"Scenario Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/load-existing":{"get":{"summary":"Load Existing File","description":"Creates a new builder/explore session from an existing generated file.\n1. Verify file ownership/existence.\n2. Ensure file is local (download from Supabase if needed).\n3. Create session and return state.","operationId":"load_existing_file_api_load_existing_get","parameters":[{"name":"filename","in":"query","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/subset_count":{"post":{"summary":"Builder Subset Count","operationId":"builder_subset_count_api_builder_subset_count_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuilderSubsetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/subset":{"post":{"summary":"Builder Subset","description":"Subset the current session data based on a list of filters and/or random sampling.","operationId":"builder_subset_api_builder_subset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuilderSubsetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/codex/search":{"get":{"summary":"Codex Search","description":"Search for questions in the question_codex.parquet file from Supabase 'questions' bucket.","operationId":"codex_search_api_codex_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/modify":{"post":{"summary":"Builder Modify","operationId":"builder_modify_api_builder_modify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuilderAction"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/state/{session_id}":{"get":{"summary":"Builder State","description":"Fetch current state of a builder session (useful for pagination).","operationId":"builder_state_api_builder_state__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"all_records","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"All Records"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/download_sav/{session_id}":{"get":{"summary":"Builder Download Sav","operationId":"builder_download_sav_api_builder_download_sav__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/download/{session_id}":{"get":{"summary":"Builder Download","operationId":"builder_download_api_builder_download__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/builder/download_csv/{session_id}":{"get":{"summary":"Builder Download Csv","operationId":"builder_download_csv_api_builder_download_csv__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/register":{"post":{"summary":"Register","operationId":"register_api_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthRegister"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify":{"get":{"summary":"Verify Magic Link","description":"Verify magic link token and set session cookie","operationId":"verify_magic_link_auth_verify_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assess-payload":{"post":{"summary":"Assess Payload","description":"Assess the uploaded file or selected scenario for scenario feasibility.\nChecks 'scenarios' bucket first, then falls back to 'simulations' bucket for recent runs.","operationId":"assess_payload_api_assess_payload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_assess_payload_api_assess_payload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/upload":{"post":{"summary":"Explore Upload","operationId":"explore_upload_api_explore_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_explore_upload_api_explore_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/chart/histogram":{"post":{"summary":"Explore Histogram","operationId":"explore_histogram_api_explore_chart_histogram_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExploreChart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/chart/crosstab":{"post":{"summary":"Explore Crosstab","operationId":"explore_crosstab_api_explore_chart_crosstab_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExploreChart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/find/demand":{"post":{"summary":"Find Demand Endpoint","operationId":"find_demand_endpoint_api_find_demand_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindDemand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/chart/multivariate":{"post":{"summary":"Explore Multivariate","operationId":"explore_multivariate_api_explore_chart_multivariate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExploreChart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/download_summary":{"get":{"summary":"Explore Download Summary","operationId":"explore_download_summary_api_explore_download_summary_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","title":"Session Id"}},{"name":"public_scenario_name","in":"query","required":false,"schema":{"type":"string","title":"Public Scenario Name"}},{"name":"row_var","in":"query","required":false,"schema":{"type":"string","title":"Row Var"}},{"name":"col_var","in":"query","required":false,"schema":{"type":"string","title":"Col Var"}},{"name":"variable","in":"query","required":false,"schema":{"type":"string","title":"Variable"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analyze-priority/download-mutation":{"get":{"summary":"Download Mutation Xlsx","description":"Export the Mutation Matrix table to Excel.","operationId":"download_mutation_xlsx_api_analyze_priority_download_mutation_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"y_var","in":"query","required":true,"schema":{"type":"string","title":"Y Var"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/download/{session_id}":{"get":{"summary":"Explore Download","operationId":"explore_download_api_explore_download__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"parquet","title":"Format"}}],"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":"List Scenarios","description":"API endpoint to list hosted scenarios for the UI.","operationId":"list_scenarios_api_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/scenarios/metadata":{"get":{"summary":"Get Scenario Metadata","description":"Fetch column metadata from a scenario file with local fallback.","operationId":"get_scenario_metadata_api_scenarios_metadata_get","parameters":[{"name":"filename","in":"query","required":false,"schema":{"type":"string","default":"gatodo-base.parquet","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/subset-twins":{"post":{"summary":"Subset Twins","description":"Subset twins in an active session or from a scenario file based on selected attributes and sample size.","operationId":"subset_twins_api_subset_twins_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_subset_twins_api_subset_twins_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/augment-test":{"get":{"summary":"Augment Test Endpoint","operationId":"augment_test_endpoint_api_augment_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AnalyzePriorityPayload":{"properties":{"included_indices":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Included Indices"}},"type":"object","title":"AnalyzePriorityPayload"},"AuthLogin":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"AuthLogin"},"AuthRegister":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","title":"Email"}},"type":"object","required":["first_name","last_name","email"],"title":"AuthRegister"},"Body_assess_payload_api_assess_payload_post":{"properties":{"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"},"scenario_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Folder"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"has_offer":{"type":"boolean","title":"Has Offer","default":false},"has_price":{"type":"boolean","title":"Has Price","default":false},"has_product":{"type":"boolean","title":"Has Product","default":false},"has_persona":{"type":"boolean","title":"Has Persona","default":false},"has_test_question":{"type":"boolean","title":"Has Test Question","default":false}},"type":"object","title":"Body_assess_payload_api_assess_payload_post"},"Body_builder_upload_api_builder_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_builder_upload_api_builder_upload_post"},"Body_explore_upload_api_explore_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_explore_upload_api_explore_upload_post"},"Body_run_scenario_endpoint_api_generate_post":{"properties":{"offer_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Description"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name"},"product_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Description"},"product_core_task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Core Task"},"product_task_differentiator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Task Differentiator"},"product_measurable_outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Measurable Outcome"},"scenario_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Folder"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"parquet_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Parquet File"},"problem_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Problem Description"},"role_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Title"},"role_pain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Pain"},"test_question_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Id"},"test_question_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Text"},"test_question_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Type"},"test_question_options":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Options"},"adword_headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adword Headline"},"adword_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adword Description"},"simulation_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Simulation Mode","default":"discrete"},"question_order":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Order"},"scenario_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Type"},"compressed_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Compressed Prompt","default":"false"}},"type":"object","title":"Body_run_scenario_endpoint_api_generate_post"},"Body_run_scenario_endpoint_api_run_scenario_post":{"properties":{"offer_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Description"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name"},"product_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Description"},"product_core_task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Core Task"},"product_task_differentiator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Task Differentiator"},"product_measurable_outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Measurable Outcome"},"scenario_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Folder"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"parquet_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Parquet File"},"problem_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Problem Description"},"role_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Title"},"role_pain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Pain"},"test_question_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Id"},"test_question_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Text"},"test_question_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Type"},"test_question_options":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Test Question Options"},"adword_headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adword Headline"},"adword_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adword Description"},"simulation_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Simulation Mode","default":"discrete"},"question_order":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Order"},"scenario_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Type"},"compressed_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Compressed Prompt","default":"false"}},"type":"object","title":"Body_run_scenario_endpoint_api_run_scenario_post"},"Body_scenario_quick_start_api_scenario_quick_start_post":{"properties":{"offer_description":{"type":"string","title":"Offer Description"},"session_id":{"type":"string","title":"Session Id"},"scenario_type":{"type":"string","title":"Scenario Type","default":"offer"},"adword_headline":{"type":"string","title":"Adword Headline"},"adword_description":{"type":"string","title":"Adword Description"}},"type":"object","title":"Body_scenario_quick_start_api_scenario_quick_start_post"},"Body_scenarios_quick_pick_api_scenarios_quick_pick_post":{"properties":{"count":{"type":"integer","title":"Count"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["count"],"title":"Body_scenarios_quick_pick_api_scenarios_quick_pick_post"},"Body_subset_twins_api_subset_twins_post":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"scenario_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Filename"},"attributes":{"type":"string","title":"Attributes"},"sample_size":{"type":"integer","title":"Sample Size"}},"type":"object","required":["attributes","sample_size"],"title":"Body_subset_twins_api_subset_twins_post"},"BuilderAction":{"properties":{"session_id":{"type":"string","title":"Session Id"},"action":{"type":"string","title":"Action"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page","default":1}},"type":"object","required":["session_id","action","payload"],"title":"BuilderAction"},"BuilderFilter":{"properties":{"column":{"type":"string","title":"Column"},"op":{"type":"string","title":"Op"},"value":{"title":"Value"}},"type":"object","required":["column","op","value"],"title":"BuilderFilter"},"BuilderSubsetRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"filters":{"items":{"$ref":"#/components/schemas/BuilderFilter"},"type":"array","title":"Filters"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},"type":"object","required":["session_id","filters"],"title":"BuilderSubsetRequest"},"ExploreChart":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"public_scenario_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Scenario Name"},"variable":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variable"},"breakdown_variable":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Breakdown Variable"},"row_var":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Row Var"},"col_var":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Col Var"},"y_var":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Y Var"},"x_vars":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"X Vars"},"display_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Mode"},"z_var":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Z Var"}},"type":"object","title":"ExploreChart"},"FindDemand":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"FindDemand"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"}}}}