{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Healthcheck","operationId":"healthcheck_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/chat-salaries":{"post":{"summary":"Chat","operationId":"chat_chat_salaries_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"APIKeyQuery":[]}]}},"/generate-intel":{"post":{"summary":"Generate Report","operationId":"generate_report_generate_intel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntelligenceRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"APIKeyQuery":[]}]}},"/job-status/{job_id}":{"get":{"summary":"Job Status","operationId":"job_status_job_status__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate-bid-strategy":{"post":{"summary":"Generate Report","operationId":"generate_report_generate_bid_strategy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BidStrategyRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"APIKeyQuery":[]}]}},"/bid-strategy-job-status/{job_id}":{"get":{"summary":"Job Status","operationId":"job_status_bid_strategy_job_status__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/list-all-reports":{"get":{"summary":"List All Reports","description":"List all report folders for a given user and report type.\nFor each report, returns its ID, a list of file URLs, and its metadata.","operationId":"list_all_reports_list_all_reports_get","security":[{"APIKeyHeader":[]},{"APIKeyQuery":[]}],"parameters":[{"name":"user_email","in":"query","required":true,"schema":{"type":"string","description":"User email to list reports for.","title":"User Email"},"description":"User email to list reports for."},{"name":"report_type","in":"query","required":true,"schema":{"type":"string","description":"The type of report to list (e.g., 'comp_intel', 'bid_strategy').","title":"Report Type"},"description":"The type of report to list (e.g., 'comp_intel', 'bid_strategy')."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReportListing"},"title":"Response List All Reports List All Reports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BidStrategyRequest":{"properties":{"user_email":{"type":"string","title":"User Email"},"competitor_name":{"type":"string","title":"Competitor Name"},"opportunity_context":{"type":"string","title":"Opportunity Context"},"target_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Authority"}},"type":"object","required":["user_email","competitor_name","opportunity_context"],"title":"BidStrategyRequest"},"ChatRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"ChatRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IntelligenceRequest":{"properties":{"user_email":{"type":"string","title":"User Email"},"competitor_name":{"type":"string","title":"Competitor Name"},"opportunity_context":{"type":"string","title":"Opportunity Context"},"target_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Authority"}},"type":"object","required":["user_email","competitor_name","opportunity_context"],"title":"IntelligenceRequest"},"ReportFile":{"properties":{"file":{"type":"string","title":"File"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["file","url"],"title":"ReportFile"},"ReportListing":{"properties":{"report_id":{"type":"string","title":"Report Id"},"files":{"items":{"$ref":"#/components/schemas/ReportFile"},"type":"array","title":"Files"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["report_id","files","metadata"],"title":"ReportListing"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-KEY"},"APIKeyQuery":{"type":"apiKey","in":"query","name":"Key"}}}}