{"openapi":"3.1.0","info":{"title":"Coinfetti API","version":"0.1.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Healthz Healthz Get"}}}}}}},"/auth/register":{"post":{"summary":"Register","operationId":"register_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterCredentials"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Register Auth Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/login":{"post":{"summary":"Login","operationId":"login_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credentials"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Login Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/google":{"post":{"summary":"Google Login","description":"Sign in (or sign up) with a verified Google ID token.\n\nOne endpoint serves both the login and register buttons — with Google there\nis no meaningful difference, and asking the browser which one it meant would\njust be a lie the client could tell. Always 200: whether this created an\naccount is not the caller's business, and 201-vs-200 would leak whether an\nemail is already registered.\n\nLinking policy (deliberate, and the security-relevant part):\n\n* `email_verified` must be true, always. Google's assertion that the user\n  controls the address is the ENTIRE basis for matching on email; without it\n  the token proves only that someone signed into some Google account that\n  merely *claims* this address. Unverified is refused outright — we neither\n  link (account takeover) nor create (squatting on an address the user may\n  not own, which would also block the real owner from registering later).\n* Existing account with that email -> sign into it. Verified-email identity\n  is the same person by definition, so a second row would be a duplicate,\n  not a defense. A password account keeps its password AND gains Google as\n  a second door; auth_provider stays \"password\" because it still has one.\n* No account -> create one flagged \"google\" with NO password hash. Not an\n  empty string, not a random one: NULL, which verify_password() rejects and\n  /auth/forgot skips, so there is no path that turns this into a usable\n  password (see the User model).","operationId":"google_login_auth_google_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCredential"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Google Login Auth Google Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/me":{"get":{"summary":"Me","operationId":"me_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Auth Me Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/forgot":{"post":{"summary":"Forgot Password","description":"Always returns the same 200 — a known and an unknown email are\nindistinguishable (no account-enumeration signal). A real account with a\npassword set gets a reset link (emailed, or logged when no provider).","operationId":"forgot_password_auth_forgot_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Forgot Password Auth Forgot Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/reset":{"post":{"summary":"Reset Password","description":"Consume a reset token and set a new password. The token is bound to the\naccount's current hash, so it works exactly once — the reset invalidates it\n(and any other outstanding reset token) by rotating the hash.","operationId":"reset_password_auth_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reset Password Auth Reset Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/change-password":{"post":{"summary":"Change Password","description":"Change password for the logged-in user; requires the current one.","operationId":"change_password_auth_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Change Password Auth Change Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/strategies":{"post":{"summary":"Submit Strategy","operationId":"submit_strategy_strategies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Submit Strategy Strategies Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/runs/{run_id}":{"get":{"summary":"Run Status","operationId":"run_status_runs__run_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Status Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runs/{run_id}/report":{"get":{"summary":"Run Report","operationId":"run_report_runs__run_id__report_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Report Runs  Run Id  Report Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runs/{run_id}/share":{"post":{"summary":"Share Run","description":"Turn public sharing on. Idempotent: a run that already has a token\nkeeps it — calling this again just re-confirms the existing link rather\nthan minting a new one and orphaning anything already handed out.","operationId":"share_run_runs__run_id__share_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Share Run Runs  Run Id  Share Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Unshare Run","description":"Turn public sharing off. The token is deliberately left in place — see\n``share_run`` — so flipping this back on reuses the same link.","operationId":"unshare_run_runs__run_id__share_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Unshare Run Runs  Run Id  Share Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runs/shared/{token}":{"get":{"summary":"Shared Run Report","description":"The public view of a shared run: no auth, resolved by token alone, and\nnever routed through ``_owned_run`` (there is no caller identity here to\nown anything). Unknown and unshared tokens are identical 404s so a guess\ncan't confirm a run id exists — the same opacity ``_owned_run`` uses.","operationId":"shared_run_report_runs_shared__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Shared Run Report Runs Shared  Token  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runs/{run_id}/promote":{"post":{"summary":"Promote Run","operationId":"promote_run_runs__run_id__promote_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Promote Run Runs  Run Id  Promote Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bots":{"get":{"summary":"List Bots","operationId":"list_bots_bots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Bots Bots Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/bots/{bot_id}":{"get":{"summary":"Get Bot","operationId":"get_bot_bots__bot_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Bot Bots  Bot Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Patch Bot","operationId":"patch_bot_bots__bot_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchBotRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Bot Bots  Bot Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bots/{bot_id}/ledger":{"get":{"summary":"Get Bot Ledger","operationId":"get_bot_ledger_bots__bot_id__ledger_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Bot Ledger Bots  Bot Id  Ledger Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bots/{bot_id}/pause":{"post":{"summary":"Pause Bot","operationId":"pause_bot_bots__bot_id__pause_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Pause Bot Bots  Bot Id  Pause Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bots/{bot_id}/resume":{"post":{"summary":"Resume Bot","operationId":"resume_bot_bots__bot_id__resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resume Bot Bots  Bot Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bots/{bot_id}/kill":{"post":{"summary":"Kill Bot","operationId":"kill_bot_bots__bot_id__kill_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Kill Bot Bots  Bot Id  Kill Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/history":{"get":{"summary":"History","operationId":"history_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response History History Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/assist/author":{"post":{"summary":"Assist Author","operationId":"assist_author_assist_author_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Assist Author Assist Author Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/tier":{"get":{"summary":"Billing Tier","description":"The caller's own tier + usage. Identity comes from the token — the old\nemail query param let anyone probe another user's subscription status.","operationId":"billing_tier_billing_tier_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Billing Tier Billing Tier Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/checkout":{"post":{"summary":"Create Checkout","operationId":"create_checkout_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Checkout Billing Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/portal":{"post":{"summary":"Create Portal","description":"A Stripe-hosted billing-portal session for the caller: change or cancel\nthe plan, update the card, see invoices. Requires an existing subscription\n(that is what carries the Stripe customer id).","operationId":"create_portal_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Portal Billing Portal Post"}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/webhook":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stripe Webhook Billing Webhook Post"}}}}}}},"/marketplace/listings":{"get":{"summary":"Browse Listings","operationId":"browse_listings_marketplace_listings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Browse Listings Marketplace Listings Get"}}}}}},"post":{"summary":"Create Listing","operationId":"create_listing_marketplace_listings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListingRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Listing Marketplace Listings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/marketplace/listings/{listing_id}":{"get":{"summary":"Listing Detail","operationId":"listing_detail_marketplace_listings__listing_id__get","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","title":"Listing Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Listing Detail Marketplace Listings  Listing Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/marketplace/listings/{listing_id}/purchase":{"post":{"summary":"Purchase Listing","operationId":"purchase_listing_marketplace_listings__listing_id__purchase_post","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","title":"Listing Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Purchase Listing Marketplace Listings  Listing Id  Purchase Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys":{"post":{"summary":"Create Key","operationId":"create_key_v1_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Key V1 Keys Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/validate":{"post":{"summary":"Validate","operationId":"validate_v1_validate_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Validate V1 Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalog/presets":{"get":{"summary":"List Presets","description":"Every starter preset, exactly as defined in domain/presets.py.","operationId":"list_presets_catalog_presets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Presets Catalog Presets Get"}}}}}}},"/catalog/symbols":{"get":{"summary":"List Symbols","description":"The curated coin catalog, most liquid first — the picker's source.","operationId":"list_symbols_catalog_symbols_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Symbols Catalog Symbols Get"}}}}}}},"/leaderboard":{"get":{"summary":"Get Leaderboard","operationId":"get_leaderboard_leaderboard_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","default":"30d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Leaderboard Leaderboard Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AuthorRequest":{"properties":{"description":{"type":"string","maxLength":4000,"minLength":10,"title":"Description"}},"type":"object","required":["description"],"title":"AuthorRequest"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","maxLength":72,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","maxLength":72,"minLength":8,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"ChangePasswordRequest"},"CheckoutRequest":{"properties":{"tier":{"type":"string","title":"Tier"}},"type":"object","required":["tier"],"title":"CheckoutRequest"},"CreateKeyRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"owner_email":{"type":"string","maxLength":255,"minLength":3,"title":"Owner Email"}},"type":"object","required":["name","owner_email"],"title":"CreateKeyRequest"},"CreateListingRequest":{"properties":{"user_email":{"type":"string","maxLength":255,"minLength":3,"title":"User Email"},"strategy_version_id":{"type":"string","title":"Strategy Version Id"},"price_cents":{"type":"integer","maximum":1000000.0,"minimum":100.0,"title":"Price Cents"},"seller_claim_text":{"type":"string","maxLength":4000,"minLength":10,"title":"Seller Claim Text"}},"type":"object","required":["user_email","strategy_version_id","price_cents","seller_claim_text"],"title":"CreateListingRequest"},"Credentials":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":72,"minLength":8,"title":"Password"}},"type":"object","required":["email","password"],"title":"Credentials"},"ForgotRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"ForgotRequest"},"GoogleCredential":{"properties":{"credential":{"type":"string","maxLength":8192,"minLength":1,"title":"Credential"}},"type":"object","required":["credential"],"title":"GoogleCredential"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"PatchBotRequest":{"properties":{"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname"},"interval_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interval Seconds"},"max_drawdown_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Drawdown Pct"}},"additionalProperties":false,"type":"object","title":"PatchBotRequest","description":"Partial per-bot settings update for PATCH /bots/{bot_id}.\n\nEvery field is optional so a client sends only what changed; ``patch_bot``\nbelow reads ``model_dump(exclude_unset=True)`` to tell \"not mentioned\"\napart from \"explicitly sent as null\" — the latter is a deliberate\ninstruction to clear the field back to its inherited/unguarded default\n(see Bot's docstring in db/models.py), not a no-op.\n\n``peak_equity`` has no field here at all: it is server-maintained (bumped\nevery tick by promote_worker.py) and letting a client set it would let\nthem erase or fake the bot's own drawdown history. ``extra=\"forbid\"``\nturns an attempt to send it — or any other unknown key — into a 422\nrather than a silently-ignored no-op, since sending it is either a client\nbug or a tamper attempt, either way worth surfacing rather than\nswallowing."},"PromoteRequest":{"properties":{"consent_scopes":{"items":{"type":"string"},"type":"array","title":"Consent Scopes"},"override":{"type":"boolean","title":"Override","default":false}},"type":"object","title":"PromoteRequest"},"PurchaseRequest":{"properties":{"user_email":{"type":"string","maxLength":255,"minLength":3,"title":"User Email"}},"type":"object","required":["user_email"],"title":"PurchaseRequest"},"RegisterCredentials":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":72,"minLength":8,"title":"Password"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"type":"object","required":["email","password"],"title":"RegisterCredentials"},"ResetRequest":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","maxLength":72,"minLength":8,"title":"Password"}},"type":"object","required":["token","password"],"title":"ResetRequest"},"SubmitRequest":{"properties":{"spec":{"additionalProperties":true,"type":"object","title":"Spec"},"consent_scopes":{"items":{"type":"string"},"type":"array","title":"Consent Scopes"}},"type":"object","required":["spec"],"title":"SubmitRequest"},"ValidateRequest":{"properties":{"is_net_returns":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Is Net Returns"},"oos_net_returns":{"items":{"type":"number"},"type":"array","maxItems":100000,"title":"Oos Net Returns"},"k":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"K","description":"TRUE number of trials behind this candidate"}},"type":"object","required":["is_net_returns","k"],"title":"ValidateRequest"},"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"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}