{"openapi":"3.1.0","info":{"title":"XMath AI API","version":"1.0.0"},"paths":{"/api/solve":{"post":{"tags":["solve"],"summary":"Solve","description":"Solve a math problem from screenshot.","operationId":"solve_api_solve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/usage":{"get":{"tags":["solve"],"summary":"Get Usage","description":"Get current usage status.","operationId":"get_usage_api_usage_get","parameters":[{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/solve/stream":{"post":{"tags":["solve"],"summary":"Solve Stream","description":"Stream solution for a math problem.\nReturns Server-Sent Events (SSE) with solution chunks.","operationId":"solve_stream_api_solve_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/strategies":{"get":{"tags":["solve"],"summary":"Get Strategies","description":"Get available model strategies.\n\nStrategies:\n- flash_lite_first: Flash Lite → Flash (cheapest)\n- flash_first: Flash → Flash Lite (quality)","operationId":"get_strategies_api_strategies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/verify":{"post":{"tags":["auth"],"summary":"Verify Token","description":"Verify Clerk session token and return user info.","operationId":"verify_token_api_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/device-status":{"get":{"tags":["auth"],"summary":"Device Auth Status","description":"Lightweight auth polling endpoint for the extension side panel.\nIt avoids coupling login recovery to usage/billing side effects.","operationId":"device_auth_status_api_auth_device_status_get","parameters":[{"name":"device_id","in":"query","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/callback":{"post":{"tags":["auth"],"summary":"Auth Callback","description":"Handle auth callback from landing page.\nCreates or updates user in database after Clerk authentication.\nReturns user info for extension to store.","operationId":"auth_callback_api_auth_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/signout":{"post":{"tags":["auth"],"summary":"Sign Out","description":"Handle sign-out from extension.\nUnlinks device_id from clerk_id so user appears logged out.\nNote: device_id stays in chrome.storage.sync - user can't get new anonymous credits.","operationId":"sign_out_api_auth_signout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignOutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/user/{clerk_id}":{"get":{"tags":["auth"],"summary":"Get User","description":"Get user info by clerk_id.","operationId":"get_user_api_auth_user__clerk_id__get","parameters":[{"name":"clerk_id","in":"path","required":true,"schema":{"type":"string","title":"Clerk Id"}}],"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":"Create Checkout","description":"Create Stripe checkout session.","operationId":"create_checkout_api_billing_checkout_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["billing"],"summary":"Checkout Redirect","description":"Create Stripe checkout session and redirect (GET version for browser navigation).","operationId":"checkout_redirect_api_billing_checkout_get","parameters":[{"name":"clerk_id","in":"query","required":true,"schema":{"type":"string","title":"Clerk Id"}},{"name":"plan","in":"query","required":true,"schema":{"type":"string","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/webhook":{"post":{"tags":["billing"],"summary":"Stripe Webhook","description":"Handle Stripe webhooks.","operationId":"stripe_webhook_api_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/billing/portal":{"get":{"tags":["billing"],"summary":"Customer Portal","description":"Create Stripe customer portal session and redirect.","operationId":"customer_portal_api_billing_portal_get","parameters":[{"name":"clerk_id","in":"query","required":true,"schema":{"type":"string","title":"Clerk Id"}},{"name":"return_url","in":"query","required":true,"schema":{"type":"string","title":"Return Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offers/pack-100/status":{"get":{"tags":["billing"],"summary":"Get Pack Offer Status","operationId":"get_pack_offer_status_api_billing_offers_pack_100_status_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offers/pack-100/activate":{"post":{"tags":["billing"],"summary":"Activate Pack Offer","operationId":"activate_pack_offer_api_billing_offers_pack_100_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offers/pack-100/hide":{"post":{"tags":["billing"],"summary":"Hide Pack Offer","operationId":"hide_pack_offer_api_billing_offers_pack_100_hide_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offers/subscription-bonus/status":{"get":{"tags":["billing"],"summary":"Get Subscription Bonus Offer Status","operationId":"get_subscription_bonus_offer_status_api_billing_offers_subscription_bonus_status_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offers/subscription-bonus/activate":{"post":{"tags":["billing"],"summary":"Activate Subscription Bonus Offer","operationId":"activate_subscription_bonus_offer_api_billing_offers_subscription_bonus_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/offers/subscription-bonus/hide":{"post":{"tags":["billing"],"summary":"Hide Subscription Bonus Offer","operationId":"hide_subscription_bonus_offer_api_billing_offers_subscription_bonus_hide_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/cancel":{"post":{"tags":["billing"],"summary":"Cancel Subscription","description":"Cancel subscription at end of billing period.","operationId":"cancel_subscription_api_billing_cancel_post","parameters":[{"name":"clerk_id","in":"query","required":true,"schema":{"type":"string","title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/change-plan":{"post":{"tags":["billing"],"summary":"Change Plan","description":"Change subscription plan with proration.","operationId":"change_plan_api_billing_change_plan_post","parameters":[{"name":"clerk_id","in":"query","required":true,"schema":{"type":"string","title":"Clerk Id"}},{"name":"new_plan","in":"query","required":true,"schema":{"type":"string","title":"New Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/subscription-info":{"get":{"tags":["billing"],"summary":"Get Subscription Info","description":"Get detailed subscription information.","operationId":"get_subscription_info_api_billing_subscription_info_get","parameters":[{"name":"clerk_id","in":"query","required":true,"schema":{"type":"string","title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/referral/attach-device":{"post":{"tags":["referral"],"summary":"Attach Device","description":"Attribute an anonymous device to a referrer before the friend signs up.\n\nThe code comes from the body or from the ``xmath_ref`` cookie that the\nlanding sets on ``.x-mathai.com``. Idempotent per device.","operationId":"attach_device_api_referral_attach_device_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachDeviceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/referral/visit":{"post":{"tags":["referral"],"summary":"Record Visit","description":"Log a landing visit that carried a referral code.","operationId":"record_visit_api_referral_visit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/referral/apply":{"post":{"tags":["referral"],"summary":"Apply Referral","description":"Apply a typed referral code to a freshly registered account.\n\nNeither side is paid here: both signup bonuses settle on the friend's first\ncredit-consuming solve (``grant_referrer_first_solve_bonus``).","operationId":"apply_referral_api_referral_apply_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyReferralRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/referral/info":{"get":{"tags":["referral"],"summary":"Get Referral Info","description":"Referral code, link and friend stats for a registered or anonymous user.","operationId":"get_referral_info_api_referral_info_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/feedback":{"post":{"tags":["feedback"],"summary":"Submit Feedback","description":"Submit user feedback.\n\n- **message**: Feedback text (required, 1-5000 chars)\n- **email**: User email for reply (optional)\n- **categories**: Comma-separated list: bug, feature, question (optional)\n- **device_id**: Device UUID for rate limiting (optional)\n- **language**: User's language code (optional, default: en)\n- **images**: Up to 3 images, max 5MB each (optional)\n\nRate limits:\n- 3 messages/hour per device_id\n- 20 messages/hour per IP","operationId":"submit_feedback_api_feedback_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_submit_feedback_api_feedback_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat/stream":{"post":{"tags":["chat"],"summary":"Chat Stream","description":"Stream chat response via SSE.","operationId":"chat_stream_api_chat_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat/conversations":{"get":{"tags":["chat"],"summary":"List Conversations","description":"List user's chat conversations from Katsuragi/Kraken.","operationId":"list_conversations_api_chat_conversations_get","parameters":[{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat/conversations/{conversation_id}/messages":{"get":{"tags":["chat"],"summary":"Get Conversation Messages","description":"Get messages for a conversation.","operationId":"get_conversation_messages_api_chat_conversations__conversation_id__messages_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat/conversations/{conversation_id}":{"delete":{"tags":["chat"],"summary":"Delete Conversation","description":"Delete a conversation (defense-in-depth: verify ownership first).","operationId":"delete_conversation_api_chat_conversations__conversation_id__delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bonus/review":{"post":{"tags":["bonus"],"summary":"Claim Review Bonus","description":"Claim 100 bonus credits for leaving a Chrome Web Store review.","operationId":"claim_review_bonus_api_bonus_review_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewBonusRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credits/daily-status":{"get":{"tags":["credits"],"summary":"Daily Credit Status","operationId":"daily_credit_status_api_credits_daily_status_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"anonymous_status_enabled","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Anonymous Status Enabled"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credits/daily-claim":{"post":{"tags":["credits"],"summary":"Daily Credit Claim","operationId":"daily_credit_claim_api_credits_daily_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credits/signup-offer/seen":{"post":{"tags":["credits"],"summary":"Signup Offer Seen","operationId":"signup_offer_seen_api_credits_signup_offer_seen_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credits/signup-offer/lock":{"post":{"tags":["credits"],"summary":"Signup Offer Lock","operationId":"signup_offer_lock_api_credits_signup_offer_lock_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/ingest-solution":{"post":{"tags":["problems"],"summary":"Ingest Solution","operationId":"ingest_solution_api_problems_ingest_solution_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestSolutionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/examples":{"get":{"tags":["problems"],"summary":"List Public Examples","operationId":"list_public_examples_api_problems_examples_get","parameters":[{"name":"keyword","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/{problem_cluster_id}/community":{"get":{"tags":["problems"],"summary":"Get Community","operationId":"get_community_api_problems__problem_cluster_id__community_get","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/slug/{slug}/community":{"get":{"tags":["problems"],"summary":"Get Community By Slug","operationId":"get_community_by_slug_api_problems_slug__slug__community_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/{problem_cluster_id}/reaction":{"post":{"tags":["problems"],"summary":"Add Reaction","operationId":"add_reaction_api_problems__problem_cluster_id__reaction_post","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["problems"],"summary":"Delete Reaction","operationId":"delete_reaction_api_problems__problem_cluster_id__reaction_delete","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClearReactionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/{problem_cluster_id}/comments":{"get":{"tags":["problems"],"summary":"Get Comments","operationId":"get_comments_api_problems__problem_cluster_id__comments_get","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"top","title":"Sort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["problems"],"summary":"Add Comment","operationId":"add_comment_api_problems__problem_cluster_id__comments_post","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/{problem_cluster_id}/report":{"post":{"tags":["problems"],"summary":"Report Problem","operationId":"report_problem_api_problems__problem_cluster_id__report_post","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/comments/{comment_id}/vote":{"post":{"tags":["problems"],"summary":"Vote Comment","operationId":"vote_comment_api_problems_comments__comment_id__vote_post","parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentVoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/admin/comments/{comment_id}/moderate":{"post":{"tags":["problems"],"summary":"Moderate Comment","operationId":"moderate_comment_api_problems_admin_comments__comment_id__moderate_post","parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","title":"Comment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCommentModerationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/problems/admin/clusters/{problem_cluster_id}/moderate":{"post":{"tags":["problems"],"summary":"Moderate Cluster","operationId":"moderate_cluster_api_problems_admin_clusters__problem_cluster_id__moderate_post","parameters":[{"name":"problem_cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Problem Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminClusterModerationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/problem/":{"get":{"tags":["problem-pages"],"summary":"Get Static Problem Index Page","operationId":"get_static_problem_index_page_problem__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"tags":["problem-pages"],"summary":"Get Static Problem Index Page","operationId":"get_static_problem_index_page_problem__head","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/problem":{"get":{"tags":["problem-pages"],"summary":"Get Static Problem Index Page","operationId":"get_static_problem_index_page_problem_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"tags":["problem-pages"],"summary":"Get Static Problem Index Page","operationId":"get_static_problem_index_page_problem_head","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/problem/{topic_slug}/{slug}":{"get":{"tags":["problem-pages"],"summary":"Get Static Public Problem Page","operationId":"get_static_public_problem_page_problem__topic_slug___slug__get","parameters":[{"name":"topic_slug","in":"path","required":true,"schema":{"type":"string","title":"Topic Slug"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"tags":["problem-pages"],"summary":"Get Static Public Problem Page","operationId":"get_static_public_problem_page_problem__topic_slug___slug__head","parameters":[{"name":"topic_slug","in":"path","required":true,"schema":{"type":"string","title":"Topic Slug"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/problem/{slug}":{"get":{"tags":["problem-pages"],"summary":"Get Public Problem Page","operationId":"get_public_problem_page_problem__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"tags":["problem-pages"],"summary":"Get Public Problem Page","operationId":"get_public_problem_page_problem__slug__head","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/problem-sitemap.xml":{"get":{"tags":["problem-pages"],"summary":"Problem Sitemap","operationId":"problem_sitemap_problem_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"tags":["problem-pages"],"summary":"Problem Sitemap","operationId":"problem_sitemap_problem_sitemap_xml_head","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/analytics/events":{"post":{"tags":["analytics"],"summary":"Record Events","operationId":"record_events_api_analytics_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsBatchIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analytics/operation-traces":{"post":{"tags":["analytics"],"summary":"Record Operation Traces","operationId":"record_operation_traces_api_analytics_operation_traces_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationTraceBatchIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/developer/thread":{"get":{"tags":["inbox"],"summary":"Get Developer Thread","operationId":"get_developer_thread_api_inbox_developer_thread_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/developer/messages":{"get":{"tags":["inbox"],"summary":"List Developer Messages","operationId":"list_developer_messages_api_inbox_developer_messages_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/developer/unread-summary":{"get":{"tags":["inbox"],"summary":"Get Developer Unread Summary","operationId":"get_developer_unread_summary_api_inbox_developer_unread_summary_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/developer/send":{"post":{"tags":["inbox"],"summary":"Send Developer Message","operationId":"send_developer_message_api_inbox_developer_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/developer/read":{"post":{"tags":["inbox"],"summary":"Read Developer Messages","operationId":"read_developer_messages_api_inbox_developer_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperReadRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/developer/dismiss":{"post":{"tags":["inbox"],"summary":"Dismiss Developer Message","operationId":"dismiss_developer_message_api_inbox_developer_dismiss_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperDismissRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/solve-history":{"post":{"tags":["solve-history"],"summary":"Create Solve History","operationId":"create_solve_history_api_solve_history_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveHistoryCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["solve-history"],"summary":"List Solve History","operationId":"list_solve_history_api_solve_history_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"problem_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Problem Type"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/solve-history/tags":{"get":{"tags":["solve-history"],"summary":"List Solve History Tags","operationId":"list_solve_history_tags_api_solve_history_tags_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/solve-history/{history_id}":{"get":{"tags":["solve-history"],"summary":"Get Solve History Item","operationId":"get_solve_history_item_api_solve_history__history_id__get","parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","title":"History Id"}},{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/solve-history/{history_id}/share":{"post":{"tags":["solve-history"],"summary":"Share Solve History Item","operationId":"share_solve_history_item_api_solve_history__history_id__share_post","parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","title":"History Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveHistoryShareRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/share/{share_token}":{"get":{"tags":["share-pages"],"summary":"Shared Solve Page","operationId":"shared_solve_page_share__share_token__get","parameters":[{"name":"share_token","in":"path","required":true,"schema":{"type":"string","title":"Share Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/extension/config":{"get":{"tags":["extension"],"summary":"Extension Config","operationId":"extension_config_api_extension_config_get","parameters":[{"name":"extension_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Extension Version"}},{"name":"content_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Content Version"}},{"name":"source_host","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Host"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/squad":{"get":{"tags":["squad"],"summary":"Get Squad","operationId":"get_squad_api_squad_get","parameters":[{"name":"clerk_id","in":"query","required":true,"schema":{"type":"string","title":"Clerk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/squad/peers":{"get":{"tags":["squad"],"summary":"Get Peers","description":"Classmates seen on the same school LMS host. Null when nothing to show.","operationId":"get_peers_api_squad_peers_get","parameters":[{"name":"clerk_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/squad/join":{"post":{"tags":["squad"],"summary":"Join","operationId":"join_api_squad_join_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SquadJoinRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/squad/leave":{"post":{"tags":["squad"],"summary":"Leave","operationId":"leave_api_squad_leave_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SquadIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/squad/remove":{"post":{"tags":["squad"],"summary":"Remove","operationId":"remove_api_squad_remove_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SquadRemoveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/squad/regenerate-code":{"post":{"tags":["squad"],"summary":"Regenerate Code","operationId":"regenerate_code_api_squad_regenerate_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SquadIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/autofill/plan":{"post":{"tags":["autofill"],"summary":"Plan Autofill","operationId":"plan_autofill_api_autofill_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutofillPlanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/autofill/plan/result":{"post":{"tags":["autofill"],"summary":"Report Autofill Plan Result","operationId":"report_autofill_plan_result_api_autofill_plan_result_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutofillPlanResultRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AdminClusterModerationRequest":{"properties":{"admin_token":{"type":"string","title":"Admin Token"},"visibility_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Status"},"is_flagged":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Flagged"},"quality_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Score"}},"type":"object","required":["admin_token"],"title":"AdminClusterModerationRequest"},"AdminCommentModerationRequest":{"properties":{"admin_token":{"type":"string","title":"Admin Token"},"status":{"type":"string","title":"Status"}},"type":"object","required":["admin_token","status"],"title":"AdminCommentModerationRequest"},"AnalyticsBatchIn":{"properties":{"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"session_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Session Id"},"extension_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Extension Version"},"events":{"items":{"$ref":"#/components/schemas/AnalyticsEventIn"},"type":"array","maxItems":50,"title":"Events"}},"type":"object","title":"AnalyticsBatchIn"},"AnalyticsEventIn":{"properties":{"event":{"type":"string","maxLength":120,"minLength":1,"title":"Event"},"ts":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Ts"},"surface":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Surface"},"view":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"View"},"properties":{"type":"object","title":"Properties"}},"type":"object","required":["event"],"title":"AnalyticsEventIn"},"ApplyReferralRequest":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"},"referral_code":{"type":"string","title":"Referral Code"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["clerk_id","referral_code"],"title":"ApplyReferralRequest"},"AttachDeviceRequest":{"properties":{"device_id":{"type":"string","title":"Device Id"},"referral_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referral Code"}},"type":"object","required":["device_id"],"title":"AttachDeviceRequest"},"AuthCallbackRequest":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"signup_wall_variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signup Wall Variant"}},"type":"object","required":["clerk_id"],"title":"AuthCallbackRequest"},"AutofillPlanRequest":{"properties":{"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"extension_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Extension Version"},"operation_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Operation Id"},"round":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Round","default":1},"answer":{"type":"string","maxLength":2000,"title":"Answer"},"autofill_plan":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Autofill Plan"},"snapshot":{"type":"object","title":"Snapshot"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"history":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"History"}},"type":"object","required":["answer","snapshot"],"title":"AutofillPlanRequest"},"AutofillPlanResultRequest":{"properties":{"attempt_id":{"type":"string","maxLength":64,"title":"Attempt Id"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"outcome":{"type":"string","maxLength":24,"title":"Outcome"},"detail":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["attempt_id","outcome"],"title":"AutofillPlanResultRequest"},"Body_submit_feedback_api_feedback_post":{"properties":{"message":{"type":"string","maxLength":5000,"minLength":1,"title":"Message"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"categories":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categories"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","default":"en"},"images":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Images","default":[]}},"type":"object","required":["message"],"title":"Body_submit_feedback_api_feedback_post"},"ChatHistoryMessage":{"properties":{"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"ChatHistoryMessage"},"ChatRequest":{"properties":{"message":{"type":"string","maxLength":4000,"title":"Message"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"language":{"type":"string","title":"Language","default":"en"},"history":{"items":{"$ref":"#/components/schemas/ChatHistoryMessage"},"type":"array","title":"History","default":[]}},"type":"object","required":["message"],"title":"ChatRequest"},"CheckoutRequest":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"},"plan":{"type":"string","title":"Plan"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"}},"type":"object","required":["clerk_id","plan","success_url","cancel_url"],"title":"CheckoutRequest"},"CheckoutResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"}},"type":"object","required":["checkout_url"],"title":"CheckoutResponse"},"ClearReactionRequest":{"properties":{"solution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solution Id"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","title":"ClearReactionRequest"},"CommentRequest":{"properties":{"solution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solution Id"},"comment_type":{"type":"string","title":"Comment Type","default":"general"},"body":{"type":"string","maxLength":4000,"minLength":1,"title":"Body"},"is_anonymous":{"type":"boolean","title":"Is Anonymous","default":true},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","required":["body"],"title":"CommentRequest"},"CommentVoteRequest":{"properties":{"vote_type":{"type":"string","title":"Vote Type"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","required":["vote_type"],"title":"CommentVoteRequest"},"CreditIdentityRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"anonymous_status_enabled":{"type":"boolean","title":"Anonymous Status Enabled","default":false},"trigger_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Source"}},"type":"object","title":"CreditIdentityRequest"},"DeveloperDismissRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"message_id":{"type":"string","maxLength":120,"minLength":1,"title":"Message Id"}},"type":"object","required":["message_id"],"title":"DeveloperDismissRequest"},"DeveloperReadRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"}},"type":"object","title":"DeveloperReadRequest"},"DeveloperSendRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"body_markdown":{"type":"string","maxLength":10000,"minLength":1,"title":"Body Markdown"},"language":{"type":"string","maxLength":20,"title":"Language","default":"en"}},"type":"object","required":["body_markdown"],"title":"DeveloperSendRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IngestSolutionRequest":{"properties":{"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"screenshot_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot Hash"},"solution":{"type":"string","maxLength":50000,"title":"Solution","default":""},"final_answer":{"type":"string","maxLength":10000,"title":"Final Answer","default":""},"work":{"anyOf":[{"type":"string","maxLength":50000},{"type":"null"}],"title":"Work"},"work_label":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Work Label"},"problem_type":{"type":"string","maxLength":100,"title":"Problem Type","default":"other"},"model_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Model Name"},"provider_request_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Provider Request Id"},"provider_request_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":8},{"type":"null"}],"title":"Provider Request Ids"},"source":{"type":"string","maxLength":50,"title":"Source","default":"extension"},"source_host":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Source Host"},"source_platform":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Platform"},"mode":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Mode"},"community_problem":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Community Problem"}},"type":"object","title":"IngestSolutionRequest"},"OfferIdentityRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"trigger_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Source"}},"type":"object","title":"OfferIdentityRequest"},"OperationTraceBatchIn":{"properties":{"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"session_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Session Id"},"extension_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Extension Version"},"traces":{"items":{"$ref":"#/components/schemas/OperationTraceIn"},"type":"array","maxItems":100,"title":"Traces"}},"type":"object","title":"OperationTraceBatchIn"},"OperationTraceIn":{"properties":{"operation_id":{"type":"string","maxLength":140,"minLength":1,"title":"Operation Id"},"operation_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Operation Type"},"step":{"type":"string","maxLength":140,"minLength":1,"title":"Step"},"status":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Status"},"source":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source"},"source_host":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Host"},"path_template":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Path Template"},"page_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Page Url"},"ts":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Ts"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["operation_id","step"],"title":"OperationTraceIn"},"ReactionRequest":{"properties":{"solution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solution Id"},"reaction_type":{"type":"string","title":"Reaction Type"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","required":["reaction_type"],"title":"ReactionRequest"},"ReferralInfoResponse":{"properties":{"referral_code":{"type":"string","title":"Referral Code"},"referral_link":{"type":"string","title":"Referral Link"},"total_referrals":{"type":"integer","title":"Total Referrals"},"converted_referrals":{"type":"integer","title":"Converted Referrals"},"total_earned":{"type":"integer","title":"Total Earned"},"friends_total":{"type":"integer","title":"Friends Total"},"friends_anonymous":{"type":"integer","title":"Friends Anonymous"},"friends_solved":{"type":"integer","title":"Friends Solved"},"friends_registered":{"type":"integer","title":"Friends Registered"},"friends_subscribed":{"type":"integer","title":"Friends Subscribed"},"flagged_self_referrals":{"type":"integer","title":"Flagged Self Referrals"},"credits_earned":{"type":"integer","title":"Credits Earned"},"bonuses":{"type":"object","title":"Bonuses"},"anonymous_weekly_cap":{"type":"integer","title":"Anonymous Weekly Cap"},"anonymous_paid_this_week":{"type":"integer","title":"Anonymous Paid This Week"}},"type":"object","required":["referral_code","referral_link","total_referrals","converted_referrals","total_earned","friends_total","friends_anonymous","friends_solved","friends_registered","friends_subscribed","flagged_self_referrals","credits_earned","bonuses","anonymous_weekly_cap","anonymous_paid_this_week"],"title":"ReferralInfoResponse"},"ReportRequest":{"properties":{"solution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solution Id"},"comment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment Id"},"report_type":{"type":"string","title":"Report Type","default":"other"},"body":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Body"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","title":"ReportRequest"},"ReviewBonusRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","title":"ReviewBonusRequest"},"SignOutRequest":{"properties":{"device_id":{"type":"string","title":"Device Id"}},"type":"object","required":["device_id"],"title":"SignOutRequest"},"SolveHistoryCreateRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"problem_cluster_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Problem Cluster Id"},"problem_solution_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Problem Solution Id"},"source_host":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Source Host"},"source_platform":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Platform"},"solve_mode":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Solve Mode"},"problem_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Problem Type"},"normalized_problem":{"anyOf":[{"type":"string","maxLength":50000},{"type":"null"}],"title":"Normalized Problem"},"public_problem_text":{"anyOf":[{"type":"string","maxLength":50000},{"type":"null"}],"title":"Public Problem Text"},"solution_markdown":{"type":"string","maxLength":100000,"minLength":1,"title":"Solution Markdown"},"final_answer":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Final Answer"},"community_problem_json":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Community Problem Json"},"visual_payload":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Visual Payload"}},"type":"object","required":["solution_markdown"],"title":"SolveHistoryCreateRequest"},"SolveHistoryShareRequest":{"properties":{"clerk_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Clerk Id"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"}},"type":"object","title":"SolveHistoryShareRequest"},"SolveRequest":{"properties":{"image":{"type":"string","title":"Image"},"mode":{"type":"string","title":"Mode","default":"step_by_step"},"language":{"type":"string","title":"Language","default":"en"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"clerk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clerk Id"},"strategy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strategy"},"extension_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extension Version"},"solve_response_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solve Response Schema"},"solve_variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solve Variant"},"requested_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Model"},"reasoning_effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning Effort"},"credit_cost":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credit Cost"},"stream":{"type":"boolean","title":"Stream","default":false},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"source_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Host"},"source_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Platform"},"verification_problem_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Problem Text"},"verification_choices":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Verification Choices"},"answer_form":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Answer Form"},"answer_widget":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Answer Widget"},"page_snapshot":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Page Snapshot"},"autofill_requested":{"type":"boolean","title":"Autofill Requested","default":false},"graph_context":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Graph Context"},"operation_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Operation Id"},"capture_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Capture Id"},"parent_operation_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Parent Operation Id"}},"type":"object","required":["image"],"title":"SolveRequest"},"SolveResponse":{"properties":{"solution":{"type":"string","title":"Solution"},"final_answer":{"type":"string","title":"Final Answer"},"problem_type":{"type":"string","title":"Problem Type"},"work":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work"},"work_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Label"},"methods":{"anyOf":[{"items":{"anyOf":[{"type":"object"},{"type":"string"}]},"type":"array"},{"type":"null"}],"title":"Methods"},"visuals":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Visuals"},"answer_visual":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Answer Visual"},"community_problem":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Community Problem"},"credits_remaining":{"type":"integer","title":"Credits Remaining"},"credits_limit":{"type":"integer","title":"Credits Limit"},"is_premium":{"type":"boolean","title":"Is Premium"},"model_used":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Used"},"provider_request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Request Id"},"provider_request_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Provider Request Ids"},"cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Usd"},"solve_variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solve Variant"},"credit_cost":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credit Cost"},"verification":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Verification"},"answer_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer Status"},"verification_retry_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Verification Retry Count"},"af":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Af"},"pa":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Pa"},"solve_diagnostics":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Solve Diagnostics"},"graph_evidence":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Graph Evidence"}},"type":"object","required":["solution","final_answer","problem_type","credits_remaining","credits_limit","is_premium"],"title":"SolveResponse"},"SquadIdentityRequest":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"}},"type":"object","required":["clerk_id"],"title":"SquadIdentityRequest"},"SquadJoinRequest":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"},"code":{"type":"string","title":"Code"}},"type":"object","required":["clerk_id","code"],"title":"SquadJoinRequest"},"SquadRemoveRequest":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"},"member_user_id":{"type":"string","title":"Member User Id"}},"type":"object","required":["clerk_id","member_user_id"],"title":"SquadRemoveRequest"},"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"},"VerifyRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"VerifyRequest"},"VerifyResponse":{"properties":{"clerk_id":{"type":"string","title":"Clerk Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["clerk_id","email","name"],"title":"VerifyResponse"},"VisitRequest":{"properties":{"referral_code":{"type":"string","title":"Referral Code"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["referral_code"],"title":"VisitRequest"}}}}