{"openapi":"3.1.0","info":{"title":"ClientRisk AI Pilot","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/signup":{"get":{"summary":"Signup Page","operationId":"signup_page_signup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Signup","operationId":"signup_signup_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signup_signup_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forgot-password":{"get":{"summary":"Forgot Password Page","operationId":"forgot_password_page_forgot_password_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Forgot Password","operationId":"forgot_password_forgot_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_forgot_password_forgot_password_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reset-password":{"get":{"summary":"Reset Password Page","operationId":"reset_password_page_reset_password_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Reset Password","operationId":"reset_password_reset_password_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reset_password_reset_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"post":{"summary":"Logout","operationId":"logout_logout_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_logout_logout_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard":{"get":{"summary":"Dashboard","operationId":"dashboard_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clients":{"post":{"summary":"Add Client","operationId":"add_client_clients_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_add_client_clients_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clients/{client_id}":{"get":{"summary":"Client Detail","operationId":"client_detail_clients__client_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clients/{client_id}/assets":{"post":{"summary":"Add Asset","operationId":"add_asset_clients__client_id__assets_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_add_asset_clients__client_id__assets_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/delete":{"post":{"summary":"Delete Asset","operationId":"delete_asset_assets__asset_id__delete_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"integer","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_delete_asset_assets__asset_id__delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clients/{client_id}/delete":{"post":{"summary":"Delete Client","operationId":"delete_client_clients__client_id__delete_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_delete_client_clients__client_id__delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/matches/{match_id}/review":{"post":{"summary":"Review Match","operationId":"review_match_matches__match_id__review_post","parameters":[{"name":"match_id","in":"path","required":true,"schema":{"type":"integer","title":"Match Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_review_match_matches__match_id__review_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feed/demo":{"post":{"summary":"Demo Feed","operationId":"demo_feed_feed_demo_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_demo_feed_feed_demo_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feed/sync":{"post":{"summary":"Sync Feed","operationId":"sync_feed_feed_sync_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_sync_feed_feed_sync_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clients/{client_id}/report.txt":{"get":{"summary":"Download Report","operationId":"download_report_clients__client_id__report_txt_get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clients/{client_id}/ai-report":{"post":{"summary":"Summarize Report","operationId":"summarize_report_clients__client_id__ai_report_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_summarize_report_clients__client_id__ai_report_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/settings/automation":{"post":{"summary":"Automation Settings","operationId":"automation_settings_settings_automation_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_automation_settings_settings_automation_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports/generate":{"post":{"summary":"Generate Now","operationId":"generate_now_reports_generate_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_generate_now_reports_generate_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports/{report_id}":{"get":{"summary":"View Saved Report","operationId":"view_saved_report_reports__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports/{report_id}/review":{"post":{"summary":"Approve Saved Report","operationId":"approve_saved_report_reports__report_id__review_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_approve_saved_report_reports__report_id__review_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing":{"get":{"summary":"Billing","operationId":"billing_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/checkout":{"post":{"summary":"Billing Checkout","operationId":"billing_checkout_billing_checkout_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_checkout_billing_checkout_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/portal":{"post":{"summary":"Billing Portal","operationId":"billing_portal_billing_portal_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_portal_billing_portal_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/webhook":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_add_asset_clients__client_id__assets_post":{"properties":{"vendor":{"type":"string","title":"Vendor"},"product":{"type":"string","title":"Product"},"version":{"type":"string","title":"Version","default":""},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["vendor","product","csrf"],"title":"Body_add_asset_clients__client_id__assets_post"},"Body_add_client_clients_post":{"properties":{"name":{"type":"string","title":"Name"},"contact_email":{"type":"string","title":"Contact Email","default":""},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["name","csrf"],"title":"Body_add_client_clients_post"},"Body_approve_saved_report_reports__report_id__review_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_approve_saved_report_reports__report_id__review_post"},"Body_automation_settings_settings_automation_post":{"properties":{"csrf":{"type":"string","title":"Csrf"},"email_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Digest"},"auto_ai":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auto Ai"}},"type":"object","required":["csrf"],"title":"Body_automation_settings_settings_automation_post"},"Body_billing_checkout_billing_checkout_post":{"properties":{"plan":{"type":"string","title":"Plan"},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["plan","csrf"],"title":"Body_billing_checkout_billing_checkout_post"},"Body_billing_portal_billing_portal_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_billing_portal_billing_portal_post"},"Body_delete_asset_assets__asset_id__delete_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_delete_asset_assets__asset_id__delete_post"},"Body_delete_client_clients__client_id__delete_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_delete_client_clients__client_id__delete_post"},"Body_demo_feed_feed_demo_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_demo_feed_feed_demo_post"},"Body_forgot_password_forgot_password_post":{"properties":{"email":{"type":"string","title":"Email"},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["email","csrf"],"title":"Body_forgot_password_forgot_password_post"},"Body_generate_now_reports_generate_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_generate_now_reports_generate_post"},"Body_login_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["email","password","csrf"],"title":"Body_login_login_post"},"Body_logout_logout_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_logout_logout_post"},"Body_reset_password_reset_password_post":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","title":"Password"},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["token","password","csrf"],"title":"Body_reset_password_reset_password_post"},"Body_review_match_matches__match_id__review_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_review_match_matches__match_id__review_post"},"Body_signup_signup_post":{"properties":{"company":{"type":"string","title":"Company"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["company","email","password","csrf"],"title":"Body_signup_signup_post"},"Body_summarize_report_clients__client_id__ai_report_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_summarize_report_clients__client_id__ai_report_post"},"Body_sync_feed_feed_sync_post":{"properties":{"csrf":{"type":"string","title":"Csrf"}},"type":"object","required":["csrf"],"title":"Body_sync_feed_feed_sync_post"},"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"}}}}