{"openapi":"3.1.0","info":{"title":"FindVC","version":"0.1.0"},"paths":{"/api/health":{"get":{"tags":["meta"],"summary":"Health","description":"Liveness plus the facts an operator needs to tell two deployments apart.\n\nDeliberately says which backend, which corpus file and whether the pipeline is importable:\nthe three things that differ between a laptop and a container, and so the three things a\nfailed deploy is usually about.","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/targets":{"get":{"tags":["targets"],"summary":"Targets","description":"This startup's investors. Never the corpus.\n\n`view.query` starts from `view.reach`, so every filter here narrows a set the customer was\nalready entitled to. There used to be a `scoredOnly=false` parameter that turned the whole thing\ninto a corpus dump; it is gone and nothing replaces it.\n\n`limit` is a page size, not a security control. The ceiling already bounds what exists to be\npaged — 1,258 funds for Jobless, 334 for Kitchen, all of them that customer's own — so a\ngenerous limit drains nothing, and the Matches screen re-ranks the whole list in the browser\nwhen the weight sliders move, which needs it in one response.\n\n`stage` is where the relationship stands (`store.STAGES`). It is filtered here rather than in\nthe browser because the list is a page of the reach, and a stage can hold funds past that page.","operationId":"targets_api_targets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"verdict","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"}},{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Channel"}},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"evidence","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"stage","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"score","title":"Sort"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/targets/{key}":{"get":{"tags":["targets"],"summary":"Target","description":"One fund in full, if it is one of theirs.\n\nA key is not a capability. Guessing or harvesting one used to be enough to read any row in the\ncorpus, so the ceiling is checked here and the answer for a row outside it is the same 404 as\nfor a row that does not exist: a different status would confirm the fund is in the database.","operationId":"target_api_targets__key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/targets/{key}/status":{"post":{"tags":["targets"],"summary":"Set Status","description":"Save, apply or pass on one fund.\n\nGated like the detail route, and for a sharper reason: `View.reach` deliberately includes rows\nthe customer has acted on, so that a re-score never takes away a fund they saved. An ungated\nwrite would turn that kindness into a way in — save any key, then read it.","operationId":"set_status_api_targets__key__status_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/facets":{"get":{"tags":["targets"],"summary":"Facets","operationId":"facets_api_facets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/stats":{"get":{"tags":["stats"],"summary":"Stats","operationId":"stats_api_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/grants":{"get":{"tags":["stats"],"summary":"Grants","operationId":"grants_api_grants_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classify/preflight":{"get":{"tags":["classify"],"summary":"Preflight","operationId":"preflight_api_classify_preflight_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"A","title":"Tier"}},{"name":"onlyBriefed","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Onlybriefed"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scan/preflight":{"get":{"tags":["classify"],"summary":"Scan Preflight","description":"What the scan would cost and how it got there, before a single model call.\n\nThe funnel is part of the answer, not decoration: it is the only honest way to tell a founder\nthat 23,805 investors became 688, and which gate removed each slice.","operationId":"scan_preflight_api_scan_preflight_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":1200,"title":"Limit"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scan":{"post":{"tags":["classify"],"summary":"Scan","description":"Judge this startup's candidates and stream them back as they land.\n\nThe corpus is narrowed in memory first, which costs nothing and takes the run from 23,805 rows\nand 22 minutes to roughly 800 and under a minute. A founder will watch the second one.","operationId":"scan_api_scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classify":{"post":{"tags":["classify"],"summary":"Classify","description":"Score named rows, or the next batch of unjudged ones.\n\nNamed keys are intersected with what this profile is allowed to spend on. Without that, a key\nis a request to judge any row in the corpus, which is both a way to enumerate it one verdict at\na time and a way to spend somebody else's budget on rows they will never be shown.","operationId":"classify_api_classify_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassifyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs":{"get":{"tags":["classify"],"summary":"List Jobs","operationId":"list_jobs_api_jobs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["classify"],"summary":"Create Job","operationId":"create_job_api_jobs_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs/{job_id}/events":{"get":{"tags":["classify"],"summary":"Job Events","operationId":"job_events_api_jobs__job_id__events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles":{"get":{"tags":["profiles"],"summary":"List Profiles","operationId":"list_profiles_api_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["profiles"],"summary":"Create Profile","operationId":"create_profile_api_profiles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/profile":{"get":{"tags":["profiles"],"summary":"Get Profile","operationId":"get_profile_api_profile_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/onboard/read":{"post":{"tags":["profiles"],"summary":"Onboard Read","description":"Read a founder's own website and return a draft profile. Saves nothing, scores nothing.\n\nMetered, but only just: one Jev call over at most 14k characters, around $0.0003. The site\nfetch itself takes the free path unless the page has to be rendered.","operationId":"onboard_read_api_onboard_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/profiles/{pid}":{"put":{"tags":["profiles"],"summary":"Update Profile","operationId":"update_profile_api_profiles__pid__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["profiles"],"summary":"Delete Profile","description":"An owner removes the startup and its private workspace records.","operationId":"delete_profile_api_profiles__pid__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/config":{"get":{"tags":["auth"],"summary":"Auth Config","description":"So the UI can render a login screen only when there is something to log in to.","operationId":"auth_config_api_auth_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/dev-token":{"post":{"tags":["auth"],"summary":"Dev Token","operationId":"dev_token_api_auth_dev_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/opportunities":{"get":{"tags":["funding workspace"],"summary":"List Opportunities","operationId":"list_opportunities_api_opportunities_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["credit","grant","accelerator","fellowship","competition","program","fund"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"eligibility","in":"query","required":false,"schema":{"anyOf":[{"enum":["likely_eligible","needs_information","not_eligible","unverified"],"type":"string"},{"type":"null"}],"title":"Eligibility"}},{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"enum":["open","rolling","upcoming","closed","unknown"],"type":"string"},{"type":"null"}],"title":"Window"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["new","saved","preparing","submitted","awarded","rejected","dismissed","tracked","for_you","watching","done"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["recommended","fit","name","deadline","recent"],"type":"string","default":"recommended","title":"Sort"}},{"name":"section","in":"query","required":false,"schema":{"anyOf":[{"enum":["programmes","credits"],"type":"string"},{"type":"null"}],"title":"Section"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/counts":{"get":{"tags":["funding workspace"],"summary":"Opportunity Counts","description":"What the sidebar shows: actionable per kind, tracked by status, and closing soon. No model call.","operationId":"opportunity_counts_api_opportunities_counts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/judge/preflight":{"get":{"tags":["funding workspace"],"summary":"Judge Preflight","description":"What judging this startup's programmes would cost, read BEFORE any run (CLAUDE.md checks).","operationId":"judge_preflight_api_opportunities_judge_preflight_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/judge":{"post":{"tags":["funding workspace"],"summary":"Judge Programs","operationId":"judge_programs_api_opportunities_judge_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JudgeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/{opportunity_id}":{"get":{"tags":["funding workspace"],"summary":"Opportunity Detail","operationId":"opportunity_detail_api_opportunities__opportunity_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/{opportunity_id}/application":{"patch":{"tags":["funding workspace"],"summary":"Update Application","operationId":"update_application_api_opportunities__opportunity_id__application_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/funding-profile":{"get":{"tags":["funding workspace"],"summary":"Read Funding Profile","operationId":"read_funding_profile_api_funding_profile_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["funding workspace"],"summary":"Update Funding Profile","operationId":"update_funding_profile_api_funding_profile_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspace/summary":{"get":{"tags":["funding workspace"],"summary":"Workspace Summary","operationId":"workspace_summary_api_workspace_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offer":{"get":{"tags":["billing"],"summary":"Offer","description":"Price, the founding counter as Polar counts it, and this startup's access.","operationId":"offer_api_billing_offer_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/checkout":{"post":{"tags":["billing"],"summary":"Checkout","operationId":"checkout_api_billing_checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/polar/webhook":{"post":{"tags":["billing"],"summary":"Polar Webhook","description":"Unauthenticated by design: the signature is the authentication.","operationId":"polar_webhook_api_billing_polar_webhook_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/read":{"post":{"tags":["public"],"summary":"Read","description":"Read a visitor's site or description into a draft. One paid call, cached per site.","operationId":"read_api_public_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/unlock":{"post":{"tags":["public"],"summary":"Unlock","description":"The best of the visitor's top ten, judged for them and shown in full. About $0.0003, cached.","operationId":"unlock_api_public_unlock_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlockIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/match":{"post":{"tags":["public"],"summary":"Match","description":"How many investors fit these answers, and six of them with names hidden. Free.","operationId":"match_api_public_match_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/waitlist":{"post":{"tags":["public"],"summary":"Join Waitlist","description":"Join the waitlist. Stores the email with what the preview learned; never returns anyone else's.","operationId":"join_waitlist_api_public_waitlist_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/relationships":{"get":{"tags":["relationships"],"summary":"List Relationships","operationId":"list_relationships_api_relationships_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/relationships/{key}":{"get":{"tags":["relationships"],"summary":"Relationship","operationId":"relationship_api_relationships__key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["relationships"],"summary":"Update Relationship","operationId":"update_relationship_api_relationships__key__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/relationships/{key}/manual-outreach":{"post":{"tags":["relationships"],"summary":"Record Manual Outreach","operationId":"record_manual_outreach_api_relationships__key__manual_outreach_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualOutreachIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications":{"get":{"tags":["communications"],"summary":"Overview","operationId":"overview_api_communications_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/sending":{"get":{"tags":["communications"],"summary":"Sending Settings","description":"Limits for this person in this startup. They apply whether or not delivery is switched on.","operationId":"sending_settings_api_communications_sending_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["communications"],"summary":"Save Sending Settings","operationId":"save_sending_settings_api_communications_sending_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendingSettings"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/check":{"post":{"tags":["communications"],"summary":"Check Text","description":"The pre-send check over text that is not saved yet. Reads only, writes nothing.\n\nThe same `review_context` that judges a saved draft judges this, so the composer cannot show a\nverdict the approve step would then contradict. A fund outside this startup's reach is the same\n404 as one that does not exist.","operationId":"check_text_api_communications_check_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftCheckBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/drafts/{draft_id}/review":{"post":{"tags":["communications"],"summary":"Review Draft","operationId":"review_draft_api_communications_drafts__draft_id__review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","title":"Draft Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/drafts":{"post":{"tags":["communications"],"summary":"Create Draft","operationId":"create_draft_api_communications_drafts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/drafts/followup":{"post":{"tags":["communications"],"summary":"Followup Draft","description":"The next follow-up for one investor, as a draft the founder still has to write and approve.\n\nReturns the one already waiting when there is one. Creates nothing and says why (409) when the\ninvestor replied, passed or opted out, when no first email is recorded, or when the sequence is done.","operationId":"followup_draft_api_communications_drafts_followup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowupBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/drafts/{draft_id}":{"patch":{"tags":["communications"],"summary":"Patch Draft","operationId":"patch_draft_api_communications_drafts__draft_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","title":"Draft Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["communications"],"summary":"Delete Draft","operationId":"delete_draft_api_communications_drafts__draft_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","title":"Draft Id"}},{"name":"revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Revision"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/conversations/{conversation_id}":{"get":{"tags":["communications"],"summary":"Conversation","operationId":"conversation_api_communications_conversations__conversation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/conversations/{conversation_id}/mark":{"patch":{"tags":["communications"],"summary":"Mark Conversation","description":"The founder sorts a reply or marks it handled. It changes the queue, never a draft or a send.","operationId":"mark_conversation_api_communications_conversations__conversation_id__mark_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/opt-outs/{fund_key}/undo":{"post":{"tags":["communications"],"summary":"Undo Opt Out","description":"Only this founder action lifts an opt-out. The record of it stays, with when it was undone.","operationId":"undo_opt_out_api_communications_opt_outs__fund_key__undo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"fund_key","in":"path","required":true,"schema":{"type":"string","title":"Fund Key"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/connect":{"post":{"tags":["communications"],"summary":"Connect","operationId":"connect_api_communications_connect_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/connect/callback":{"get":{"tags":["communications"],"summary":"Connect Callback","operationId":"connect_callback_api_communications_connect_callback_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","maxLength":300,"default":"","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/connections/{session_id}":{"get":{"tags":["communications"],"summary":"Connection Status","operationId":"connection_status_api_communications_connections__session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/webhooks/unipile":{"post":{"tags":["communications"],"summary":"Unipile Webhook","operationId":"unipile_webhook_api_communications_webhooks_unipile_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/communications/drafts/{draft_id}/send":{"post":{"tags":["communications"],"summary":"Send","operationId":"send_api_communications_drafts__draft_id__send_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","title":"Draft Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendReview"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/outbox/{job_id}":{"get":{"tags":["communications"],"summary":"Delivery Status","operationId":"delivery_status_api_communications_outbox__job_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/accounts/{account_id}":{"delete":{"tags":["communications"],"summary":"Disconnect Account","operationId":"disconnect_account_api_communications_accounts__account_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/communications/accounts/{account_id}/reconnect":{"post":{"tags":["communications"],"summary":"Reconnect Account","operationId":"reconnect_account_api_communications_accounts__account_id__reconnect_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profile/documents":{"get":{"tags":["programme assistant"],"summary":"List Documents","operationId":"list_documents_api_profile_documents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["programme assistant"],"summary":"Add Document","operationId":"add_document_api_profile_documents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profile/documents/{doc_id}":{"get":{"tags":["programme assistant"],"summary":"Read Document","operationId":"read_document_api_profile_documents__doc_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["programme assistant"],"summary":"Edit Document","operationId":"edit_document_api_profile_documents__doc_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["programme assistant"],"summary":"Delete Document","operationId":"delete_document_api_profile_documents__doc_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/{opportunity_id}/explanation":{"get":{"tags":["programme assistant"],"summary":"Read Explanation","description":"The saved explanation, or null when there is none yet (never an empty one).","operationId":"read_explanation_api_opportunities__opportunity_id__explanation_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/opportunities/{opportunity_id}/explain":{"post":{"tags":["programme assistant"],"summary":"Explain","operationId":"explain_api_opportunities__opportunity_id__explain_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/threads/{thread}":{"get":{"tags":["programme assistant"],"summary":"Read Thread","operationId":"read_thread_api_assistant_threads__thread__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread","in":"path","required":true,"schema":{"type":"string","title":"Thread"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["programme assistant"],"summary":"Send Message","operationId":"send_message_api_assistant_threads__thread__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread","in":"path","required":true,"schema":{"type":"string","title":"Thread"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["programme assistant"],"summary":"Clear Thread","operationId":"clear_thread_api_assistant_threads__thread__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread","in":"path","required":true,"schema":{"type":"string","title":"Thread"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/remember":{"post":{"tags":["programme assistant"],"summary":"Remember","description":"Save one fact the founder confirmed in a chat to their conversation notes.","operationId":"remember_api_assistant_remember_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RememberIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/today":{"get":{"tags":["today"],"summary":"Today Queue","operationId":"today_queue_api_today_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"the browser's local date, YYYY-MM-DD","title":"Today"},"description":"the browser's local date, YYYY-MM-DD"},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"which startup the judgments are for","title":"Profile"},"description":"which startup the judgments are for"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ApplicationPatch":{"properties":{"revision":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Revision"},"status":{"anyOf":[{"type":"string","enum":["new","saved","preparing","submitted","awarded","rejected","dismissed"]},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Notes"},"next_action":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Next Action"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"}},"additionalProperties":false,"type":"object","title":"ApplicationPatch"},"ChatIn":{"properties":{"message":{"type":"string","maxLength":4000,"minLength":1,"title":"Message"}},"additionalProperties":false,"type":"object","required":["message"],"title":"ChatIn"},"ClassifyIn":{"properties":{"keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keys"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier","default":"A"},"onlyBriefed":{"type":"boolean","title":"Onlybriefed","default":true},"limit":{"type":"integer","maximum":1200.0,"minimum":1.0,"title":"Limit","default":500},"overwrite":{"type":"boolean","title":"Overwrite","default":false},"refresh":{"type":"boolean","title":"Refresh","default":false}},"type":"object","title":"ClassifyIn"},"ConnectBody":{"properties":{"provider":{"type":"string","enum":["google","outlook","linkedin"],"title":"Provider"}},"additionalProperties":false,"type":"object","required":["provider"],"title":"ConnectBody"},"DocumentIn":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"kind":{"type":"string","enum":["facts","answers","deck","notes","other"],"title":"Kind","default":"other"},"body":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Body"},"pdf_base64":{"anyOf":[{"type":"string","maxLength":14000000},{"type":"null"}],"title":"Pdf Base64"},"source":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source"}},"additionalProperties":false,"type":"object","required":["title"],"title":"DocumentIn"},"DocumentPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"body":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Body"}},"additionalProperties":false,"type":"object","title":"DocumentPatch"},"DraftCheckBody":{"properties":{"fund_key":{"type":"string","maxLength":1000,"minLength":1,"title":"Fund Key"},"channel":{"type":"string","enum":["email","linkedin"],"title":"Channel","default":"email"},"recipient":{"type":"string","maxLength":1000,"title":"Recipient","default":""},"subject":{"type":"string","maxLength":500,"title":"Subject","default":""},"body":{"type":"string","maxLength":30000,"title":"Body","default":""},"slot":{"type":"string","enum":["first","followup1","followup2","reply"],"title":"Slot","default":"first"}},"additionalProperties":false,"type":"object","required":["fund_key"],"title":"DraftCheckBody"},"DraftCreate":{"properties":{"fund_key":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Fund Key"},"opportunity_id":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Opportunity Id"},"channel":{"type":"string","enum":["email","linkedin"],"title":"Channel","default":"email"},"recipient":{"type":"string","maxLength":1000,"title":"Recipient","default":""},"subject":{"type":"string","maxLength":500,"title":"Subject","default":""},"body":{"type":"string","maxLength":30000,"title":"Body","default":""}},"additionalProperties":false,"type":"object","title":"DraftCreate"},"DraftIn":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"DraftIn"},"DraftPatch":{"properties":{"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"recipient":{"type":"string","maxLength":1000,"title":"Recipient","default":""},"subject":{"type":"string","maxLength":500,"title":"Subject","default":""},"body":{"type":"string","maxLength":30000,"title":"Body","default":""}},"additionalProperties":false,"type":"object","required":["revision"],"title":"DraftPatch"},"FollowupBody":{"properties":{"fund_key":{"type":"string","maxLength":1000,"minLength":1,"title":"Fund Key"}},"additionalProperties":false,"type":"object","required":["fund_key"],"title":"FollowupBody"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JudgeIn":{"properties":{"refresh":{"type":"boolean","title":"Refresh","default":false}},"additionalProperties":false,"type":"object","title":"JudgeIn"},"ManualOutreachIn":{"properties":{"request_id":{"type":"string","maxLength":100,"minLength":1,"title":"Request Id"},"draft_id":{"type":"string","maxLength":100,"minLength":1,"title":"Draft Id"},"draft_revision":{"type":"integer","minimum":1.0,"title":"Draft Revision"},"revision":{"type":"integer","minimum":0.0,"title":"Revision"},"occurred_on":{"type":"string","title":"Occurred On"},"next_action":{"type":"string","maxLength":1000,"title":"Next Action","default":""},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"}},"additionalProperties":false,"type":"object","required":["request_id","draft_id","draft_revision","revision","occurred_on"],"title":"ManualOutreachIn"},"MarkBody":{"properties":{"category":{"anyOf":[{"type":"string","enum":["needs_you","interested","too_early","pass"]},{"type":"null"}],"title":"Category"},"handled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Handled"}},"additionalProperties":false,"type":"object","title":"MarkBody"},"MatchIn":{"properties":{"sectors":{"items":{"type":"string"},"type":"array","maxItems":15,"title":"Sectors"},"stages":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Stages"},"geos":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Geos"},"stage":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Stage"},"geo":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Geo"},"ticket":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Ticket"},"wants":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Wants"},"has_website":{"type":"boolean","title":"Has Website","default":true}},"type":"object","title":"MatchIn"},"ProfileIn":{"properties":{"profile_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,39}$","title":"Profile Id"},"company":{"type":"string","title":"Company"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"one_liner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"One Liner"},"traction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traction"},"stage":{"type":"string","title":"Stage","default":"unknown"},"customer":{"type":"string","title":"Customer","default":"unknown"},"business_model":{"type":"string","title":"Business Model","default":"unknown"},"team_size":{"type":"string","title":"Team Size","default":"unknown"},"revenue":{"type":"string","title":"Revenue","default":"unknown"},"technical_founder":{"type":"boolean","title":"Technical Founder","default":false},"sectors":{"items":{"type":"string"},"type":"array","title":"Sectors","default":[]},"geo_wanted":{"items":{"type":"string"},"type":"array","title":"Geo Wanted","default":[]},"off_limits":{"items":{"type":"string"},"type":"array","title":"Off Limits","default":[]},"competitors":{"items":{"type":"string"},"type":"array","title":"Competitors","default":[]},"pitches":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Pitches"}},"type":"object","required":["profile_id","company"],"title":"ProfileIn","description":"A confirmed draft. The scorable file is assembled from it in code, never sent by a client:\nthat keeps one wording for every customer and makes the rubric comparable between them."},"ProfilePatch":{"properties":{"values":{"additionalProperties":true,"type":"object","title":"Values"}},"additionalProperties":false,"type":"object","required":["values"],"title":"ProfilePatch"},"ReadIn":{"properties":{"url":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Url"},"turnstile":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Turnstile"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"name":{"type":"string","maxLength":80,"title":"Name","default":""}},"type":"object","title":"ReadIn"},"RelationshipPatch":{"properties":{"status":{"type":"string","enum":["new","saved","applied","passed","contacted","replied","meeting","diligence","committed"],"title":"Status","default":"new"},"bookmarked":{"type":"boolean","title":"Bookmarked","default":false},"notes":{"type":"string","maxLength":20000,"title":"Notes","default":""},"next_action":{"type":"string","maxLength":1000,"title":"Next Action","default":""},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"revision":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Revision"}},"additionalProperties":false,"type":"object","title":"RelationshipPatch"},"RememberIn":{"properties":{"fact":{"type":"string","maxLength":500,"minLength":1,"title":"Fact"}},"additionalProperties":false,"type":"object","required":["fact"],"title":"RememberIn"},"ReviewBody":{"properties":{"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"decision":{"type":"string","enum":["approved","rejected"],"title":"Decision"},"accept_held":{"type":"boolean","title":"Accept Held","default":false}},"additionalProperties":false,"type":"object","required":["revision","decision"],"title":"ReviewBody"},"ScanIn":{"properties":{"limit":{"type":"integer","maximum":1200.0,"minimum":1.0,"title":"Limit","default":1200},"overwrite":{"type":"boolean","title":"Overwrite","default":false}},"type":"object","title":"ScanIn"},"SendReview":{"properties":{"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"account_id":{"type":"string","maxLength":100,"minLength":1,"title":"Account Id"}},"additionalProperties":false,"type":"object","required":["revision","account_id"],"title":"SendReview"},"SendingSettings":{"properties":{"paused":{"type":"boolean","title":"Paused","default":false},"daily_cap":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Daily Cap"},"weekdays_only":{"type":"boolean","title":"Weekdays Only","default":true},"window_start_hour":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Window Start Hour"},"window_end_hour":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Window End Hour"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone"},"followup_cap":{"anyOf":[{"type":"integer","maximum":2.0,"minimum":0.0},{"type":"null"}],"title":"Followup Cap"}},"additionalProperties":false,"type":"object","required":["daily_cap","window_start_hour","window_end_hour","timezone"],"title":"SendingSettings"},"StatusIn":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"StatusIn"},"UnlockIn":{"properties":{"sectors":{"items":{"type":"string"},"type":"array","maxItems":15,"title":"Sectors"},"stages":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Stages"},"geos":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Geos"},"stage":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Stage"},"geo":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Geo"},"ticket":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Ticket"},"company":{"type":"string","maxLength":80,"title":"Company","default":""},"one_liner":{"type":"string","maxLength":300,"title":"One Liner","default":""},"customer":{"type":"string","maxLength":20,"title":"Customer","default":"unknown"}},"type":"object","title":"UnlockIn"},"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"},"WaitlistIn":{"properties":{"email":{"type":"string","maxLength":254,"title":"Email"},"website":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Website"},"company":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Company"},"one_liner":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"One Liner"},"sectors":{"items":{"type":"string"},"type":"array","maxItems":15,"title":"Sectors"},"stages":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Stages"},"geos":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Geos"},"investors":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":0.0},{"type":"null"}],"title":"Investors"},"programmes":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Programmes"},"source":{"type":"string","pattern":"^[a-z_]{1,24}$","title":"Source","default":"preview"},"ticket":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Ticket"}},"type":"object","required":["email"],"title":"WaitlistIn"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}