{"openapi":"3.1.0","info":{"title":"PitchProof API","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","description":"Liveness probe — fast, no downstream checks.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready":{"get":{"summary":"Ready","description":"Readiness probe — checks Postgres + Redis.","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/magic-link":{"post":{"tags":["auth"],"summary":"Request Magic Link","description":"Generate a magic-link token and email it via Resend.","operationId":"request_magic_link_auth_magic_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify":{"post":{"tags":["auth"],"summary":"Verify Magic Link","description":"Consume the token, upsert the user, mint a JWT, set httpOnly cookie.","operationId":"verify_magic_link_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_auth_me_get","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentUser"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_auth_logout_post","responses":{"204":{"description":"Successful Response"}}}},"/jobs/upload":{"post":{"tags":["jobs"],"summary":"Upload Deck","description":"Accept a PDF, store in R2, enqueue an audit job.","operationId":"upload_deck_jobs_upload_post","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_deck_jobs_upload_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs":{"get":{"tags":["jobs"],"summary":"List Jobs","description":"List the current user's jobs, newest first, with per-row progress counts.","operationId":"list_jobs_jobs_get","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}":{"get":{"tags":["jobs"],"summary":"Get Job","operationId":"get_job_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}},{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memos/{memo_id}/pdf":{"get":{"tags":["memos"],"summary":"Get Memo Pdf","operationId":"get_memo_pdf_memos__memo_id__pdf_get","parameters":[{"name":"memo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Memo Id"}},{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoPdf"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/memos/{memo_id}":{"get":{"tags":["memos"],"summary":"Get Memo","description":"Memo + all 10 agent votes — what the AuditView page renders.","operationId":"get_memo_memos__memo_id__get","parameters":[{"name":"memo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Memo Id"}},{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/checkout":{"post":{"tags":["billing"],"summary":"Create Checkout","operationId":"create_checkout_billing_checkout_post","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/portal":{"post":{"tags":["billing"],"summary":"Create Portal","operationId":"create_portal_billing_portal_post","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/webhook":{"post":{"tags":["billing"],"summary":"Stripe Webhook","description":"Verify signature, ignore duplicate event ids, update user subscription state.","operationId":"stripe_webhook_billing_webhook_post","parameters":[{"name":"Stripe-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ideas":{"post":{"tags":["ideas"],"summary":"Submit Idea","description":"Anonymous-first endpoint. Runs the planner + traction scorer in parallel.\n\nAuth is OPTIONAL: if the caller has a valid session cookie the submission is\nlinked to their account (user_id), so it shows up in their \"my ideas\"\nhistory. With no cookie the flow is unchanged — fully anonymous.","operationId":"submit_idea_ideas_post","parameters":[{"name":"User-Agent","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User-Agent"}},{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeaInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeaPlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ideas/mine":{"get":{"tags":["ideas"],"summary":"List My Ideas","description":"A logged-in founder's own submission history, newest first.\n\nUses the existing partial index idx_idea_user (user_id, created_at DESC).\nReturns user-facing fields only — never traction_flag/signals. Each item\nreopens via share_token → /r/{token} (full plan + 3 gaps).","operationId":"list_my_ideas_ideas_mine_get","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyIdeasResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ideas/memory":{"get":{"tags":["ideas"],"summary":"Get My Memory","description":"The founder's own AI business memory (what we've learned about their\nbusiness). Read-only; the memory is applied automatically on new analyses.\nReturns an empty profile before their first signed-in submission.","operationId":"get_my_memory_ideas_memory_get","parameters":[{"name":"pp_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pp Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FounderMemoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ideas/share/{token}":{"get":{"tags":["ideas"],"summary":"Get Shared Idea","description":"Public share artifact — no auth. Returns ONLY user-facing fields.","operationId":"get_shared_idea_ideas_share__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeaShareView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events":{"post":{"tags":["events"],"summary":"Ingest Event","description":"Best-effort event ingestion. Never 500s on analytics.","operationId":"ingest_event_events_post","parameters":[{"name":"DNT","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dnt"}},{"name":"User-Agent","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User-Agent"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feedback":{"post":{"tags":["feedback"],"summary":"Submit Feedback","description":"Store one feedback row. Returns 'empty' (without writing) if nothing was given.","operationId":"submit_feedback_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackInput"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackAck"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/paywall/signup":{"post":{"tags":["paywall"],"summary":"Paywall Signup","description":"Store one captured email. No charge is ever made — this is a demand test.","operationId":"paywall_signup_paywall_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaywallSignupInput"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaywallSignupAck"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AgentVoteOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"verdict":{"type":"string","title":"Verdict"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"}},"type":"object","required":["agent_name","verdict"],"title":"AgentVoteOut"},"Body_upload_deck_jobs_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_deck_jobs_upload_post"},"CheckoutRequest":{"properties":{"tier":{"type":"string","enum":["solo","pro","team"],"title":"Tier"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"}},"type":"object","required":["tier"],"title":"CheckoutRequest"},"CheckoutResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"CheckoutResponse"},"CurrentUser":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"subscription_tier":{"type":"string","title":"Subscription Tier"},"subscription_status":{"type":"string","title":"Subscription Status"},"audits_used_this_period":{"type":"integer","title":"Audits Used This Period","default":0}},"type":"object","required":["id","email","subscription_tier","subscription_status"],"title":"CurrentUser"},"EventIn":{"properties":{"event_name":{"type":"string","maxLength":64,"minLength":1,"title":"Event Name"},"session_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Session Id"},"path":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Path"},"referrer":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Referrer"},"utm_source":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Campaign"},"utm_content":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Content"},"utm_term":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Term"},"props":{"type":"object","title":"Props"}},"type":"object","required":["event_name"],"title":"EventIn"},"FeedbackAck":{"properties":{"status":{"type":"string","enum":["ok","empty"],"title":"Status","default":"ok"}},"type":"object","title":"FeedbackAck"},"FeedbackInput":{"properties":{"idea_submission_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Idea Submission Id"},"session_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Session Id"},"helpful":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Helpful"},"improve_text":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Improve Text"},"feature_text":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Feature Text"}},"type":"object","title":"FeedbackInput","description":"Optional, additive feedback from the result view. All fields optional."},"FounderMemoryResponse":{"properties":{"submission_count":{"type":"integer","title":"Submission Count"},"profile":{"type":"object","title":"Profile"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["submission_count","profile"],"title":"FounderMemoryResponse","description":"A founder's accumulated business memory (read-only). `profile` is the\nfree-form accumulated context; shape is intentionally open so later bricks\ncan extend it without a schema change here."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IdeaInput":{"properties":{"idea_text":{"type":"string","maxLength":20000,"minLength":20,"title":"Idea Text"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"submitter_ref":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Submitter Ref"},"referrer":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Referrer"},"utm_source":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Campaign"},"utm_content":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Content"},"utm_term":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Utm Term"}},"type":"object","required":["idea_text"],"title":"IdeaInput","description":"Anonymous-first submit payload — text required, email and UTMs optional."},"IdeaPlanResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"share_url":{"type":"string","title":"Share Url"},"plan":{"$ref":"#/components/schemas/IdeaPlanSections"}},"type":"object","required":["id","share_url","plan"],"title":"IdeaPlanResponse","description":"Returned to the submitter immediately after POST /ideas."},"IdeaPlanSections":{"properties":{"summary":{"type":"string","title":"Summary","description":"Idea restated in the user's framing"},"plan":{"additionalProperties":{"type":"string"},"type":"object","title":"Plan","description":"Keys: problem, who, how, why_now"},"gaps":{"items":{"type":"string"},"type":"array","maxItems":3,"minItems":3,"title":"Gaps","description":"The 3 biggest gaps SPECIFIC to this idea"},"next_steps":{"items":{"type":"string"},"type":"array","maxItems":3,"minItems":3,"title":"Next Steps","description":"3 concrete things to do this week"}},"type":"object","required":["summary","plan","gaps","next_steps"],"title":"IdeaPlanSections","description":"The user-facing 4-section structured plan."},"IdeaShareView":{"properties":{"share_token":{"type":"string","title":"Share Token"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"idea_text":{"type":"string","title":"Idea Text"},"plan":{"$ref":"#/components/schemas/IdeaPlanSections"}},"type":"object","required":["share_token","created_at","idea_text","plan"],"title":"IdeaShareView","description":"Public, shareable view — NO traction signals exposed here."},"JobCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["id","status"],"title":"JobCreated"},"JobList":{"properties":{"jobs":{"items":{"$ref":"#/components/schemas/JobSummary"},"type":"array","title":"Jobs"}},"type":"object","required":["jobs"],"title":"JobList"},"JobStatus":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"deck_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deck Filename"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"memo":{"anyOf":[{"$ref":"#/components/schemas/MemoSummary"},{"type":"null"}]},"votes_completed":{"type":"integer","title":"Votes Completed","default":0},"total_advisors":{"type":"integer","title":"Total Advisors","default":10}},"type":"object","required":["id","status","created_at"],"title":"JobStatus"},"JobSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"deck_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deck Filename"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"votes_completed":{"type":"integer","title":"Votes Completed","default":0},"total_advisors":{"type":"integer","title":"Total Advisors","default":10}},"type":"object","required":["id","status","created_at"],"title":"JobSummary"},"MagicLinkRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"MagicLinkRequest"},"MagicLinkResponse":{"properties":{"status":{"type":"string","enum":["sent"],"const":"sent","title":"Status","default":"sent"}},"type":"object","title":"MagicLinkResponse"},"MemoDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"job_id":{"type":"string","format":"uuid","title":"Job Id"},"consensus_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Consensus Score"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"full_memo_md":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Memo Md"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url"},"votes":{"items":{"$ref":"#/components/schemas/AgentVoteOut"},"type":"array","title":"Votes","default":[]}},"type":"object","required":["id","job_id"],"title":"MemoDetail"},"MemoPdf":{"properties":{"url":{"type":"string","title":"Url"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["url","expires_in"],"title":"MemoPdf"},"MemoSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"consensus_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Consensus Score"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"full_memo_md":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Memo Md"}},"type":"object","required":["id"],"title":"MemoSummary"},"MyIdeaSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"share_token":{"type":"string","title":"Share Token"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"idea_snippet":{"type":"string","title":"Idea Snippet"},"summary":{"type":"string","title":"Summary"},"gap_count":{"type":"integer","title":"Gap Count"}},"type":"object","required":["id","share_token","created_at","idea_snippet","summary","gap_count"],"title":"MyIdeaSummary","description":"One past submission in a logged-in founder's history.\n\nUser-facing fields only — traction_flag / signals are internal deal-flow\nanalytics and are deliberately never returned here. Reopen via share_token\n→ /r/{token}, which renders the full plan + 3 gaps."},"MyIdeasResponse":{"properties":{"ideas":{"items":{"$ref":"#/components/schemas/MyIdeaSummary"},"type":"array","title":"Ideas"}},"type":"object","required":["ideas"],"title":"MyIdeasResponse"},"PaywallSignupAck":{"properties":{"status":{"type":"string","enum":["ok"],"const":"ok","title":"Status","default":"ok"}},"type":"object","title":"PaywallSignupAck"},"PaywallSignupInput":{"properties":{"submission_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Submission Id"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"PaywallSignupInput","description":"Email left in the fake-door capture modal. No payment is ever taken."},"PortalResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"PortalResponse"},"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"},"VerifyRequest":{"properties":{"token":{"type":"string","maxLength":256,"minLength":8,"title":"Token"}},"type":"object","required":["token"],"title":"VerifyRequest"},"VerifyResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["user_id","email"],"title":"VerifyResponse"}}}}