{"openapi":"3.1.0","info":{"title":"TickerRAG API","version":"0.1.0"},"paths":{"/health/pipeline":{"get":{"summary":"Pipeline Health","operationId":"pipeline_health_health_pipeline_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/signup-config":{"get":{"tags":["auth"],"summary":"Signup Config","description":"What the sign-up page needs before it renders: whether email sign-ups are paused,\nand the web lane's Turnstile site key while that challenge is on.","operationId":"signup_config_auth_signup_config_get","parameters":[{"name":"client","in":"query","required":false,"schema":{"enum":["web","app"],"type":"string","default":"web","title":"Client"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupConfigOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/signup":{"post":{"tags":["auth"],"summary":"Signup","operationId":"signup_auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify-email":{"get":{"tags":["auth"],"summary":"Verify Email","description":"The link format emailed before 2026-09-24; those links keep working.","operationId":"verify_email_auth_verify_email_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["auth"],"summary":"Verify Email From Page","description":"The emailed link opens /verify-email in the web app or a phone app, which posts here.","operationId":"verify_email_from_page_auth_verify_email_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/google/login":{"get":{"tags":["auth"],"summary":"Google Login","operationId":"google_login_auth_google_login_get","parameters":[{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"placement","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placement"}},{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Channel"}},{"name":"entry","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Entry"}},{"name":"medium","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Medium"}},{"name":"campaign","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Campaign"}},{"name":"creative","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Creative"}},{"name":"acquisition","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Acquisition"}},{"name":"ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Ref"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},{"name":"client","in":"query","required":false,"schema":{"enum":["web","mobile"],"type":"string","default":"web","title":"Client"}},{"name":"code_challenge","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":43,"maxLength":43,"pattern":"^[A-Za-z0-9_-]{43}$"},{"type":"null"}],"title":"Code Challenge"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/google/link/start":{"post":{"tags":["auth"],"summary":"Google Link Start","description":"Connect Google to the signed-in account. The Google subject is what gets linked; the\nGoogle account's email plays no part, exactly as with Connect Apple. The state carries the\naccount, so the callback can never create or switch accounts for a link attempt.","operationId":"google_link_start_auth_google_link_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLinkStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/google/status":{"get":{"tags":["auth"],"summary":"Google Status","operationId":"google_status_auth_google_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/google/callback":{"get":{"tags":["auth"],"summary":"Google Callback","operationId":"google_callback_auth_google_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/mobile/exchange":{"post":{"tags":["auth"],"summary":"Mobile Token Exchange","operationId":"mobile_token_exchange_auth_mobile_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileTokenExchangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/set-password":{"post":{"tags":["auth"],"summary":"Set Password","description":"Give an account its first password. Replacing one goes through change-password.\n\nThis bridge once overwrote any password for any session, which would have made the\ncurrent-password check on change-password decorative. It now only fills a missing one.","operationId":"set_password_auth_set_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPasswordRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/renew":{"post":{"tags":["auth"],"summary":"Renew Session","description":"Swap a signed-in session for a fresh one, so an app in regular use stays signed in.\n\nA session still ends seven days after its last renewal, and a password change still\nends it: get_current_user has already refused a token issued before that change. An\nApple session keeps its revocable session binding. Only a bearer session renews; an\nAPI key is a different credential and is never exchanged for a session token.\n\nRenewal also stops SESSION_MAX_AGE_DAYS after the sign-in that started the chain, so\na token taken once cannot be kept alive indefinitely by renewing it; the person signs\nin again. A token from before the stamp existed is dated from its own issue.","operationId":"renew_session_auth_renew_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/change-password":{"post":{"tags":["auth"],"summary":"Change Password","description":"Change a password, or add the first one to a Google or Apple account.\n\nAn existing password must be confirmed. The change signs out every other session, and\nthe fresh token returned here keeps this one signed in. A wrong current password is a\n400, not a 401: the client reads 401 as \"your session ended\" and would sign out.","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":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/forgot-password":{"post":{"tags":["auth"],"summary":"Forgot Password","operationId":"forgot_password_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/reset-password":{"post":{"tags":["auth"],"summary":"Reset Password","operationId":"reset_password_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple/config":{"get":{"tags":["auth"],"summary":"Config","operationId":"config_auth_apple_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/apple/status":{"get":{"tags":["auth"],"summary":"Status","operationId":"status_auth_apple_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/apple/start":{"post":{"tags":["auth"],"summary":"Start","operationId":"start_auth_apple_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple/link/start":{"post":{"tags":["auth"],"summary":"Link Start","operationId":"link_start_auth_apple_link_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/auth/apple/complete":{"post":{"tags":["auth"],"summary":"Complete","operationId":"complete_auth_apple_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple/notifications":{"post":{"tags":["auth"],"summary":"Notifications","operationId":"notifications_auth_apple_notifications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleNotification"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple/link/revoked":{"post":{"tags":["auth"],"summary":"Credential Revoked","description":"The installed client observed the OS credential as revoked/not found.","operationId":"credential_revoked_auth_apple_link_revoked_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/mobile/push/config":{"get":{"tags":["mobile"],"summary":"Config","operationId":"config_mobile_push_config_get","parameters":[{"name":"android_fcm","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Android Fcm"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mobile/push/preferences":{"get":{"tags":["mobile"],"summary":"Preferences","operationId":"preferences_mobile_push_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"put":{"tags":["mobile"],"summary":"Save Preferences","operationId":"save_preferences_mobile_push_preferences_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preferences"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/mobile/push/companies":{"get":{"tags":["mobile"],"summary":"Companies","description":"Per-company exceptions, the account defaults they override, the monitored companies, and\nwhether any phone is connected, so the company page and the Settings panel can show the\ncontrols only where they take effect.","operationId":"companies_mobile_push_companies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"put":{"tags":["mobile"],"summary":"Save Companies","description":"Bulk phone alerts: apply a cadence and/or the price switch to many companies, or clear\ntheir exceptions so they follow the account default again.","operationId":"save_companies_mobile_push_companies_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPreferencesBulk"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/mobile/push/companies/{ticker}":{"put":{"tags":["mobile"],"summary":"Save Company","operationId":"save_company_mobile_push_companies__ticker__put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPreference"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mobile/push/devices":{"post":{"tags":["mobile"],"summary":"Register","operationId":"register_mobile_push_devices_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceRegistration"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/mobile/push/disable":{"post":{"tags":["mobile"],"summary":"Disable","operationId":"disable_mobile_push_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceProof"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mobile/push/receipts/{push_id}":{"get":{"tags":["mobile"],"summary":"Receipt","operationId":"receipt_mobile_push_receipts__push_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"push_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Push Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSignalsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mobile/push/devices/{device_id}":{"get":{"tags":["mobile"],"summary":"Device Status","operationId":"device_status_mobile_push_devices__device_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/catalog":{"get":{"tags":["billing"],"summary":"Billing Catalog","operationId":"billing_catalog_billing_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/status":{"get":{"tags":["billing"],"summary":"Billing Status","operationId":"billing_status_billing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingStatusOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/checkout":{"post":{"tags":["billing"],"summary":"Create Checkout Session","operationId":"create_checkout_session_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/portal":{"post":{"tags":["billing"],"summary":"Create Portal Session","operationId":"create_portal_session_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalSessionOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/webhook":{"post":{"tags":["billing"],"summary":"Stripe Webhook","operationId":"stripe_webhook_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/native/account":{"post":{"tags":["billing"],"summary":"Native Account","operationId":"native_account_billing_native_account_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/native/verify":{"post":{"tags":["billing"],"summary":"Verify Native Purchase","operationId":"verify_native_purchase_billing_native_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/native/catalog":{"get":{"tags":["billing"],"summary":"Native Catalog","operationId":"native_catalog_billing_native_catalog_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"store","in":"query","required":true,"schema":{"enum":["apple","google"],"type":"string","title":"Store"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/native/prepare":{"post":{"tags":["billing"],"summary":"Prepare Native Purchase","operationId":"prepare_native_purchase_billing_native_prepare_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/native/attempt":{"post":{"tags":["billing"],"summary":"Native Attempt Outcome","operationId":"native_attempt_outcome_billing_native_attempt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptOutcome"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/billing/native/notifications/apple/{environment}":{"post":{"tags":["billing"],"summary":"Apple Notification","operationId":"apple_notification_billing_native_notifications_apple__environment__post","parameters":[{"name":"environment","in":"path","required":true,"schema":{"enum":["production","sandbox"],"type":"string","title":"Environment"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/native/notifications/google":{"post":{"tags":["billing"],"summary":"Google Notification","operationId":"google_notification_billing_native_notifications_google_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/challenges/proposals":{"post":{"tags":["challenges"],"summary":"Propose Challenge","description":"Return a model-free exact-input/cost review without reserving anything.","operationId":"propose_challenge_challenges_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisChallengeProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisChallengeProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/challenges/confirmations":{"post":{"tags":["challenges"],"summary":"Confirm Challenge","description":"Reserve one allowance/cost envelope and publish one immutable run.","operationId":"confirm_challenge_challenges_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisChallengeConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisChallengeConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/challenges":{"get":{"tags":["challenges"],"summary":"List Challenges","operationId":"list_challenges_challenges_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThesisChallengeRunOut"},"title":"Response List Challenges Challenges Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/challenges/{run_id}":{"get":{"tags":["challenges"],"summary":"Get Challenge","operationId":"get_challenge_challenges__run_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisChallengeRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{ticker}/state":{"get":{"tags":["company state"],"summary":"Get Company Temporal State","description":"Read already-shared company state only; this endpoint is never a model call.","operationId":"get_company_temporal_state_companies__ticker__state_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTemporalStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{ticker}/state/observations/{observation_id}/feedback":{"put":{"tags":["company state"],"summary":"Set Management Promise Feedback","description":"Attach one user's correction to an exact shared extractor observation.","operationId":"set_management_promise_feedback_companies__ticker__state_observations__observation_id__feedback_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"observation_id","in":"path","required":true,"schema":{"type":"integer","title":"Observation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementPromiseFeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagementPromiseFeedbackOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{ticker}/state/promises":{"post":{"tags":["company state"],"summary":"Analyze Management Promises","description":"Durably enqueue shared analysis; provider/model work belongs to Celery.","operationId":"analyze_management_promises_companies__ticker__state_promises_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTemporalStateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/csp-report":{"post":{"tags":["csp"],"summary":"Csp Report","operationId":"csp_report_csp_report_post","responses":{"204":{"description":"Successful Response"}}}},"/admin/editorial/backfill-runs":{"get":{"tags":["editorial admin"],"summary":"Editorial Backfill Run Queue","description":"List durable, already-paid backfill runs for the private review inbox.","operationId":"editorial_backfill_run_queue_admin_editorial_backfill_runs_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/backfill-runs/{run_id}/candidates":{"get":{"tags":["editorial admin"],"summary":"Editorial Backfill Candidate Queue","description":"Return ranked candidate, motivating-source, and factor-packet context.","operationId":"editorial_backfill_candidate_queue_admin_editorial_backfill_runs__run_id__candidates_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"disposition","in":"query","required":false,"schema":{"enum":["ready_for_editorial_review","needs_revision","reject","all"],"type":"string","default":"ready_for_editorial_review","title":"Disposition"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/backfill-runs/{run_id}/proposals":{"post":{"tags":["editorial admin"],"summary":"Create Slate Proposal From Backfill","description":"Create an immutable proposal; retain every later human/publication gate.","operationId":"create_slate_proposal_from_backfill_admin_editorial_backfill_runs__run_id__proposals_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillProposalIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/slate-proposals":{"post":{"tags":["editorial admin"],"summary":"Import Slate Proposal","operationId":"import_slate_proposal_admin_editorial_slate_proposals_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlateProposalImportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["editorial admin"],"summary":"Slate Proposal Queue","operationId":"slate_proposal_queue_admin_editorial_slate_proposals_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["pending_review","approved","processed"],"type":"string","default":"pending_review","title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/slate-proposals/{proposal_id}/versions":{"post":{"tags":["editorial admin"],"summary":"Create Slate Proposal Version","operationId":"create_slate_proposal_version_admin_editorial_slate_proposals__proposal_id__versions_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlateProposalVersionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/slate-proposals/{proposal_id}/versions/{version_number}":{"get":{"tags":["editorial admin"],"summary":"Get Slate Proposal Version","operationId":"get_slate_proposal_version_admin_editorial_slate_proposals__proposal_id__versions__version_number__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/slate-proposals/{proposal_id}/versions/{version_number}/gold-snapshots":{"get":{"tags":["editorial admin"],"summary":"Editorial Slate Gold Snapshot List","description":"List durable packet hashes without rebuilding current retained evidence.","operationId":"editorial_slate_gold_snapshot_list_admin_editorial_slate_proposals__proposal_id__versions__version_number__gold_snapshots_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/slate-proposals/{proposal_id}/versions/{version_number}/gold-snapshots/{approval_sha256}":{"get":{"tags":["editorial admin"],"summary":"Editorial Slate Gold Snapshot","description":"Return one exact saved gold payload without consulting live evidence.","operationId":"editorial_slate_gold_snapshot_admin_editorial_slate_proposals__proposal_id__versions__version_number__gold_snapshots__approval_sha256__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}},{"name":"approval_sha256","in":"path","required":true,"schema":{"type":"string","title":"Approval Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/automation-report":{"get":{"tags":["editorial admin"],"summary":"Editorial Automation Report","description":"Assertions and skips are a diagnostic report, never another decision queue.","operationId":"editorial_automation_report_admin_editorial_automation_report_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"enum":["asserted","skipped"],"type":"string"},{"type":"null"}],"title":"Outcome"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/desk":{"get":{"tags":["editorial admin"],"summary":"Editorial Desk","description":"What Editorial says is waiting, or why we could not find out.\n\nAlways 200, including when Editorial is unreachable. The failure is part of the answer\nrather than an error about it: a 503 here would make the admin page treat a closed tunnel\nthe same way it treats a broken TickerTrac, and the operator's next move differs. The\npayload's `reachability` is what a client branches on -- never the length of `items`,\nwhich is empty in every failure state as well as in the good one.","operationId":"editorial_desk_admin_editorial_desk_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/publish":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Publish","description":"Publish the exact finished carousel as the signed-in admin's one final decision.\n\nThe named human is this admin, not a service identity.  Editorial rechecks every automatic\nassertion and applies the public writes idempotently under the supplied operation key.","operationId":"editorial_desk_publish_admin_editorial_desk_publish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialDeskPublishIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/queue":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Queue","description":"Authorize the reviewed bytes for a future slot; do not publish on this request.","operationId":"editorial_desk_queue_admin_editorial_desk_queue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialDeskPublishIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/freshness":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Freshness","description":"Keep one story publishable past its proposed deadline, as this admin's decision.\n\nEditorial records it with the note and applies it to every freshness check; nothing is\npublished by this request.","operationId":"editorial_desk_freshness_admin_editorial_desk_freshness_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialDeskFreshnessIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/stories/approve":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Story Approve","operationId":"editorial_desk_story_approve_admin_editorial_desk_stories_approve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialStoryApproveIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/stories/control":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Story Control","operationId":"editorial_desk_story_control_admin_editorial_desk_stories_control_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialStoryControlIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/queue/cancel":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Cancel Queue","operationId":"editorial_desk_cancel_queue_admin_editorial_desk_queue_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialQueueCancelIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/approve":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Approval Removed","description":"Refuse stale clients instead of recreating ADR-015's removed approval stage.","operationId":"editorial_desk_approval_removed_admin_editorial_desk_approve_post","responses":{"410":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/display-citation":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Display Citation","description":"Repair a reader link without changing grounding or publishing anything.","operationId":"editorial_desk_display_citation_admin_editorial_desk_display_citation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialDisplayCitationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/desk/preparations/{preparation_entity_id}/slides/{slide_index}":{"get":{"tags":["editorial admin"],"summary":"Editorial Desk Slide","description":"Proxy the exact private JPEG; browser auth never crosses the SSH tunnel.","operationId":"editorial_desk_slide_admin_editorial_desk_preparations__preparation_entity_id__slides__slide_index__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"preparation_entity_id","in":"path","required":true,"schema":{"type":"string","title":"Preparation Entity Id"}},{"name":"slide_index","in":"path","required":true,"schema":{"type":"integer","title":"Slide Index"}},{"name":"preparation_version","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Preparation Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/desk/preparations/{preparation_entity_id}/stories/{frame_index}":{"get":{"tags":["editorial admin"],"summary":"Editorial Desk Story","description":"Admin-only private draft. Carousel approval never publishes these frames.","operationId":"editorial_desk_story_admin_editorial_desk_preparations__preparation_entity_id__stories__frame_index__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"preparation_entity_id","in":"path","required":true,"schema":{"type":"string","title":"Preparation Entity Id"}},{"name":"frame_index","in":"path","required":true,"schema":{"type":"integer","title":"Frame Index"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/desk/remote-action":{"post":{"tags":["editorial admin"],"summary":"Editorial Desk Remote Action","description":"Record a correction or withdrawal against a live publication.","operationId":"editorial_desk_remote_action_admin_editorial_desk_remote_action_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialDeskRemoteActionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/queue":{"get":{"tags":["editorial admin"],"summary":"Editorial Queue","operationId":"editorial_queue_admin_editorial_queue_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/review-surface":{"get":{"tags":["editorial admin"],"summary":"Editorial Review Surface","description":"Return Editorial's self-contained page only through existing admin auth.","operationId":"editorial_review_surface_admin_editorial_review_surface_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/plant/preview":{"post":{"tags":["editorial admin"],"summary":"Preview Plant Packet","operationId":"preview_plant_packet_admin_editorial_plant_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlantReviewIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/plant/adjudications":{"post":{"tags":["editorial admin"],"summary":"Adjudicate Plant Thesis","description":"Append one human thesis decision without planting or publishing anything.","operationId":"adjudicate_plant_thesis_admin_editorial_plant_adjudications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlantAdjudicationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/plant/adjudications/export":{"post":{"tags":["editorial admin"],"summary":"Export Plant Adjudication Gold","description":"Export saved proposal/factor reviews as upstream packet-level gold cases.","operationId":"export_plant_adjudication_gold_admin_editorial_plant_adjudications_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlantAdjudicationReuseIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/plant/revisions":{"post":{"tags":["editorial admin"],"summary":"Create Proposal Revision From Adjudications","description":"Create the next pending proposal version from saved reviewer suggestions.","operationId":"create_proposal_revision_from_adjudications_admin_editorial_plant_revisions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlantAdjudicationReuseIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/plant/approve":{"post":{"tags":["editorial admin"],"summary":"Approve Plant Packet","operationId":"approve_plant_packet_admin_editorial_plant_approve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlantApprovalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/evaluations/decision":{"post":{"tags":["editorial admin"],"summary":"Decide Evaluations","operationId":"decide_evaluations_admin_editorial_evaluations_decision_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationDecisionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/newsletter":{"get":{"tags":["editorial admin"],"summary":"Index","operationId":"index_admin_editorial_newsletter_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/newsletter/{sha256}":{"get":{"tags":["editorial admin"],"summary":"Detail","operationId":"detail_admin_editorial_newsletter__sha256__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"sha256","in":"path","required":true,"schema":{"type":"string","title":"Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/newsletter/action":{"post":{"tags":["editorial admin"],"summary":"Act","operationId":"act_admin_editorial_newsletter_action_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tickerrag__api__routers__editorial_newsletter__Action"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/newsletter/{sha256}/send":{"post":{"tags":["editorial admin"],"summary":"Send","operationId":"send_admin_editorial_newsletter__sha256__send_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"sha256","in":"path","required":true,"schema":{"type":"string","title":"Sha256"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Send"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/x-posts":{"get":{"tags":["editorial admin"],"summary":"Index","operationId":"index_admin_editorial_x_posts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/x-posts/action":{"post":{"tags":["editorial admin"],"summary":"Act","operationId":"act_admin_editorial_x_posts_action_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tickerrag__api__routers__editorial_x__Action"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/workspace":{"get":{"tags":["editorial admin"],"summary":"Index","operationId":"index_admin_editorial_workspace_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":0,"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"}}}}}}},"/admin/editorial/workspace/records":{"post":{"tags":["editorial admin"],"summary":"Save","operationId":"save_admin_editorial_workspace_records_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Save"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/workspace/records/{key}/events":{"post":{"tags":["editorial admin"],"summary":"Event","operationId":"event_admin_editorial_workspace_records__key__events_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/editorial/workspace/import":{"post":{"tags":["editorial admin"],"summary":"Import Records","operationId":"import_records_admin_editorial_workspace_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Import"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/workspace/assets":{"post":{"tags":["editorial admin"],"summary":"Upload","operationId":"upload_admin_editorial_workspace_assets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/editorial/workspace/assets/{sha256}":{"get":{"tags":["editorial admin"],"summary":"Asset","operationId":"asset_admin_editorial_workspace_assets__sha256__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"sha256","in":"path","required":true,"schema":{"type":"string","title":"Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/newsletter/issues":{"get":{"tags":["newsletter"],"summary":"Issues","operationId":"issues_newsletter_issues_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/newsletter/issues/{sha256}":{"get":{"tags":["newsletter"],"summary":"Issue","operationId":"issue_newsletter_issues__sha256__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"sha256","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/editorial-email/subscribe":{"post":{"tags":["editorial-email"],"summary":"Subscribe","operationId":"subscribe_editorial_email_subscribe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/editorial-email/view":{"post":{"tags":["editorial-email"],"summary":"View","operationId":"view_editorial_email_view_post","responses":{"204":{"description":"Successful Response"}}}},"/editorial-email/acquisition":{"get":{"tags":["editorial-email"],"summary":"Acquisition","operationId":"acquisition_editorial_email_acquisition_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Days"}},{"name":"include_tests","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Tests"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/editorial-email/engagement":{"post":{"tags":["editorial-email"],"summary":"Engagement","operationId":"engagement_editorial_email_engagement_post","responses":{"204":{"description":"Successful Response"}}}},"/editorial-email/confirm":{"post":{"tags":["editorial-email"],"summary":"Confirm","operationId":"confirm_editorial_email_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/editorial-email/unsubscribe":{"post":{"tags":["editorial-email"],"summary":"Cancel","operationId":"cancel_editorial_email_unsubscribe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/editorial-email/summary":{"get":{"tags":["editorial-email"],"summary":"Summary","operationId":"summary_editorial_email_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/editorial-email/advertising-conversion":{"post":{"tags":["editorial-email"],"summary":"Advertising Conversion","operationId":"advertising_conversion_editorial_email_advertising_conversion_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/events/writer-invitation-view":{"post":{"tags":["events"],"summary":"Create Writer Invitation View","operationId":"create_writer_invitation_view_events_writer_invitation_view_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriterInvitationViewIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/writer-invitations":{"get":{"tags":["events"],"summary":"Writer Invitation Report","operationId":"writer_invitation_report_events_writer_invitations_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"batch","in":"query","required":true,"schema":{"type":"integer","maximum":65535,"minimum":1,"title":"Batch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/landing-page-view":{"post":{"tags":["events"],"summary":"Create Landing Page View","description":"Count one privacy-minimized landing session without creating an account.","operationId":"create_landing_page_view_events_landing_page_view_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingPageViewIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/landing-reason-preview":{"post":{"tags":["events"],"summary":"Create Landing Reason Preview Event","description":"Count a content-free LAND-01 browser stage without creating an account.","operationId":"create_landing_reason_preview_event_events_landing_reason_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingReasonPreviewEventIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/public-artifact-view":{"post":{"tags":["events"],"summary":"Create Public Artifact View","description":"Count one registered Editorial artifact view per anonymous tab session.","operationId":"create_public_artifact_view_events_public_artifact_view_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicArtifactViewIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/public-cta":{"get":{"tags":["events"],"summary":"Follow Public Cta","description":"Record a qualified public click and redirect with one signed attribution token.","operationId":"follow_public_cta_events_public_cta_get","parameters":[{"name":"artifact","in":"query","required":true,"schema":{"type":"string","title":"Artifact"}},{"name":"session","in":"query","required":true,"schema":{"type":"string","title":"Session"}},{"name":"interaction","in":"query","required":true,"schema":{"type":"string","title":"Interaction"}},{"name":"channel","in":"query","required":true,"schema":{"type":"string","title":"Channel"}},{"name":"account","in":"query","required":true,"schema":{"type":"string","title":"Account"}},{"name":"placement","in":"query","required":true,"schema":{"type":"string","title":"Placement"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events":{"post":{"tags":["events"],"summary":"Create Product Event","description":"Record only UI interactions the server cannot observe directly.\n\nOwnership is resolved server-side before recording stable identifiers. Callers\ncannot attach their event to another user's watchlist, alert, replay or theme version.","operationId":"create_product_event_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductEventIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/events/acquisition-config":{"get":{"tags":["events"],"summary":"Acquisition Config","operationId":"acquisition_config_events_acquisition_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/events/advertising-conversion":{"post":{"tags":["events"],"summary":"Advertising Conversion","operationId":"advertising_conversion_events_advertising_conversion_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingConversionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/events/store-link":{"get":{"tags":["events"],"summary":"Store Link","operationId":"store_link_events_store_link_get","parameters":[{"name":"store","in":"query","required":true,"schema":{"type":"string","title":"Store"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","default":"direct","title":"Source"}},{"name":"placement","in":"query","required":false,"schema":{"type":"string","default":"direct","title":"Placement"}},{"name":"medium","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Medium"}},{"name":"campaign","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign"}},{"name":"creative","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Creative"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/assistant-activity":{"get":{"tags":["events"],"summary":"Assistant Activity","operationId":"assistant_activity_events_assistant_activity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/events/assistant-review-feedback":{"post":{"tags":["events"],"summary":"Assistant Review Feedback","operationId":"assistant_review_feedback_events_assistant_review_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/events/assistant-acquisition":{"get":{"tags":["events"],"summary":"Assistant Acquisition","operationId":"assistant_acquisition_events_assistant_acquisition_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/performance":{"post":{"tags":["regional performance"],"summary":"Collect","operationId":"collect_events_performance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerformanceBatch"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/regional-performance":{"get":{"tags":["regional performance"],"summary":"Report","operationId":"report_admin_regional_performance_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"default":7,"title":"Window Days"}},{"name":"audience","in":"query","required":false,"schema":{"enum":["customer","operator"],"type":"string","default":"customer","title":"Audience"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/landing/reason-preview":{"post":{"tags":["landing"],"summary":"Create Reason Preview","description":"Compare once, without retaining the visitor's reason.","operationId":"create_reason_preview_landing_reason_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingReasonPreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingReasonPreviewResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/landing/preview-handoff":{"post":{"tags":["landing"],"summary":"Create Preview Handoff","operationId":"create_preview_handoff_landing_preview_handoff_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewHandoffIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/landing/preview-handoff/claim":{"post":{"tags":["landing"],"summary":"Claim Preview Handoff","operationId":"claim_preview_handoff_landing_preview_handoff_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewClaimIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me":{"get":{"tags":["users"],"summary":"Get Me","operationId":"get_me_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"delete":{"tags":["users"],"summary":"Delete Me","description":"Self-service deletion of the caller's own account -- distinct from the\nadmin-only DELETE /{user_id} below. Cascades through existing FKs (watchlists,\nwatchlist_tickers, theses, tokens). Authentication re-reads users on every\nrequest, so issued credentials lose access as soon as this commits.","operationId":"delete_me_users_me_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/activation-progress":{"get":{"tags":["users"],"summary":"Get Activation Progress","description":"Project first-use progress from the durable interaction ledger.\n\nThe client records a proof view only after evaluated Company Replay evidence or a\nstored Investment-theme evidence state is visible. Each event binds to an\nowner-validated immutable artifact. Reading those existing milestones keeps Home\naligned with what the investor actually saw without adding parallel mutable state.","operationId":"get_activation_progress_users_me_activation_progress_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivationProgressOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users":{"get":{"tags":["users"],"summary":"List Users","operationId":"list_users_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserOut"},"type":"array","title":"Response List Users Users Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/access":{"get":{"tags":["users"],"summary":"List User Access","description":"Admin-only account access projection; Stripe and grants stay separate.","operationId":"list_user_access_users_access_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminUserAccessOut"},"type":"array","title":"Response List User Access Users Access Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/signup-controls":{"get":{"tags":["users"],"summary":"Get Signup Controls","description":"Admin-only: whether new email sign-ups are paused, and when the spike alert last fired.","operationId":"get_signup_controls_users_signup_controls_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupControlsOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"put":{"tags":["users"],"summary":"Put Signup Controls","description":"Pause or resume new email sign-ups. Google sign-in and existing accounts are\nunaffected; the change is recorded in the admin audit log.","operationId":"put_signup_controls_users_signup_controls_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupControlsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupControlsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/audit-log":{"get":{"tags":["users"],"summary":"Get Audit Log","description":"Declared before /{user_id} below -- FastAPI matches routes in registration\norder, and /{user_id}'s int path converter would otherwise 422 on \"audit-log\"\nbefore ever falling through to this route.","operationId":"get_audit_log_users_audit_log_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogEntryOut"},"title":"Response Get Audit Log Users Audit Log Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}":{"get":{"tags":["users"],"summary":"Get User","operationId":"get_user_users__user_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Delete User","operationId":"delete_user_users__user_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/admin":{"patch":{"tags":["users"],"summary":"Set Admin","operationId":"set_admin_users__user_id__admin_patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/verify":{"patch":{"tags":["users"],"summary":"Verify User","description":"Admin-only escape hatch: manually mark an account's email verified. Exists\nspecifically because the Resend sandbox sender can't reliably deliver the real\nverification email to arbitrary signup addresses (see api/routers/auth.py).","operationId":"verify_user_users__user_id__verify_patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/comp":{"post":{"tags":["users"],"summary":"Grant Comp","description":"Grant complimentary Investor access through the audited account-access desk.\n\nNote this writes comp_expires_at, never subscription_status. See entitlements.py\nfor why touching Stripe's column instead would silently lose the grant.\n\nRe-granting overwrites rather than extends. Extension would make \"give them\nanother 30 days\" ambiguous depending on whether the previous grant had already\nlapsed; setting an absolute end date from now is the same operation every time.","operationId":"grant_comp_users__user_id__comp_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompGrantIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Revoke Comp","description":"Ends a comp immediately. The account falls back to whatever Stripe says about\nit, which for most comped accounts is nothing -- i.e. back to the free tier.","operationId":"revoke_comp_users__user_id__comp_delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/settings":{"patch":{"tags":["users"],"summary":"Update Settings","description":"Write only the fields the request named; a field left out is left alone.","operationId":"update_settings_users_me_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSettingsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/onboarding-preferences/confirm":{"post":{"tags":["users"],"summary":"Confirm Onboarding Preferences","description":"Confirm the default/custom delivery settings as an explicit onboarding step.","operationId":"confirm_onboarding_preferences_users_me_onboarding_preferences_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/research-history":{"delete":{"tags":["users"],"summary":"Clear Research History","description":"Delete the caller's saved Ask questions and answers and price-move explanations.\n\nAsk answers are also copied into research_result_thesis_impacts (artifact_id is the\nask_history row), so those rows go too; otherwise the answers outlive the history.\nPrice-move impacts hang off alerts, not this history, and stay. A completed\nconversational Ask receipt must point at its answer, so the ON DELETE SET NULL on\nthesis_ask_command_confirmations would fail its check: those receipts go first.\nAccount authority only: every non-safe /users route is, so a script key cannot\nclear it.","operationId":"clear_research_history_users_me_research_history_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchHistoryClearedOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/api-key/regenerate":{"post":{"tags":["users"],"summary":"Regenerate Api Key","operationId":"regenerate_api_key_users_me_api_key_regenerate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/api-credentials":{"get":{"tags":["users"],"summary":"List Api Credentials","description":"Revoked rows are listed too: knowing a credential existed and when it was revoked\nis the point of keeping the row instead of deleting it.","operationId":"list_api_credentials_users_me_api_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiCredentialOut"},"type":"array","title":"Response List Api Credentials Users Me Api Credentials Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"post":{"tags":["users"],"summary":"Create Api Credential","description":"Issue an additional API credential limited to the requested scopes (ADR-060).\n\nThis route itself requires `account` authority (see credential_scopes.py), which a\nstored credential can never hold -- so a scoped credential cannot mint a broader one,\nand the only way to widen authority is to sign in.","operationId":"create_api_credential_users_me_api_credentials_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCredentialIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCredentialCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/api-credentials/{credential_id}":{"delete":{"tags":["users"],"summary":"Revoke Api Credential","description":"Idempotent by design: re-revoking an already-revoked credential is still a 204, so\na panicked owner hitting this twice does not see an error and wonder which call won.\nThe ownership predicate is in the WHERE clause, so another account's credential id is\na 404 rather than a silent no-op.","operationId":"revoke_api_credential_users_me_api_credentials__credential_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"integer","title":"Credential Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/examples/company-thesis":{"get":{"tags":["examples"],"summary":"Get Company Thesis Example","operationId":"get_company_thesis_example_examples_company_thesis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleCompanyThesisOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/examples/public/company-thesis":{"get":{"tags":["examples"],"summary":"Get Public Company Thesis Example","description":"Only the enrolled public NVIDIA example. Never takes an account or ticker.","operationId":"get_public_company_thesis_example_examples_public_company_thesis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleCompanyThesisOut"}}}}}}},"/examples/investment-theme":{"get":{"tags":["examples"],"summary":"Get Investment Theme Example","description":"The reviewed public Investment theme from the LAND-01 scope artifact: its wording, the\ncompanies it bears on with the publisher's saved effect for each, and what each company's\nown reviewed evidence did for the theme. Same hide flag as the Company example.","operationId":"get_investment_theme_example_examples_investment_theme_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleInvestmentThemeOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/examples/living":{"get":{"tags":["examples"],"summary":"Get Living Examples","operationId":"get_living_examples_examples_living_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivingExamplesOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/examples/{example_key}/review":{"post":{"tags":["examples"],"summary":"Review Example","operationId":"review_example_examples__example_key__review_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"example_key","in":"path","required":true,"schema":{"type":"string","title":"Example Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleReviewIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivingExampleSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/design-partners":{"get":{"tags":["launch admin"],"summary":"List Design Partners","operationId":"list_design_partners_admin_design_partners_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DesignPartnerOut"},"type":"array","title":"Response List Design Partners Admin Design Partners Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/design-partners/{user_id}":{"put":{"tags":["launch admin"],"summary":"Upsert Design Partner","operationId":"upsert_design_partner_admin_design_partners__user_id__put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesignPartnerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesignPartnerOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/design-partner-thesis-desk-sessions":{"get":{"tags":["launch admin"],"summary":"List Thesis Desk Observed Sessions","operationId":"list_thesis_desk_observed_sessions_admin_design_partner_thesis_desk_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDeskObservedSessionsOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"post":{"tags":["launch admin"],"summary":"Record Thesis Desk Observed Session","operationId":"record_thesis_desk_observed_session_admin_design_partner_thesis_desk_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDeskObservedSessionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDeskObservedSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/quality/observability":{"get":{"tags":["launch admin"],"summary":"Ai Quality Observability","description":"Return the existing content-free AIOBS report without starting AI work.","operationId":"ai_quality_observability_admin_quality_observability_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"since_days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Since Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIQualityObservabilityOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/read-capacity":{"get":{"tags":["launch admin"],"summary":"Read Capacity Report","description":"Retained-read capacity: the durable window by tool and transport, the search\ngate, the pool, one aggregate database sample and the active sustained alarms.\n\nCounts and bucket edges only; no argument, cursor, record, credential, query text,\npid or address. The database sample is cached for a minute per sampler and takes\nits own connection with a two-second checkout timeout, so refreshing this page\nduring a pool incident neither waits ten seconds nor adds pressure. Each part\ndegrades on its own after authentication; authentication still requires the\nshared database. The off-host health observer covers loss of that access.","operationId":"read_capacity_report_admin_read_capacity_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"window_hours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"default":24,"title":"Window Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/launch-metrics":{"get":{"tags":["launch admin"],"summary":"Launch Metrics","operationId":"launch_metrics_admin_launch_metrics_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Window Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchMetricsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/signup-engagement":{"get":{"tags":["launch admin"],"summary":"Signup Engagement Report","operationId":"signup_engagement_report_admin_signup_engagement_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Window Days"}},{"name":"cohort","in":"query","required":false,"schema":{"type":"string","default":"audience","title":"Cohort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/signup-engagement/{user_id}/cohort":{"put":{"tags":["launch admin"],"summary":"Set Signup Cohort","operationId":"set_signup_cohort_admin_signup_engagement__user_id__cohort_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"cohort","in":"query","required":true,"schema":{"type":"string","title":"Cohort"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ask/history":{"get":{"tags":["ask"],"summary":"List Ask History","operationId":"list_ask_history_ask_history_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AskHistoryOut"},"title":"Response List Ask History Ask History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ask":{"post":{"tags":["ask"],"summary":"Ask","operationId":"ask_ask_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/ask/stream":{"post":{"tags":["ask"],"summary":"Ask Stream","operationId":"ask_stream_ask_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/explain/history":{"get":{"tags":["explain"],"summary":"List Explain History","description":"Declared before GET /explain/{ticker} below -- otherwise FastAPI's route\nmatching would treat \"history\" as a `{ticker}` path value first, same lesson\nalready documented in users.py for /audit-log vs /{user_id}.","operationId":"list_explain_history_explain_history_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExplainHistoryOut"},"title":"Response List Explain History Explain History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/explain/{ticker}":{"get":{"tags":["explain"],"summary":"Explain","operationId":"explain_explain__ticker__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":1,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExplainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/explain/{ticker}/stream":{"get":{"tags":["explain"],"summary":"Explain Stream","operationId":"explain_stream_explain__ticker__stream_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":1,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/filings/{ticker}/diff/status":{"get":{"tags":["filings"],"summary":"Get Filing Diff Status","description":"Read source/comparison progress without consuming quota or starting a model call.","operationId":"get_filing_diff_status_filings__ticker__diff_status_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilingDiffStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/filings/{ticker}/diff":{"get":{"tags":["filings"],"summary":"Get Filing Diff","operationId":"get_filing_diff_filings__ticker__diff_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilingDiffOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/filings/{ticker}/prior-year":{"post":{"tags":["filings"],"summary":"Request Prior Year","description":"Queue ingestion of the prior year's annual report so this ticker can be diffed.\n\nCounts against the onboarding quota rather than the query one: like adding a new\nticker, this fetches a filing from EDGAR and embeds a few hundred chunks, which\nis the expensive shape of work that quota exists to bound.","operationId":"request_prior_year_filings__ticker__prior_year_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriorYearIngestOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/filings/{ticker}/call-drift/history":{"get":{"tags":["filings"],"summary":"List Call Drift History","description":"Recent shared comparisons, read-only and never a transcript/model fetch.\n\nThe output is shared company-state history: one user's comparison is a reusable\nresearch artifact for every other user following that ticker. Corpus-backed rows\npreserve the immutable call-version pair and exact executive segments used.","operationId":"list_call_drift_history_filings__ticker__call_drift_history_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CallDriftHistoryOut"},"title":"Response List Call Drift History Filings  Ticker  Call Drift History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/filings/{ticker}/call-drift":{"get":{"tags":["filings"],"summary":"Get Call Drift","description":"How management's language changed between the last two earnings calls.\n\nThe retained corpus makes freshness a database-only exact-version check. A model\nrun is globally shared, and a provider-direct fetch is used only while that ticker\nlacks an attribution-ready retained pair.","operationId":"get_call_drift_filings__ticker__call_drift_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDriftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/search":{"get":{"tags":["tickers"],"summary":"Search Tickers","operationId":"search_tickers_tickers_search_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TickerSearchResult"},"title":"Response Search Tickers Tickers Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/names":{"post":{"tags":["tickers"],"summary":"Company Names","description":"Display names for the tickers a page shows, so the app can write \"AbbVie (ABBV)\".\n\nPublic reference data only (curated, then SEC names); a ticker with no name maps to\nitself, which the app shows as the bare ticker.","operationId":"company_names_tickers_names_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyNamesIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/tickers/status":{"get":{"tags":["tickers"],"summary":"Get Ticker Statuses","description":"Batch dashboard preparation status without one HTTP/SQL fan-out per row.","operationId":"get_ticker_statuses_tickers_status_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TickerStatusOut"},"title":"Response Get Ticker Statuses Tickers Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/status":{"get":{"tags":["tickers"],"summary":"Get Ticker Status","operationId":"get_ticker_status_tickers__ticker__status_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TickerStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/coverage":{"get":{"tags":["research"],"summary":"Get Ticker Coverage","description":"One honest coverage envelope for onboarding and research UI.\n\nA ticker being in the supported universe is not a promise that every source is\navailable. Keeping those two ideas separate prevents a successful price lookup\nfrom being presented as complete filing/expectations coverage.","operationId":"get_ticker_coverage_tickers__ticker__coverage_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TickerCoverageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/research/expectations":{"get":{"tags":["research"],"summary":"Get Expectations Research","operationId":"get_expectations_research_tickers__ticker__research_expectations_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpectationsResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/research/segments":{"get":{"tags":["research"],"summary":"Get Segment Research","description":"Return retained issuer segment history without provider or model calls.","operationId":"get_segment_research_tickers__ticker__research_segments_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/research/presentations":{"get":{"tags":["research"],"summary":"Get Investor Presentations","operationId":"get_investor_presentations_tickers__ticker__research_presentations_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestorPresentationsResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/research/valuation":{"get":{"tags":["research"],"summary":"Valuation Research","description":"Compare cached ratios without a provider/model call on page view.","operationId":"valuation_research_tickers__ticker__research_valuation_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/research/valuation/observations/{observation_id}":{"get":{"tags":["research"],"summary":"Valuation Observation","description":"Open the exact retained provider row behind a displayed valuation.","operationId":"valuation_observation_tickers__ticker__research_valuation_observations__observation_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"observation_id","in":"path","required":true,"schema":{"type":"integer","title":"Observation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationObservationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/research/valuation/peers":{"put":{"tags":["research"],"summary":"Save Valuation Peers","operationId":"save_valuation_peers_tickers__ticker__research_valuation_peers_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationPeerSetIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["research"],"summary":"Reset Valuation Peers","operationId":"reset_valuation_peers_tickers__ticker__research_valuation_peers_delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuationResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickers/{ticker}/listing-prices":{"get":{"tags":["research"],"summary":"Get Listing Price History","description":"Retained native-currency observations; never initiates provider work.","operationId":"get_listing_price_history_tickers__ticker__listing_prices_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date","title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/quality/retrieval-bakeoff/readiness":{"post":{"tags":["retrieval quality admin"],"summary":"Retrieval Bakeoff Readiness","description":"Validate exact private gold and return a content-minimized six-arm plan.","operationId":"retrieval_bakeoff_readiness_admin_quality_retrieval_bakeoff_readiness_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalBakeoffReadinessIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/quality/retrieval-bakeoff/comparison":{"post":{"tags":["retrieval quality admin"],"summary":"Retrieval Bakeoff Comparison","description":"Compare aggregate measured summaries without selecting or promoting a winner.","operationId":"retrieval_bakeoff_comparison_admin_quality_retrieval_bakeoff_comparison_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalBakeoffComparisonIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/quality/retrieval/draft/import":{"post":{"tags":["quality admin"],"summary":"Import Retrieval Quality Draft","description":"Copy current account data into an unverified draft without a model call.","operationId":"import_retrieval_quality_draft_admin_quality_retrieval_draft_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalQualityImportedDraftOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/quality/retrieval/draft/import-editorial":{"post":{"tags":["quality admin"],"summary":"Import Editorial Retrieval Draft","description":"Project one current Editorial run into an unverified gold-review draft.","operationId":"import_editorial_retrieval_draft_admin_quality_retrieval_draft_import_editorial_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalQualityImportedDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theses/shapes":{"get":{"tags":["theses"],"summary":"List Thesis Shapes","description":"The preset thesis shapes, with the ticker already substituted in.\n\nServed rather than hardcoded in the client so the prose has one home: the same\nshapes drive the screener, and a starter that drifted from the criteria it is\nnamed after would quietly mislead. No DB access and no model call -- it's static\ntext, which is exactly why it can be the instant option in the editor.","operationId":"list_thesis_shapes_theses_shapes_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThesisShapeOut"},"title":"Response List Thesis Shapes Theses Shapes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theses/draft":{"post":{"tags":["theses"],"summary":"Create Thesis Draft","operationId":"create_thesis_draft_theses_draft_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDraftRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-interviews":{"post":{"tags":["thesis-interviews"],"summary":"Create Interview Session","description":"Open an interview for one company the investor has no reason for yet.","operationId":"create_interview_session_thesis_interviews_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewStartIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-interviews/capability":{"get":{"tags":["thesis-interviews"],"summary":"Get Interview Capability","description":"Tell an authenticated client whether the configured providers are usable.","operationId":"get_interview_capability_thesis_interviews_capability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewCapabilityOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-interviews/{session_id}":{"get":{"tags":["thesis-interviews"],"summary":"Get Interview Session","operationId":"get_interview_session_thesis_interviews__session_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["thesis-interviews"],"summary":"Delete Interview","operationId":"delete_interview_thesis_interviews__session_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-interviews/{session_id}/voice-transcriptions":{"post":{"tags":["thesis-interviews"],"summary":"Transcribe Interview Voice","description":"Transcribe one bounded recording, then return text for explicit human review.\n\nNo audio bytes are persisted. A durable text receipt makes a lost HTTP response\nidempotent; the transcript does not become an interview message until the ordinary\nmessage route receives the user's reviewed text.","operationId":"transcribe_interview_voice_thesis_interviews__session_id__voice_transcriptions_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}},{"name":"x-voice-transcription-key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"X-Voice-Transcription-Key"}},{"name":"x-audio-duration-ms","in":"header","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"title":"X-Audio-Duration-Ms"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceTranscriptionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-interviews/{session_id}/voice-transcriptions/{transcription_id}":{"delete":{"tags":["thesis-interviews"],"summary":"Discard Interview Voice Transcription","operationId":"discard_interview_voice_transcription_thesis_interviews__session_id__voice_transcriptions__transcription_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}},{"name":"transcription_id","in":"path","required":true,"schema":{"type":"integer","title":"Transcription Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-interviews/{session_id}/messages":{"post":{"tags":["thesis-interviews"],"summary":"Submit Interview Message","description":"One interview turn: claim, call, validate, append.\n\nThree phases with the connection released between them, because the middle phase\nwaits on a model. The claim taken in phase one is what makes phase three safe to\nredeliver: a second arrival of the same turn finds the claim settled and appends\nnothing.","operationId":"submit_interview_message_thesis_interviews__session_id__messages_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewMessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-interviews/{session_id}/retarget":{"post":{"tags":["thesis-interviews"],"summary":"Retarget Interview Session","description":"Apply a user-confirmed target correction without rewriting the used session.","operationId":"retarget_interview_session_thesis_interviews__session_id__retarget_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewRetargetIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-interviews/{session_id}/approval":{"post":{"tags":["thesis-interviews"],"summary":"Approve Interview Draft","description":"The one boundary into thesis state. Before this, nothing is monitored.","operationId":"approve_interview_draft_thesis_interviews__session_id__approval_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewApprovalIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewApprovalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-interviews/{session_id}/abandon":{"post":{"tags":["thesis-interviews"],"summary":"Abandon Interview Session","description":"End an interview without saving anything. Writes no thesis state.","operationId":"abandon_interview_session_thesis_interviews__session_id__abandon_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theme-interviews/capability":{"get":{"tags":["theme-interviews"],"summary":"Get Theme Interview Capability","operationId":"get_theme_interview_capability_theme_interviews_capability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewCapabilityOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/theme-interviews":{"post":{"tags":["theme-interviews"],"summary":"Create Theme Interview","operationId":"create_theme_interview_theme_interviews_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewStartIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/theme-interviews/{session_id}":{"get":{"tags":["theme-interviews"],"summary":"Get Theme Interview","operationId":"get_theme_interview_theme_interviews__session_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["theme-interviews"],"summary":"Discard Theme Interview","operationId":"discard_theme_interview_theme_interviews__session_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theme-interviews/{session_id}/companies":{"post":{"tags":["theme-interviews"],"summary":"Add Company To Theme Interview","operationId":"add_company_to_theme_interview_theme_interviews__session_id__companies_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewCompanyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theme-interviews/{session_id}/companies/{company_id}":{"patch":{"tags":["theme-interviews"],"summary":"Update Theme Interview Company","operationId":"update_theme_interview_company_theme_interviews__session_id__companies__company_id__patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}},{"name":"company_id","in":"path","required":true,"schema":{"type":"integer","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewCompanyStatusIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theme-interviews/{session_id}/messages":{"post":{"tags":["theme-interviews"],"summary":"Submit Theme Interview Message","operationId":"submit_theme_interview_message_theme_interviews__session_id__messages_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewMessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theme-interviews/{session_id}/approval":{"post":{"tags":["theme-interviews"],"summary":"Approve Theme Interview","operationId":"approve_theme_interview_theme_interviews__session_id__approval_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewApprovalIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewApprovalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/theme-interviews/{session_id}/abandon":{"post":{"tags":["theme-interviews"],"summary":"Abandon Theme Interview","operationId":"abandon_theme_interview_theme_interviews__session_id__abandon_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInterviewSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/thesis-performance":{"get":{"tags":["thesis performance"],"summary":"Get Thesis Performance Overview","operationId":"get_thesis_performance_overview_watchlists__watchlist_id__thesis_performance_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisPerformanceOverviewOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/structure":{"get":{"tags":["thesis structure"],"summary":"List Thesis Structures","description":"Every thesis on this watchlist with its structure, in one request.\n\nThe per-ticker route exists for the editor, which is looking at one company. A\nview over all of them asking which theses are actually testable would otherwise\nmake one request per thesis, and the answer it wants -- how many carry an\ninvalidation criterion -- is precisely the thing that is invisible when the only\nway to see it is opening each company in turn.","operationId":"list_thesis_structures_watchlists__watchlist_id__theses_structure_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThesisStructureOut"},"title":"Response List Thesis Structures Watchlists  Watchlist Id  Theses Structure Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/structure":{"get":{"tags":["thesis structure"],"summary":"Get Thesis Structure","operationId":"get_thesis_structure_watchlists__watchlist_id__theses__ticker__structure_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisStructureOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["thesis structure"],"summary":"Replace Thesis Structure","description":"Replace the *current* map while preserving factor identity and archived rows.","operationId":"replace_thesis_structure_watchlists__watchlist_id__theses__ticker__structure_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisStructureIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisStructureOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/timeline/events/{kind}/{referent_id}/importance":{"put":{"tags":["thesis timeline"],"summary":"Mark Timeline Event Important","operationId":"mark_timeline_event_important_watchlists__watchlist_id__theses__ticker__timeline_events__kind___referent_id__importance_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"kind","in":"path","required":true,"schema":{"enum":["alert","source_event","economic_event"],"type":"string","title":"Kind"}},{"name":"referent_id","in":"path","required":true,"schema":{"type":"integer","title":"Referent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimelineEventImportanceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["thesis timeline"],"summary":"Unmark Timeline Event Important","operationId":"unmark_timeline_event_important_watchlists__watchlist_id__theses__ticker__timeline_events__kind___referent_id__importance_delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"kind","in":"path","required":true,"schema":{"enum":["alert","source_event","economic_event"],"type":"string","title":"Kind"}},{"name":"referent_id","in":"path","required":true,"schema":{"type":"integer","title":"Referent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimelineEventImportanceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/timeline":{"get":{"tags":["thesis timeline"],"summary":"Get Thesis Timeline","operationId":"get_thesis_timeline_watchlists__watchlist_id__theses__ticker__timeline_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":730,"minimum":30,"default":365,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisTimelineOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-commands/voice-capability":{"get":{"tags":["thesis commands"],"summary":"Thesis Desk Voice Capability","operationId":"thesis_desk_voice_capability_thesis_commands_voice_capability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDeskVoiceCapabilityOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/voice-transcriptions":{"post":{"tags":["thesis commands"],"summary":"Transcribe Thesis Desk Voice","operationId":"transcribe_thesis_desk_voice_thesis_commands_voice_transcriptions_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"x-voice-transcription-key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"X-Voice-Transcription-Key"}},{"name":"x-audio-duration-ms","in":"header","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"title":"X-Audio-Duration-Ms"}},{"name":"x-voice-context-ticker","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"X-Voice-Context-Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisDeskVoiceTranscriptionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-commands/voice-transcriptions/{transcription_id}":{"delete":{"tags":["thesis commands"],"summary":"Discard Thesis Desk Voice Transcription","operationId":"discard_thesis_desk_voice_transcription_thesis_commands_voice_transcriptions__transcription_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"transcription_id","in":"path","required":true,"schema":{"type":"integer","title":"Transcription Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-commands/read":{"post":{"tags":["thesis commands"],"summary":"Read Thesis Command","description":"Project one allowlisted read for an exact saved thesis version.\n\nNo telemetry or transcript row is written here, and this path has no settings,\nprovider, model, queue or usage dependency. History comes from the same immutable\nprojections as the direct workspaces; it is never reconstructed from conversation.","operationId":"read_thesis_command_thesis_commands_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisReadCommandIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ThesisReadRecentEffectsOut"},{"$ref":"#/components/schemas/ThesisReadCurrentStateOut"},{"$ref":"#/components/schemas/ThesisReadHistoryOut"},{"$ref":"#/components/schemas/ThesisReadSourceInspectionOut"}],"title":"Response Read Thesis Command Thesis Commands Read Post","discriminator":{"propertyName":"operation","mapping":{"recent_effects":"#/components/schemas/ThesisReadRecentEffectsOut","current_state":"#/components/schemas/ThesisReadCurrentStateOut","thesis_history":"#/components/schemas/ThesisReadHistoryOut","source_inspection":"#/components/schemas/ThesisReadSourceInspectionOut"}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/replay-receipts/{confirmation_key}":{"get":{"tags":["thesis commands"],"summary":"Get Thesis Replay Confirmation","description":"Read the exact accepted Replay; never reserve, prepare sources or dispatch.","operationId":"get_thesis_replay_confirmation_thesis_commands_replay_receipts__confirmation_key__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"confirmation_key","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Confirmation Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisReplayConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/thesis-commands/replay-proposals":{"post":{"tags":["thesis commands"],"summary":"Propose Thesis Replay","description":"Review one bounded Replay without reserving usage or starting model work.","operationId":"propose_thesis_replay_thesis_commands_replay_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisReplayProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisReplayProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/replay-confirmations":{"post":{"tags":["thesis commands"],"summary":"Confirm Thesis Replay","description":"Confirm and delegate to Replay's existing allowance and durable job service.","operationId":"confirm_thesis_replay_thesis_commands_replay_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisReplayConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisReplayConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/ask-proposals":{"post":{"tags":["thesis commands"],"summary":"Propose Thesis Ask","description":"Review one exact question without reserving allowance or calling a provider.","operationId":"propose_thesis_ask_thesis_commands_ask_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisAskProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisAskProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/ask-confirmations":{"post":{"tags":["thesis commands"],"summary":"Confirm Thesis Ask","description":"Persist an idempotent, content-free approval before any Ask reservation.","operationId":"confirm_thesis_ask_thesis_commands_ask_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisAskConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisAskConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/ask-stream":{"post":{"tags":["thesis commands"],"summary":"Run Confirmed Thesis Ask","description":"Run one confirmed Ask and bind completion to immutable Ask History.\n\nUnlike Replay, Ask remains a tab-bound stream. The receipt makes retries safe and\nlets a lost completed response replay its saved history, but a failed or abandoned\ngeneration is not silently restarted because the question allowance was already\nreserved.","operationId":"run_confirmed_thesis_ask_thesis_commands_ask_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisAskConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/match-proposals":{"post":{"tags":["thesis commands"],"summary":"Propose Thesis Match","description":"Review one exact private Match without reserving usage or starting work.","operationId":"propose_thesis_match_thesis_commands_match_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisMatchProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisMatchProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/match-confirmations":{"post":{"tags":["thesis commands"],"summary":"Confirm Thesis Match","description":"Bind one approval to the existing Match reservation and durable run.","operationId":"confirm_thesis_match_thesis_commands_match_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisMatchConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisMatchConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/revision-organize-capability":{"get":{"tags":["thesis commands"],"summary":"Thesis Revision Organize Capability","description":"Disclose the allowance before the investor speaks, not after.\n\nReads only counters, so asking what a dictated revision would cost never costs\nanything itself.","operationId":"thesis_revision_organize_capability_thesis_commands_revision_organize_capability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionOrganizeCapabilityOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/revision-organizations":{"post":{"tags":["thesis commands"],"summary":"Organize Dictated Thesis Revision","description":"Organize one dictated transcript into proposed wording the investor approves.\n\nDeliberately declares no ``Depends(get_conn)``: FastAPI holds a yield dependency\nuntil the response completes and this route waits on a model. It takes explicitly\nscoped connections instead -- one to reserve, one afterwards to settle -- with the\nprovider call between them holding nothing.","operationId":"organize_dictated_thesis_revision_thesis_commands_revision_organizations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionOrganizeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionOrganizeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/revision-proposals":{"post":{"tags":["thesis commands"],"summary":"Propose Thesis Revision","description":"Compare user-authored wording with one exact saved thesis version.\n\nThis endpoint has no save, approval, telemetry, provider, model or transcript\ndependency. It returns the existing immutable snapshot plus a deterministic diff.\nExisting Company/theme immutable-version recorders remain the versioning authority.","operationId":"propose_thesis_revision_thesis_commands_revision_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/thesis-commands/revision-confirmations":{"post":{"tags":["thesis commands"],"summary":"Confirm Thesis Revision","description":"Save one explicitly confirmed narrative through immutable thesis history.\n\nThe exact confirmation and proposal UUIDs are recorded on the new immutable version, so\nan identical retry returns that version while a reused key with changed content\nfails closed. Components, links, title and monitoring state are never writable\nthrough this contract.","operationId":"confirm_thesis_revision_thesis_commands_revision_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent-reads":{"post":{"tags":["retained agent reads"],"summary":"Read Retained Records","operationId":"read_retained_records_agent_reads_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent-writes":{"post":{"tags":["approved agent writes"],"summary":"Write Batch","operationId":"write_batch_agent_writes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SetupBatchOut"},{"$ref":"#/components/schemas/BatchOut"},{"$ref":"#/components/schemas/PermittedWriteResult"},{"$ref":"#/components/schemas/PermissionResult"}],"title":"Response Write Batch Agent Writes Post"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent-write-batches":{"get":{"tags":["approved agent writes"],"summary":"Owner Batches","operationId":"owner_batches_agent_write_batches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"anyOf":[{"$ref":"#/components/schemas/SetupBatchOut"},{"$ref":"#/components/schemas/BatchOut"}]},"type":"array","title":"Response Owner Batches Agent Write Batches Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/agent-write-batches/{batch_id}":{"get":{"tags":["approved agent writes"],"summary":"Owner Batch","operationId":"owner_batch_agent_write_batches__batch_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SetupBatchOut"},{"$ref":"#/components/schemas/BatchOut"}],"title":"Response Owner Batch Agent Write Batches  Batch Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/assistant-permissions":{"get":{"tags":["approved agent writes"],"summary":"Owner Permissions","operationId":"owner_permissions_users_me_assistant_permissions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PermissionOut"},"type":"array","title":"Response Owner Permissions Users Me Assistant Permissions Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"post":{"tags":["approved agent writes"],"summary":"Create Permission","operationId":"create_permission_users_me_assistant_permissions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePermission"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/users/me/assistant-permissions/{permission_id}":{"delete":{"tags":["approved agent writes"],"summary":"Revoke Permission","operationId":"revoke_permission_users_me_assistant_permissions__permission_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"permission_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Permission Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent-write-batches/{batch_id}/confirmations":{"post":{"tags":["approved agent writes"],"summary":"Approve Batch","operationId":"approve_batch_agent_write_batches__batch_id__confirmations_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveBatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SetupBatchOut"},{"$ref":"#/components/schemas/BatchOut"}],"title":"Response Approve Batch Agent Write Batches  Batch Id  Confirmations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent-write-batches/{batch_id}/apply-confirmations":{"post":{"tags":["approved agent writes"],"summary":"Apply Owner Batch","operationId":"apply_owner_batch_agent_write_batches__batch_id__apply_confirmations_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveBatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SetupBatchOut"},{"$ref":"#/components/schemas/BatchOut"}],"title":"Response Apply Owner Batch Agent Write Batches  Batch Id  Apply Confirmations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent-write-batches/{batch_id}/rejection":{"post":{"tags":["approved agent writes"],"summary":"Reject Batch","operationId":"reject_batch_agent_write_batches__batch_id__rejection_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SetupBatchOut"},{"$ref":"#/components/schemas/BatchOut"}],"title":"Response Reject Batch Agent Write Batches  Batch Id  Rejection Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-authorization-server":{"get":{"tags":["hosted MCP OAuth"],"summary":"Authorization Server Metadata","operationId":"authorization_server_metadata__well_known_oauth_authorization_server_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/oauth-protected-resource/mcp":{"get":{"tags":["hosted MCP OAuth"],"summary":"Protected Resource Metadata","operationId":"protected_resource_metadata__well_known_oauth_protected_resource_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/oauth-protected-resource":{"get":{"tags":["hosted MCP OAuth"],"summary":"Protected Resource Metadata","operationId":"protected_resource_metadata__well_known_oauth_protected_resource_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp-oauth/register":{"post":{"tags":["hosted MCP OAuth"],"summary":"Register Client","operationId":"register_client_mcp_oauth_register_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp-oauth/authorize":{"get":{"tags":["hosted MCP OAuth"],"summary":"Authorize","operationId":"authorize_mcp_oauth_authorize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp-oauth/authorization-requests/{request_id}":{"get":{"tags":["hosted MCP OAuth"],"summary":"Describe Authorization Request","operationId":"describe_authorization_request_mcp_oauth_authorization_requests__request_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp-oauth/authorization-requests/{request_id}/confirmations":{"post":{"tags":["hosted MCP OAuth"],"summary":"Confirm Authorization Request","operationId":"confirm_authorization_request_mcp_oauth_authorization_requests__request_id__confirmations_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp-oauth/authorization-requests/{request_id}/rejection":{"post":{"tags":["hosted MCP OAuth"],"summary":"Reject Authorization Request","operationId":"reject_authorization_request_mcp_oauth_authorization_requests__request_id__rejection_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp-oauth/token":{"post":{"tags":["hosted MCP OAuth"],"summary":"Token","operationId":"token_mcp_oauth_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp-oauth/revoke":{"post":{"tags":["hosted MCP OAuth"],"summary":"Revoke","operationId":"revoke_mcp_oauth_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/evidence":{"get":{"tags":["thesis evidence"],"summary":"Get Thesis Evidence","description":"Show active claims and their explicitly attached public evidence.","operationId":"get_thesis_evidence_watchlists__watchlist_id__theses__ticker__evidence_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisEvidenceMapOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/claims/{component_id}/evidence/{replay_evaluation_id}":{"post":{"tags":["thesis evidence"],"summary":"Link Replay Evidence","description":"Attach one eligible replay result to a current claim without rewriting either.\n\nLocking the parent thesis serializes this operation with thesis-map edits. The\nreplay must describe the *current* semantic context, so an old evaluation cannot\naccidentally be attached to a claim after its narrative/map has changed.","operationId":"link_replay_evidence_watchlists__watchlist_id__theses__ticker__claims__component_id__evidence__replay_evaluation_id__post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"component_id","in":"path","required":true,"schema":{"type":"integer","title":"Component Id"}},{"name":"replay_evaluation_id","in":"path","required":true,"schema":{"type":"integer","title":"Replay Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisEvidenceLinkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/evidence/{link_id}":{"delete":{"tags":["thesis evidence"],"summary":"Unlink Thesis Evidence","description":"Archive a link rather than deleting its provenance history.","operationId":"unlink_thesis_evidence_watchlists__watchlist_id__theses__ticker__evidence__link_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"integer","title":"Link Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/formation-date":{"get":{"tags":["thesis formation"],"summary":"Get Formation Date","operationId":"get_formation_date_watchlists__watchlist_id__theses__ticker__formation_date_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackRecordBoundaryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["thesis formation"],"summary":"Put Formation Date","operationId":"put_formation_date_watchlists__watchlist_id__theses__ticker__formation_date_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisFormationDateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackRecordBoundaryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["thesis formation"],"summary":"Delete Formation Date","operationId":"delete_formation_date_watchlists__watchlist_id__theses__ticker__formation_date_delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackRecordBoundaryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/history":{"get":{"tags":["thesis history"],"summary":"Get Thesis History","operationId":"get_thesis_history_watchlists__watchlist_id__theses__ticker__history_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisVersionHistoryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/history/{version_number}/rationale":{"put":{"tags":["thesis history"],"summary":"Put Revision Rationale","operationId":"put_revision_rationale_watchlists__watchlist_id__theses__ticker__history__version_number__rationale_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionRationaleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionNoteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["thesis history"],"summary":"Delete Revision Rationale","operationId":"delete_revision_rationale_watchlists__watchlist_id__theses__ticker__history__version_number__rationale_delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/history/{version_number}/candidates":{"get":{"tags":["thesis history"],"summary":"Get Revision Candidates","description":"What happened between the previous version and this one.\n\nAn offer, not a judgement: the response says nothing about which of these\nmattered, and an empty list is a normal answer rather than an error.","operationId":"get_revision_candidates_watchlists__watchlist_id__theses__ticker__history__version_number__candidates_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionCandidatesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/history/{version_number}/causes":{"post":{"tags":["thesis history"],"summary":"Post Revision Cause","operationId":"post_revision_cause_watchlists__watchlist_id__theses__ticker__history__version_number__causes_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionCauseIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionNoteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/history/{version_number}/causes/{cause_id}":{"delete":{"tags":["thesis history"],"summary":"Delete Revision Cause","operationId":"delete_revision_cause_watchlists__watchlist_id__theses__ticker__history__version_number__causes__cause_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}},{"name":"cause_id","in":"path","required":true,"schema":{"type":"integer","title":"Cause Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/me/tracked-targets/{entry_id}":{"get":{"tags":["on the record"],"summary":"Tracked Request Target","operationId":"tracked_request_target_record_me_tracked_targets__entry_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/me/tracked-requests":{"get":{"tags":["on the record"],"summary":"My Tracked Requests","operationId":"my_tracked_requests_record_me_tracked_requests_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"before_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Before Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["on the record"],"summary":"Create Tracked Request","operationId":"create_tracked_request_record_me_tracked_requests_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/me/tracked-requests/{request_id}/challenge":{"post":{"tags":["on the record"],"summary":"Renew Tracked Challenge","operationId":"renew_tracked_challenge_record_me_tracked_requests__request_id__challenge_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpectedRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/me/tracked-requests/{request_id}/proof":{"post":{"tags":["on the record"],"summary":"Submit Tracked Proof","operationId":"submit_tracked_proof_record_me_tracked_requests__request_id__proof_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitProof"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/tracked-requests":{"get":{"tags":["on the record"],"summary":"Admin Tracked Requests","operationId":"admin_tracked_requests_admin_record_tracked_requests_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"before_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Before Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/tracked-requests/{request_id}/proof":{"post":{"tags":["on the record"],"summary":"Verify Tracked Proof","operationId":"verify_tracked_proof_admin_record_tracked_requests__request_id__proof_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyProof"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/tracked-requests/{request_id}/decision":{"post":{"tags":["on the record"],"summary":"Decide Tracked Request","operationId":"decide_tracked_request_admin_record_tracked_requests__request_id__decision_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Decision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/tracked-requests/{request_id}/resolution":{"post":{"tags":["on the record"],"summary":"Resolve Tracked Request","operationId":"resolve_tracked_request_admin_record_tracked_requests__request_id__resolution_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resolution"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/keys":{"get":{"tags":["on the record"],"summary":"Record Keys","operationId":"record_keys_record_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordKeysOut"}}}}}}},"/record/me":{"get":{"tags":["on the record"],"summary":"My Record","operationId":"my_record_record_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordMeOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/record/me/listing":{"put":{"tags":["on the record"],"summary":"Set My Listing","description":"The writer makes their record private again, or public again after that. A record\nrequests publication with its first open version entry; moderation still gates reads, so this\nswitch is the way back; public still needs an open version, the rule the host command applies.","operationId":"set_my_listing_record_me_listing_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordListingIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/record/me/profile":{"put":{"tags":["on the record"],"summary":"Save My Profile","operationId":"save_my_profile_record_me_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordProfileIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/record/me/entry-proposals":{"post":{"tags":["on the record"],"summary":"Propose Record Entry","description":"Show exactly what would be sealed, and its hash, without writing anything.\n\nA derived kind (evidence trail, Replay, what changed) is computed at an explicit\ncutoff that the confirmation carries back, so the bytes the writer read are the\nbytes the server recomputes.","operationId":"propose_record_entry_record_me_entry_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordEntryProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordEntryProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/record/me/entry-confirmations":{"post":{"tags":["on the record"],"summary":"Confirm Record Entry","operationId":"confirm_record_entry_record_me_entry_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordEntryConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordEntryConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/record/me/entries/{entry_id}/reveal":{"post":{"tags":["on the record"],"summary":"Reveal Record Entry","operationId":"reveal_record_entry_record_me_entries__entry_id__reveal_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordEntryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/me/moderation/{request_id}/appeal":{"post":{"tags":["on the record"],"summary":"Appeal Moderation","operationId":"appeal_moderation_record_me_moderation__request_id__appeal_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordModerationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/entries/{entry_id}":{"get":{"tags":["on the record"],"summary":"Public Record Entry","operationId":"public_record_entry_record_entries__entry_id__get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordPublicEntryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/entries/{entry_id}/verify":{"get":{"tags":["on the record"],"summary":"Verify Record Entry","operationId":"verify_record_entry_record_entries__entry_id__verify_get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordVerificationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/anchors":{"get":{"tags":["on the record"],"summary":"Record Anchor List","description":"Newest first: each run's digest of every record's head and whether a public\nauthority has timestamped it. Detail carries the heads and the token itself.","operationId":"record_anchor_list_record_anchors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordAnchorsOut"}}}}}}},"/record/anchors/{anchor_id}":{"get":{"tags":["on the record"],"summary":"Record Anchor Detail","operationId":"record_anchor_detail_record_anchors__anchor_id__get","parameters":[{"name":"anchor_id","in":"path","required":true,"schema":{"type":"integer","title":"Anchor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordAnchorOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/record/editorial":{"get":{"tags":["on the record"],"summary":"Tracked Public Records","operationId":"tracked_public_records_record_editorial_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/record/{handle}":{"get":{"tags":["on the record"],"summary":"Public Record","operationId":"public_record_record__handle__get","parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string","title":"Handle"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordPublicOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record":{"get":{"tags":["on the record"],"summary":"List Records","operationId":"list_records_admin_record_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RecordAdminProfileOut"},"type":"array","title":"Response List Records Admin Record Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/record/referrals":{"get":{"tags":["on the record"],"summary":"Writer Referrals","operationId":"writer_referrals_admin_record_referrals_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordReferralReportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/moderation":{"get":{"tags":["on the record"],"summary":"Moderation Queue","operationId":"moderation_queue_admin_record_moderation_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/record/moderation/{request_id}/decision":{"post":{"tags":["on the record"],"summary":"Decide Moderation","operationId":"decide_moderation_admin_record_moderation__request_id__decision_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordModerationDecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordModerationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/tracked":{"get":{"tags":["on the record"],"summary":"Tracked Admin Records","operationId":"tracked_admin_records_admin_record_tracked_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/record/tracked/comparison":{"post":{"tags":["on the record"],"summary":"Compare Tracked Records","operationId":"compare_tracked_records_admin_record_tracked_comparison_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/record/tracked/{entry_id}/evidence":{"get":{"tags":["on the record"],"summary":"Tracked Evidence Packet","operationId":"tracked_evidence_packet_admin_record_tracked__entry_id__evidence_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"expected_entry_sha256","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Entry Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/record/tracked/preview":{"post":{"tags":["on the record"],"summary":"Preview Tracked Record","operationId":"preview_tracked_record_admin_record_tracked_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackedDraft"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/record/tracked/confirm":{"post":{"tags":["on the record"],"summary":"Confirm Tracked Record","operationId":"confirm_tracked_record_admin_record_tracked_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackedConfirmation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordEntryConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/admin/record/{user_id}/listing":{"post":{"tags":["on the record"],"summary":"Set Record Listing","operationId":"set_record_listing_admin_record__user_id__listing_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordListingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logos/{ticker}.png":{"get":{"tags":["logos"],"summary":"Company Logo","operationId":"company_logo_logos__ticker__png_get","parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/baseline":{"post":{"tags":["thesis baselines"],"summary":"Create Thesis Baseline","description":"Return the cached baseline for this thesis text or build it once.\n\nThe cache identity includes the full text hash and prompt version. Editing the\nthesis creates a new assessment; reloading the page does not create model spend.","operationId":"create_thesis_baseline_watchlists__watchlist_id__theses__ticker__baseline_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisBaselineOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/historical-replay":{"get":{"tags":["historical thesis replay"],"summary":"Get Historical Replay","description":"Return cached replay results plus the number of public candidates available.\n\nThe read path may populate the global ledger from existing local documents, but it\ndoes not call a model. Explicit POST is required before any event is evaluated.","operationId":"get_historical_replay_watchlists__watchlist_id__theses__ticker__historical_replay_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Window Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricalReplayOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["historical thesis replay"],"summary":"Create Historical Replay","description":"Evaluate up to 25 recent stored public events against the current thesis.","operationId":"create_historical_replay_watchlists__watchlist_id__theses__ticker__historical_replay_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Window Days"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricalReplayOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/historical-replay/{evaluation_id}/feedback":{"put":{"tags":["historical thesis replay"],"summary":"Set Historical Replay Feedback","description":"Rate one immutable counterfactual evaluation without changing its judgment.","operationId":"set_historical_replay_feedback_watchlists__watchlist_id__theses__ticker__historical_replay__evaluation_id__feedback_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}},{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"integer","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayFeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayFeedbackOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/call-drift":{"get":{"tags":["watchlists"],"summary":"List Watchlist Call Drift","description":"Every retained comparison across this watchlist, newest first.\n\nCall Drift is quarterly and sparse per ticker, which makes it easy to conclude\nnothing is there when the truth is that you looked at one company between its\ncalls. Across a watchlist the same data reads as a running record of where\nmanagement's language moved, which is what the feature actually is.\n\nRead-only and never a transcript or model fetch: this returns comparisons that\nalready exist, so opening the page cannot spend provider or model budget. A\nticker with no stored comparison is simply absent rather than computed on demand.\n\nEach row is relabelled with the symbol this watchlist actually holds. The sweep\nfiles one comparison per company under that company's plainest symbol, which is\nnot necessarily one the reader tracks -- Block is stored under BSQKZ -- so an\nunrelabelled list would name a company by a symbol its own holder does not\nrecognise, and link to a ticker page they never opened.","operationId":"list_watchlist_call_drift_watchlists__watchlist_id__call_drift_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":40,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CallDriftHistoryOut"},"title":"Response List Watchlist Call Drift Watchlists  Watchlist Id  Call Drift Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/call-drift/{call_drift_id}/implications":{"get":{"tags":["watchlists"],"summary":"Get Call Drift Implications","description":"Private thesis judgments for one shared Call Drift comparison.\n\nThe route never starts model work. It only reveals durable judgments already\nowned by this watchlist, including pending work so the browser can state honestly\nthat a relationship is still being evaluated. The explicit held ticker disambiguates\nclass shares of the same company without leaking a sibling symbol's private alert.","operationId":"get_call_drift_implications_watchlists__watchlist_id__call_drift__call_drift_id__implications_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"call_drift_id","in":"path","required":true,"schema":{"type":"integer","title":"Call Drift Id"}},{"name":"ticker","in":"query","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultThesisImplicationsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/filing-diffs/{filing_diff_id}/implications":{"post":{"tags":["watchlists"],"summary":"Start Filing Diff Implications","description":"Idempotently snapshot and publish private work for one explicit comparison.","operationId":"start_filing_diff_implications_watchlists__watchlist_id__filing_diffs__filing_diff_id__implications_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"filing_diff_id","in":"path","required":true,"schema":{"type":"integer","title":"Filing Diff Id"}},{"name":"ticker","in":"query","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultThesisImplicationsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["watchlists"],"summary":"Get Filing Diff Implications","description":"Read current-context judgments only; this endpoint never starts model work.","operationId":"get_filing_diff_implications_watchlists__watchlist_id__filing_diffs__filing_diff_id__implications_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"filing_diff_id","in":"path","required":true,"schema":{"type":"integer","title":"Filing Diff Id"}},{"name":"ticker","in":"query","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultThesisImplicationsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists":{"get":{"tags":["watchlists"],"summary":"List Watchlists","operationId":"list_watchlists_watchlists_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WatchlistOut"},"type":"array","title":"Response List Watchlists Watchlists Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"post":{"tags":["watchlists"],"summary":"Create Watchlist","operationId":"create_watchlist_watchlists_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchlistCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchlistOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/watchlists/{watchlist_id}/digest":{"get":{"tags":["watchlists"],"summary":"Get Digest Settings","operationId":"get_digest_settings_watchlists__watchlist_id__digest_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestSettingsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["watchlists"],"summary":"Set Digest Settings","description":"Cadence and local send hour for this watchlist's digest.\n\nValidated here rather than trusted from the client because the delivery job reads\nthese columns directly: an unknown frequency would simply never match and the user\nwould get silence with no error anywhere, which is the failure mode this whole\nfeature exists to prevent.","operationId":"set_digest_settings_watchlists__watchlist_id__digest_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestSettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestSettingsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/digest/timezone-default":{"patch":{"tags":["watchlists"],"summary":"Set Initial Digest Timezone","description":"Apply a new account's browser zone without confirming onboarding choices.\n\nThis endpoint is intentionally narrower than PUT .../digest. It only replaces the\ndatabase default while preferences remain unconfirmed, making callback retries\nharmless and preventing a later login from silently overwriting a user's choice.","operationId":"set_initial_digest_timezone_watchlists__watchlist_id__digest_timezone_default_patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestTimezoneDefaultIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestSettingsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}":{"get":{"tags":["watchlists"],"summary":"Get Watchlist","operationId":"get_watchlist_watchlists__watchlist_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchlistOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/tickers":{"post":{"tags":["watchlists"],"summary":"Add Ticker","operationId":"add_ticker_watchlists__watchlist_id__tickers_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TickerAdd"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchlistOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/tickers/{ticker}/portfolio-weight":{"put":{"tags":["watchlists"],"summary":"Set Portfolio Weight","description":"Set optional exposure context without turning the watchlist into a brokerage.\n\nValues are point-in-time percentages asserted by the investor. NULL clears an\nunknown/stale value, while zero explicitly says the security is not currently\nowned. Neither quantity, account, lot, cost basis nor target allocation is stored.","operationId":"set_portfolio_weight_watchlists__watchlist_id__tickers__ticker__portfolio_weight_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchlistTickerWeightIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchlistTickerOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/import":{"post":{"tags":["watchlists"],"summary":"Import Holdings","description":"Import the tickers from a brokerage holdings export.\n\nOnly symbols are read -- not quantity, cost basis or market value. The value here\nis that the watchlist becomes the user's actual holdings rather than a list they\ncurated twice, and that lands with the symbols alone. A user may separately assert\nan optional point-in-time portfolio percentage as private ranking context. The CSV\nimporter never derives it from brokerage balances, and TickerTrac does not use it\nto recommend allocation changes.\n\nPartial success is a real outcome, not an error. Onboarding a ticker that isn't\nalready in the shared corpus costs embedding spend and is quota'd at a handful per\nday, so a thirty-position import will routinely run out partway. Failing the whole\nrequest would mean the user gets nothing; instead everything importable is\nimported and the remainder comes back named, to retry tomorrow.","operationId":"import_holdings_watchlists__watchlist_id__import_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioImportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioImportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/tickers/{ticker}":{"delete":{"tags":["watchlists"],"summary":"Remove Ticker","operationId":"remove_ticker_watchlists__watchlist_id__tickers__ticker__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/history-archive":{"get":{"tags":["watchlists"],"summary":"List History Archive","description":"Ask/explain history exists per-user, not per-watchlist, so removing a ticker\nfrom the watchlist never deletes it -- it just leaves the dashboard with no link\nback to it. This surfaces that otherwise-orphaned history so it stays reachable.","operationId":"list_history_archive_watchlists__watchlist_id__history_archive_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TickerHistoryArchiveOut"},"title":"Response List History Archive Watchlists  Watchlist Id  History Archive Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses":{"get":{"tags":["watchlists"],"summary":"List Theses","operationId":"list_theses_watchlists__watchlist_id__theses_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThesisOut"},"title":"Response List Theses Watchlists  Watchlist Id  Theses Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}":{"put":{"tags":["watchlists"],"summary":"Upsert Thesis","operationId":"upsert_thesis_watchlists__watchlist_id__theses__ticker__put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/theses/{ticker}/activation":{"patch":{"tags":["watchlists"],"summary":"Set Thesis Activation","description":"Archive a thesis or select it for monitoring.\n\nStandard Free atomically switches the one permanent company slot when only Company\ntheses are involved. During beta, activation fills any remaining temporary company\nand context capacity; existing monitored choices are never silently replaced.","operationId":"set_thesis_activation_watchlists__watchlist_id__theses__ticker__activation_patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisActivationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/tickers/thresholds":{"get":{"tags":["watchlists"],"summary":"List Thresholds","operationId":"list_thresholds_watchlists__watchlist_id__tickers_thresholds_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ThresholdOut"},"title":"Response List Thresholds Watchlists  Watchlist Id  Tickers Thresholds Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/tickers/{ticker}/threshold":{"put":{"tags":["watchlists"],"summary":"Set Threshold","operationId":"set_threshold_watchlists__watchlist_id__tickers__ticker__threshold_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/tickers/{ticker}/mute":{"put":{"tags":["watchlists"],"summary":"Set Mute","operationId":"set_mute_watchlists__watchlist_id__tickers__ticker__mute_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts":{"get":{"tags":["alerts"],"summary":"List Alerts","description":"This user's alerts, paged in either trading-day direction and optionally narrowed.\n\nCurrent assessment projections include append-only corrections while preserving\noriginal alert IDs and source evidence.\n\nFiltering belongs on the server because every reader asks for a page at a time.\nNarrowing client-side would filter what was already fetched and show a fraction of\nit, when what the reader asked for is a full page of matches.\n\nOffset paging rather than a cursor. The ordering is composite -- trading day, then\nwhether the ticker carries a thesis, then time -- and a cursor over three keys is a\ngreat deal of machinery for a feed that gains rows once a day from a scheduled\nsweep. The known cost is that an alert arriving mid-scroll can shift a row across a\npage boundary; for a home-page preview that is a duplicate line, not a lost one.","operationId":"list_alerts_alerts_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"impact","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Impact"}},{"name":"sort_order","in":"query","required":false,"schema":{"enum":["newest","oldest"],"type":"string","default":"newest","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlertOut"},"title":"Response List Alerts Alerts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/facets":{"get":{"tags":["alerts"],"summary":"Alert Facets","description":"Return complete, stable choices for a feed whose rows are paged.\n\nDeriving filters from the loaded page makes a quiet company or source disappear\nfrom the controls whenever busy companies fill that page. These small distinct\nsets describe the user's whole retained feed without downloading every alert.","operationId":"alert_facets_alerts_facets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFacetsOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/alerts/ticker-summaries":{"get":{"tags":["alerts"],"summary":"Alert Ticker Summaries","description":"Return complete latest-alert and current Company-thesis state per ticker.\n\n``latest`` is an all-history aggregate and therefore cannot be projected from a\nfeed page. Pressure is narrower: only alerts evaluated against the current\nCompany thesis, observed after its latest revision, can change that thesis's\nstate. Price Move and Call Drift parents are unjudged, but a relevant private\nCompany-thesis child is a real verdict and enters through an explicit projection.\nInvestment-theme children were judged against different reasoning and remain\noutside Company-thesis pressure.\n\n``uncertain`` is intentionally not a pressure badge. It records abstention. When\nthe same current thesis also has strengthened evidence, the positive judgment must\nremain visible instead of being suppressed by an abstention row.","operationId":"alert_ticker_summaries_alerts_ticker_summaries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AlertTickerSummaryOut"},"type":"array","title":"Response Alert Ticker Summaries Alerts Ticker Summaries Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/alerts/preferences":{"get":{"tags":["alerts"],"summary":"List Signal Preferences","description":"What the reader's own ratings are currently doing to their feed order.\n\nPersonalisation that changes what you see and cannot be inspected is the kind\npeople learn to distrust. This reports both dimensions -- kinds of signal and\ncompanies -- with the rating count behind each and whether it is strong enough to\nbe acting at all, so \"why is this near the bottom\" has an answer that is not a\nguess.","operationId":"list_signal_preferences_alerts_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SignalPreferenceOut"},"type":"array","title":"Response List Signal Preferences Alerts Preferences Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/alerts/preferences/{kind}/{value}/reset":{"post":{"tags":["alerts"],"summary":"Reset Signal Preference","description":"Stop past ratings of one source or one company from shaping the feed.\n\nRecords a boundary instead of deleting ratings. A reader who decides they do want\nto hear about a company again is saying what they want going forward; they are not\nretracting their verdict that a particular citation was wrong, and the eval export\nstill needs that verdict.","operationId":"reset_signal_preference_alerts_preferences__kind___value__reset_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"value","in":"path","required":true,"schema":{"type":"string","title":"Value"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/{alert_id}/feedback":{"put":{"tags":["alerts"],"summary":"Set Alert Feedback","operationId":"set_alert_feedback_alerts__alert_id__feedback_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"integer","title":"Alert Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeedbackOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/{alert_id}/call-drift-impacts/{impact_id}/feedback":{"put":{"tags":["alerts"],"summary":"Set Call Drift Impact Feedback","description":"Rate one private thesis judgment without changing parent evidence feedback.","operationId":"set_call_drift_impact_feedback_alerts__alert_id__call_drift_impacts__impact_id__feedback_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"integer","title":"Alert Id"}},{"name":"impact_id","in":"path","required":true,"schema":{"type":"integer","title":"Impact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDriftImpactFeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDriftImpactFeedbackOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signals/digests":{"get":{"tags":["signals"],"summary":"Digest List","description":"The account's summary emails from the last 30 days, newest first: keys and counts\nonly, so the app can list past summaries without re-reading any finding.","operationId":"digest_list_signals_digests_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signals/digests/{digest_key}":{"get":{"tags":["signals"],"summary":"Digest Signals","description":"Read one email's exact retained membership without sending or reevaluating.\n\nThe opaque key locates a batch; authenticated ownership authorizes the read.\nLoad only IDs/times for that batch before paging the full finding payloads.","operationId":"digest_signals_signals_digests__digest_key__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"digest_key","in":"path","required":true,"schema":{"type":"string","minLength":71,"maxLength":71,"pattern":"^digest-[a-f0-9]{64}$","title":"Digest Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestSignalsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signals":{"get":{"tags":["signals"],"summary":"List Signals","description":"Page alerts and market-wide theme findings in one ordered feed.\n\nTicker and company-thesis-impact filters intentionally select alert rows only.\nA market-wide theme finding has neither attribute, and inferring either from the\ntheme's company links would turn context into a company-level judgment.","operationId":"list_signals_signals_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"impact","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Impact"}},{"name":"sort_order","in":"query","required":false,"schema":{"enum":["newest","oldest"],"type":"string","default":"newest","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignalOut"},"title":"Response List Signals Signals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signals/facets":{"get":{"tags":["signals"],"summary":"Signal Facets","description":"Complete filter choices for the paged union, excluding recovery rows.","operationId":"signal_facets_signals_facets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalFacetsOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/signals/morning-brief":{"get":{"tags":["signals"],"summary":"Morning Brief","description":"A tenant-scoped, coverage-aware brief over retained thesis judgments.\n\nThis endpoint never calls a provider or a model. It reports what the background\npipeline has durably completed, so an incomplete sweep cannot masquerade as\n\"nothing changed.\"","operationId":"morning_brief_signals_morning_brief_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MorningBriefOut"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/sources/publisher-links":{"post":{"tags":["sources"],"summary":"Publisher Links","operationId":"publisher_links_sources_publisher_links_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherLinksIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/screens":{"get":{"tags":["screens"],"summary":"List Screens","operationId":"list_screens_screens_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}},{"name":"thesis_shape","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Shape"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScreenOut"},"title":"Response List Screens Screens Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/screens/run":{"post":{"tags":["screens"],"summary":"Run Screen","operationId":"run_screen_screens_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreenRunRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreenOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/matches":{"post":{"tags":["matches"],"summary":"Create Match Run","operationId":"create_match_run_matches_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRunRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["matches"],"summary":"List Match Runs","operationId":"list_match_runs_matches_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MatchRunOut"},"title":"Response List Match Runs Matches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/matches/admin/cold":{"post":{"tags":["matches"],"summary":"Create Cold Match Run","description":"Start one administrator-owned Match without cross-run result reuse.","operationId":"create_cold_match_run_matches_admin_cold_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRunRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/matches/templates":{"get":{"tags":["matches"],"summary":"List Match Template Snapshots","description":"Latest completed public snapshot per preset; no paid entitlement required.","operationId":"list_match_template_snapshots_matches_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MatchRunOut"},"type":"array","title":"Response List Match Template Snapshots Matches Templates Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/matches/templates/{thesis_shape}":{"get":{"tags":["matches"],"summary":"Get Match Template Snapshot","operationId":"get_match_template_snapshot_matches_templates__thesis_shape__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"thesis_shape","in":"path","required":true,"schema":{"type":"string","title":"Thesis Shape"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/matches/{match_id}":{"get":{"tags":["matches"],"summary":"Get Match Run","operationId":"get_match_run_matches__match_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"match_id","in":"path","required":true,"schema":{"type":"integer","title":"Match Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/position-decisions/proposals":{"post":{"tags":["position decisions"],"summary":"Propose Position Decision","operationId":"propose_position_decision_position_decisions_proposals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionDecisionProposalIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionDecisionProposalOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/position-decisions/confirmations":{"post":{"tags":["position decisions"],"summary":"Confirm Position Decision","operationId":"confirm_position_decision_position_decisions_confirmations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionDecisionConfirmationIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionDecisionConfirmationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/position-decisions":{"get":{"tags":["position decisions"],"summary":"List Position Decisions","operationId":"list_position_decisions_position_decisions_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Watchlist Id"}},{"name":"shared_thesis_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Shared Thesis Id"}},{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":16},{"type":"null"}],"title":"Ticker"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PositionDecisionOut"},"title":"Response List Position Decisions Position Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/editorial/candidates":{"get":{"tags":["editorial feed"],"summary":"List Public Insight Candidates","operationId":"list_public_insight_candidates_internal_editorial_candidates_get","security":[{"APIKeyHeader":[]}],"parameters":[{"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":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInsightFeedPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/editorial/artifacts":{"post":{"tags":["editorial feed"],"summary":"Register Editorial Artifact","description":"Bind one public artifact to an existing candidate without any user-data access.","operationId":"register_editorial_artifact_internal_editorial_artifacts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicArtifactLineageIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicArtifactLineageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/internal/editorial/visual-subject-readiness":{"post":{"tags":["editorial feed"],"summary":"Record Visual Subject Readiness","description":"Record whether Editorial can render each ticker. No user data is touched.\n\nReported rather than queried: Editorial's store is a local SQLite file this container\ncannot reach, so the only honest direction is the one that already carries artifact\nregistration.","operationId":"record_visual_subject_readiness_internal_editorial_visual_subject_readiness_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualSubjectReadinessIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualSubjectReadinessOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/internal/editorial/funnel-export":{"get":{"tags":["editorial feed"],"summary":"Export Editorial Funnel","description":"Return attributed downstream product value for Editorial's own campaign join.\n\nEditorial cannot build a funnel record from this alone, and that is intentional: campaign\nidentity, experiment dimensions and channel-side negative signals live in Editorial's\npublication receipts. This endpoint supplies only the product half, the identity unit\nbehind each stage, and the stages TickerTrac cannot measure.\n\n``as_of`` closes the reading's clock. Omitted, it is the request time and the response\nsays so; supplied, it reproduces an earlier reading of the same ledger exactly, which is\nwhat makes a recorded cohort re-checkable rather than a number nobody can reproduce.","operationId":"export_editorial_funnel_internal_editorial_funnel_export_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Window Days"}},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialFunnelExportOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/editorial/logos/warm":{"post":{"tags":["editorial feed"],"summary":"Warm Company Logos","description":"Cache the marks an issue names and say which ones can be shown.\n\nThe editorial runtime calls this once at draft time with the same key as the\ncandidate feed. Fetching is bounded, misses are remembered, and a provider problem\nyields fewer marks, never an error the draft has to handle.","operationId":"warm_company_logos_internal_editorial_logos_warm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialLogoWarmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditorialLogoWarmOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/shared-theses":{"get":{"tags":["shared theses"],"summary":"List Shared Theses","operationId":"list_shared_theses_shared_theses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SharedThesisOut"},"type":"array","title":"Response List Shared Theses Shared Theses Get"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]},"post":{"tags":["shared theses"],"summary":"Create Shared Thesis","operationId":"create_shared_thesis_shared_theses_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisSaveIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/shared-theses/{shared_thesis_id}/link-suggestions":{"get":{"tags":["shared theses"],"summary":"Suggest Shared Thesis Links","description":"Suggest companies to review for a theme; never infer an investment conclusion.\n\nCompanies found in TickerTrac's retained filings come first, each with the exact\npassage and filing that surfaced it (see ``theme_company_suggestions``). Tracked\ncompanies follow, ranked locally by overlap with the investor's own context. Neither\nmakes a model or provider call. Direction remains ``uncertain`` until the user\nreviews it, and an untracked suggestion must be tracked before it can be linked.","operationId":"suggest_shared_thesis_links_shared_theses__shared_thesis_id__link_suggestions_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SharedThesisLinkSuggestionOut"},"title":"Response Suggest Shared Thesis Links Shared Theses  Shared Thesis Id  Link Suggestions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/draft-link-suggestions":{"post":{"tags":["shared theses"],"summary":"Suggest Draft Theme Links","description":"The same suggestions while a theme is still being written, before it is saved.\n\nThe creation flow asks as the investor pauses typing, so the companies appear under\n\"Choose affected companies\" (owner decision, 2026-09-24). Nothing is stored, and a\ntracked company is offered only when it overlaps the words written so far.","operationId":"suggest_draft_theme_links_shared_theses_draft_link_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftThemeSuggestionsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SharedThesisLinkSuggestionOut"},"type":"array","title":"Response Suggest Draft Theme Links Shared Theses Draft Link Suggestions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}]}},"/shared-theses/findings":{"get":{"tags":["shared theses"],"summary":"List Shared Thesis Findings","description":"Market-wide evidence judged against this user's themes, newest first.\n\nOne endpoint rather than one per surface. Filtering happens before LIMIT: doing it\nin the browser made a busy unrelated theme able to fill the global page and falsely\ntell a company or theme that it had no findings.\n\nDeclared before /{shared_thesis_id} so \"findings\" is not read as an id.","operationId":"list_shared_thesis_findings_shared_theses_findings_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":40,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"shared_thesis_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"}},{"name":"ticker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SharedThesisFindingOut"},"title":"Response List Shared Thesis Findings Shared Theses Findings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/evidence":{"get":{"tags":["shared theses"],"summary":"Get Investment Theme Evidence","description":"Read current-version theme evidence without starting provider or model work.\n\nVersion-bound findings are the only evidence eligible for this proof. Older exact\nversions and legacy rows remain retained, but are counted separately rather than\nbeing silently reinterpreted under today's wording.","operationId":"get_investment_theme_evidence_shared_theses__shared_thesis_id__evidence_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvestmentThemeEvidenceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}":{"get":{"tags":["shared theses"],"summary":"Get Shared Thesis","operationId":"get_shared_thesis_shared_theses__shared_thesis_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["shared theses"],"summary":"Save Shared Thesis","operationId":"save_shared_thesis_shared_theses__shared_thesis_id__put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisSaveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["shared theses"],"summary":"Delete Shared Thesis","description":"Delete an Investment theme for good, unlike Archive, which only stops monitoring.\n\nRemoves its versions, company links, findings, alerts, pulses, decisions noted on it,\nthe Reason Interview it was approved from and any Find Matches runs made from it.","operationId":"delete_shared_thesis_shared_theses__shared_thesis_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/links/{ticker}":{"put":{"tags":["shared theses"],"summary":"Save Shared Thesis Link","operationId":"save_shared_thesis_link_shared_theses__shared_thesis_id__links__ticker__put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"ticker","in":"path","required":true,"schema":{"type":"string","title":"Ticker"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisLinkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/links/{link_id}/notifications":{"patch":{"tags":["shared theses"],"summary":"Set Shared Thesis Link Notifications","description":"Change delivery for one company relationship without rewriting thesis history.","operationId":"set_shared_thesis_link_notifications_shared_theses__shared_thesis_id__links__link_id__notifications_patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"integer","title":"Link Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisLinkNotificationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/links/{link_id}":{"delete":{"tags":["shared theses"],"summary":"Remove Shared Thesis Link","operationId":"remove_shared_thesis_link_shared_theses__shared_thesis_id__links__link_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"integer","title":"Link Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/activation":{"patch":{"tags":["shared theses"],"summary":"Set Shared Thesis Activation","operationId":"set_shared_thesis_activation_shared_theses__shared_thesis_id__activation_patch","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisActivationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/history":{"get":{"tags":["shared theses"],"summary":"Get Shared Thesis History","operationId":"get_shared_thesis_history_shared_theses__shared_thesis_id__history_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedThesisHistoryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/history/{version_number}/rationale":{"put":{"tags":["shared theses"],"summary":"Put Theme Revision Rationale","operationId":"put_theme_revision_rationale_shared_theses__shared_thesis_id__history__version_number__rationale_put","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionRationaleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionNoteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["shared theses"],"summary":"Delete Theme Revision Rationale","operationId":"delete_theme_revision_rationale_shared_theses__shared_thesis_id__history__version_number__rationale_delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/history/{version_number}/candidates":{"get":{"tags":["shared theses"],"summary":"Get Theme Revision Candidates","description":"The theme findings held between the previous version and this one. An offer,\nnot a judgement, and an empty list is a normal answer.","operationId":"get_theme_revision_candidates_shared_theses__shared_thesis_id__history__version_number__candidates_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionCandidatesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/history/{version_number}/causes":{"post":{"tags":["shared theses"],"summary":"Post Theme Revision Cause","operationId":"post_theme_revision_cause_shared_theses__shared_thesis_id__history__version_number__causes_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeRevisionCauseIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThesisRevisionNoteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/history/{version_number}/causes/{cause_id}":{"delete":{"tags":["shared theses"],"summary":"Delete Theme Revision Cause","operationId":"delete_theme_revision_cause_shared_theses__shared_thesis_id__history__version_number__causes__cause_id__delete","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"version_number","in":"path","required":true,"schema":{"type":"integer","title":"Version Number"}},{"name":"cause_id","in":"path","required":true,"schema":{"type":"integer","title":"Cause Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shared-theses/{shared_thesis_id}/pulse":{"get":{"tags":["theme-pulse"],"summary":"Get Theme Pulse","description":"The latest pulse for the theme's active exact version.\n\n``refresh`` recomputes first. It is safe to call repeatedly: recomputation is\nbounded relational reads and the append is idempotent by input digest, so an\nunchanged theme writes nothing.","operationId":"get_theme_pulse_shared_theses__shared_thesis_id__pulse_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"shared_thesis_id","in":"path","required":true,"schema":{"type":"integer","title":"Shared Thesis Id"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemePulseOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evidence-trends":{"get":{"tags":["evidence trends"],"summary":"Index","operationId":"index_evidence_trends_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"window","in":"query","required":false,"schema":{"enum":["7d","30d","since_review"],"type":"string","default":"7d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evidence-trends/{subject_type}/{version_id}":{"get":{"tags":["evidence trends"],"summary":"Detail","operationId":"detail_evidence_trends__subject_type___version_id__get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"subject_type","in":"path","required":true,"schema":{"enum":["company","theme"],"type":"string","title":"Subject Type"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer","title":"Version Id"}},{"name":"window","in":"query","required":false,"schema":{"enum":["7d","30d","since_review"],"type":"string","default":"7d","title":"Window"}},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evidence-trends/{subject_type}/{version_id}/review":{"post":{"tags":["evidence trends"],"summary":"Review","operationId":"review_evidence_trends__subject_type___version_id__review_post","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"subject_type","in":"path","required":true,"schema":{"enum":["company","theme"],"type":"string","title":"Subject Type"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"integer","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchlists/{watchlist_id}/shared-thesis-labels":{"get":{"tags":["shared theses"],"summary":"List Watchlist Shared Thesis Labels","description":"Return compact theme labels without exposing another user's links.\n\nWatchlist symbols resolve through the SEC identity map to canonical securities.\nThe relationship therefore survives a symbol change without rewriting the link;\nthe projection still returns the symbol of the row the user is viewing.","operationId":"list_watchlist_shared_thesis_labels_watchlists__watchlist_id__shared_thesis_labels_get","security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"parameters":[{"name":"watchlist_id","in":"path","required":true,"schema":{"type":"integer","title":"Watchlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TickerSharedThesisLabelOut"},"title":"Response List Watchlist Shared Thesis Labels Watchlists  Watchlist Id  Shared Thesis Labels Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AIFeatureDiagnosticsOut":{"properties":{"execution_count":{"type":"integer","title":"Execution Count"},"statuses":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["running","complete","failed","interrupted","rejected"]},"type":"object","title":"Statuses"},"outcomes":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["answered","insufficient_evidence"]},"type":"object","title":"Outcomes"},"failure_classes":{"additionalProperties":{"type":"integer"},"type":"object","title":"Failure Classes"},"stalled_executions":{"type":"integer","title":"Stalled Executions"},"cache_hits":{"type":"integer","title":"Cache Hits"},"retrieval_fallbacks":{"type":"integer","title":"Retrieval Fallbacks"},"validation_failures":{"type":"integer","title":"Validation Failures"},"histories_without_receipts":{"type":"integer","title":"Histories Without Receipts"},"answer_events_without_receipts":{"type":"integer","title":"Answer Events Without Receipts"},"usage_event_count":{"type":"integer","title":"Usage Event Count"},"input_tokens":{"type":"integer","title":"Input Tokens"},"output_tokens":{"type":"integer","title":"Output Tokens"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"},"executions_with_unknown_cost":{"type":"integer","title":"Executions With Unknown Cost"},"p50_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"P50 Ms"},"p95_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"P95 Ms"},"recent_executions":{"items":{"$ref":"#/components/schemas/AIFeatureExecutionOut"},"type":"array","maxItems":20,"title":"Recent Executions"}},"additionalProperties":false,"type":"object","required":["execution_count","statuses","outcomes","failure_classes","stalled_executions","cache_hits","retrieval_fallbacks","validation_failures","histories_without_receipts","answer_events_without_receipts","usage_event_count","input_tokens","output_tokens","estimated_cost_usd","executions_with_unknown_cost","p50_ms","p95_ms","recent_executions"],"title":"AIFeatureDiagnosticsOut"},"AIFeatureExecutionOut":{"properties":{"trace_id":{"type":"string","title":"Trace Id"},"status":{"type":"string","enum":["running","complete","failed","interrupted","rejected"],"title":"Status"},"stage":{"type":"string","enum":["request","retrieval","generation","history","done"],"title":"Stage"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"stage_ms":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["request","retrieval","generation","history","done"]},"type":"object","title":"Stage Ms"},"cache_hit":{"type":"boolean","title":"Cache Hit"},"outcome":{"anyOf":[{"type":"string","enum":["answered","insufficient_evidence"]},{"type":"null"}],"title":"Outcome"},"failure_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Class"},"provider_attempt_count":{"type":"integer","title":"Provider Attempt Count"},"usage_event_count":{"type":"integer","title":"Usage Event Count"},"unpriced_event_count":{"type":"integer","title":"Unpriced Event Count"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"},"follow_up_count":{"type":"integer","title":"Follow Up Count"},"retrieval_fallback":{"type":"boolean","title":"Retrieval Fallback"},"validation_failure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Failure"},"selected_source_count":{"type":"integer","title":"Selected Source Count"},"history_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"History Id"},"answer_model":{"type":"string","title":"Answer Model"},"retrieval_version":{"type":"string","title":"Retrieval Version"},"answer_contract_sha256":{"type":"string","title":"Answer Contract Sha256"},"input_identity_sha256":{"type":"string","title":"Input Identity Sha256"},"output_identity_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Identity Sha256"}},"additionalProperties":false,"type":"object","required":["trace_id","status","stage","started_at","finished_at","elapsed_ms","stage_ms","cache_hit","outcome","failure_class","provider_attempt_count","usage_event_count","unpriced_event_count","estimated_cost_usd","follow_up_count","retrieval_fallback","validation_failure","selected_source_count","history_id","answer_model","retrieval_version","answer_contract_sha256","input_identity_sha256","output_identity_sha256"],"title":"AIFeatureExecutionOut"},"AIQualityLatenciesOut":{"properties":{"overall":{"$ref":"#/components/schemas/AIQualityLatencySummaryOut"},"by_surface":{"$ref":"#/components/schemas/AIQualitySurfaceLatenciesOut"}},"additionalProperties":false,"type":"object","required":["overall","by_surface"],"title":"AIQualityLatenciesOut"},"AIQualityLatencySummaryOut":{"properties":{"count":{"type":"integer","minimum":0.0,"title":"Count"},"min":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min"},"p50":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"P50"},"p95":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"P95"},"max":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max"}},"additionalProperties":false,"type":"object","required":["count"],"title":"AIQualityLatencySummaryOut"},"AIQualityObservabilityOut":{"properties":{"features":{"additionalProperties":{"$ref":"#/components/schemas/AIFeatureDiagnosticsOut"},"propertyNames":{"const":"ask"},"type":"object","title":"Features"},"workflows":{"additionalProperties":{"$ref":"#/components/schemas/AIWorkflowDiagnosticsOut"},"propertyNames":{"enum":["company_interview","theme_interview","company_monitoring","theme_monitoring","editorial_generation"]},"type":"object","title":"Workflows"},"replay":{"$ref":"#/components/schemas/ReplayDiagnosticsOut"},"schema_version":{"type":"string","const":"ai-quality-observability-coverage/v5","title":"Schema Version"},"since":{"type":"string","format":"date-time","title":"Since"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"observed_release_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed Release Sha"},"surfaces":{"$ref":"#/components/schemas/AIQualitySurfacesOut"},"observation_count":{"type":"integer","minimum":0.0,"title":"Observation Count"},"observations_with_usage":{"type":"integer","minimum":0.0,"title":"Observations With Usage"},"observations_without_usage":{"type":"integer","minimum":0.0,"title":"Observations Without Usage"},"zero_work_observations_without_usage":{"type":"integer","minimum":0.0,"title":"Zero Work Observations Without Usage"},"unexpected_observations_without_usage":{"type":"integer","minimum":0.0,"title":"Unexpected Observations Without Usage"},"invalid_or_redaction_contract_observations":{"type":"integer","minimum":0.0,"title":"Invalid Or Redaction Contract Observations"},"usage":{"$ref":"#/components/schemas/AIQualityUsageOut"},"latency_ms":{"$ref":"#/components/schemas/AIQualityLatenciesOut"},"outcomes":{"$ref":"#/components/schemas/AIQualityOutcomesOut"},"content_retained":{"type":"boolean","const":false,"title":"Content Retained"},"reporter_provider_or_model_calls":{"type":"integer","const":0,"title":"Reporter Provider Or Model Calls"}},"additionalProperties":false,"type":"object","required":["features","workflows","replay","schema_version","since","captured_at","observed_release_sha","surfaces","observation_count","observations_with_usage","observations_without_usage","zero_work_observations_without_usage","unexpected_observations_without_usage","invalid_or_redaction_contract_observations","usage","latency_ms","outcomes","content_retained","reporter_provider_or_model_calls"],"title":"AIQualityObservabilityOut"},"AIQualityOutcomesOut":{"properties":{"match":{"$ref":"#/components/schemas/AIQualitySurfaceOutcomesOut"},"morning_brief":{"$ref":"#/components/schemas/AIQualitySurfaceOutcomesOut"},"historical_replay":{"$ref":"#/components/schemas/AIQualitySurfaceOutcomesOut"}},"additionalProperties":false,"type":"object","required":["match","morning_brief","historical_replay"],"title":"AIQualityOutcomesOut"},"AIQualitySurfaceCoverageOut":{"properties":{"eligible_terminal_runs":{"type":"integer","minimum":0.0,"title":"Eligible Terminal Runs"},"observed_terminal_runs":{"type":"integer","minimum":0.0,"title":"Observed Terminal Runs"},"coverage_percent":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Coverage Percent"},"status":{"type":"string","enum":["not_applicable_no_eligible_runs","missing","partial","pass"],"title":"Status"}},"additionalProperties":false,"type":"object","required":["eligible_terminal_runs","observed_terminal_runs","status"],"title":"AIQualitySurfaceCoverageOut"},"AIQualitySurfaceLatenciesOut":{"properties":{"match":{"$ref":"#/components/schemas/AIQualityLatencySummaryOut"},"morning_brief":{"$ref":"#/components/schemas/AIQualityLatencySummaryOut"},"historical_replay":{"$ref":"#/components/schemas/AIQualityLatencySummaryOut"}},"additionalProperties":false,"type":"object","required":["match","morning_brief","historical_replay"],"title":"AIQualitySurfaceLatenciesOut"},"AIQualitySurfaceOutcomesOut":{"properties":{"metrics":{"additionalProperties":{"type":"integer"},"type":"object","title":"Metrics"},"failure_classes":{"additionalProperties":{"type":"integer"},"type":"object","title":"Failure Classes"}},"additionalProperties":false,"type":"object","required":["metrics","failure_classes"],"title":"AIQualitySurfaceOutcomesOut"},"AIQualitySurfacesOut":{"properties":{"match":{"$ref":"#/components/schemas/AIQualitySurfaceCoverageOut"},"morning_brief":{"$ref":"#/components/schemas/AIQualitySurfaceCoverageOut"},"historical_replay":{"$ref":"#/components/schemas/AIQualitySurfaceCoverageOut"}},"additionalProperties":false,"type":"object","required":["match","morning_brief","historical_replay"],"title":"AIQualitySurfacesOut"},"AIQualityUsageBreakdownOut":{"properties":{"operation":{"type":"string","title":"Operation"},"model":{"type":"string","title":"Model"},"event_count":{"type":"integer","minimum":0.0,"title":"Event Count"},"input_tokens":{"type":"integer","minimum":0.0,"title":"Input Tokens"},"output_tokens":{"type":"integer","minimum":0.0,"title":"Output Tokens"},"cache_read_tokens":{"type":"integer","minimum":0.0,"title":"Cache Read Tokens"},"cache_write_tokens":{"type":"integer","minimum":0.0,"title":"Cache Write Tokens"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"},"unpriced_event_count":{"type":"integer","minimum":0.0,"title":"Unpriced Event Count"}},"additionalProperties":false,"type":"object","required":["operation","model","event_count","input_tokens","output_tokens","cache_read_tokens","cache_write_tokens","estimated_cost_usd","unpriced_event_count"],"title":"AIQualityUsageBreakdownOut"},"AIQualityUsageOut":{"properties":{"event_count":{"type":"integer","minimum":0.0,"title":"Event Count"},"input_tokens":{"type":"integer","minimum":0.0,"title":"Input Tokens"},"output_tokens":{"type":"integer","minimum":0.0,"title":"Output Tokens"},"cache_read_tokens":{"type":"integer","minimum":0.0,"title":"Cache Read Tokens"},"cache_write_tokens":{"type":"integer","minimum":0.0,"title":"Cache Write Tokens"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"},"unpriced_event_count":{"type":"integer","minimum":0.0,"title":"Unpriced Event Count"},"by_operation_and_model":{"items":{"$ref":"#/components/schemas/AIQualityUsageBreakdownOut"},"type":"array","title":"By Operation And Model"}},"additionalProperties":false,"type":"object","required":["event_count","input_tokens","output_tokens","cache_read_tokens","cache_write_tokens","estimated_cost_usd","unpriced_event_count","by_operation_and_model"],"title":"AIQualityUsageOut"},"AIWorkflowDiagnosticsOut":{"properties":{"status":{"type":"string","enum":["available","not_configured","unreachable"],"title":"Status"},"unit":{"type":"string","enum":["sessions","judgements","generation_attempts"],"title":"Unit"},"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"known_cost_usd":{"type":"string","title":"Known Cost Usd"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"},"usage_event_count":{"type":"integer","minimum":0.0,"title":"Usage Event Count"},"unpriced_event_count":{"type":"integer","minimum":0.0,"title":"Unpriced Event Count"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"recent":{"items":{"$ref":"#/components/schemas/AIWorkflowRecordOut"},"type":"array","maxItems":20,"title":"Recent"}},"additionalProperties":false,"type":"object","required":["status","unit","counts","known_cost_usd","estimated_cost_usd","usage_event_count","unpriced_event_count","limitations","recent"],"title":"AIWorkflowDiagnosticsOut"},"AIWorkflowRecordOut":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"elapsed_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Elapsed Ms"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"},"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"refs":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object","title":"Refs"}},"additionalProperties":false,"type":"object","required":["id","status","occurred_at","model","version","elapsed_ms","estimated_cost_usd","counts","refs"],"title":"AIWorkflowRecordOut"},"AccountCostDistributionOut":{"properties":{"account_count":{"type":"integer","title":"Account Count"},"p50_known_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P50 Known Usd"},"p95_known_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Known Usd"},"max_known_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Known Usd"}},"type":"object","required":["account_count","p50_known_usd","p95_known_usd","max_known_usd"],"title":"AccountCostDistributionOut"},"AccountCostRowOut":{"properties":{"user_id":{"type":"integer","title":"User Id"},"effective_plan_code":{"type":"string","title":"Effective Plan Code"},"record_design_partner":{"type":"boolean","title":"Record Design Partner"},"current_monthly_list_price_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Monthly List Price Usd"},"list_price_status":{"type":"string","enum":["catalog","no_charge","unavailable"],"title":"List Price Status"},"net_subscription_revenue_usd":{"type":"null","title":"Net Subscription Revenue Usd"},"costs":{"$ref":"#/components/schemas/AccountCostsOut"}},"type":"object","required":["user_id","effective_plan_code","record_design_partner","current_monthly_list_price_usd","list_price_status","costs"],"title":"AccountCostRowOut"},"AccountCostsOut":{"properties":{"monitoring_usd":{"type":"number","title":"Monitoring Usd"},"research_usd":{"type":"number","title":"Research Usd"},"other_usd":{"type":"number","title":"Other Usd"},"total_known_usd":{"type":"number","title":"Total Known Usd"},"fallback_known_usd":{"type":"number","title":"Fallback Known Usd"},"model_events":{"type":"integer","title":"Model Events"},"unknown_price_events":{"type":"integer","title":"Unknown Price Events"},"fallback_events":{"type":"integer","title":"Fallback Events"},"fallback_unknown_price_events":{"type":"integer","title":"Fallback Unknown Price Events"},"unclassified_attempt_events":{"type":"integer","title":"Unclassified Attempt Events"}},"type":"object","required":["monitoring_usd","research_usd","other_usd","total_known_usd","fallback_known_usd","model_events","unknown_price_events","fallback_events","fallback_unknown_price_events","unclassified_attempt_events"],"title":"AccountCostsOut"},"AccountEconomicsOut":{"properties":{"window_days":{"type":"integer","title":"Window Days"},"window_start":{"type":"string","format":"date-time","title":"Window Start"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"cost_basis":{"type":"string","const":"recorded_estimates","title":"Cost Basis"},"revenue_status":{"type":"string","const":"unavailable_no_cash_ledger","title":"Revenue Status"},"net_subscription_revenue_usd":{"type":"null","title":"Net Subscription Revenue Usd"},"account_count":{"type":"integer","title":"Account Count"},"accounts_truncated":{"type":"boolean","title":"Accounts Truncated"},"accounts":{"items":{"$ref":"#/components/schemas/AccountCostRowOut"},"type":"array","title":"Accounts"},"distribution":{"$ref":"#/components/schemas/AccountCostDistributionOut"},"plan_distributions":{"items":{"$ref":"#/components/schemas/PlanCostDistributionOut"},"type":"array","title":"Plan Distributions"},"record_design_partner_distribution":{"$ref":"#/components/schemas/AccountCostDistributionOut"},"included":{"$ref":"#/components/schemas/AccountCostsOut"},"excluded_internal":{"$ref":"#/components/schemas/AccountCostsOut"},"shared_unattributed":{"$ref":"#/components/schemas/AccountCostsOut"},"ownership_conflicts":{"$ref":"#/components/schemas/AccountCostsOut"},"all_usage":{"$ref":"#/components/schemas/AccountCostsOut"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"}},"type":"object","required":["window_days","window_start","as_of","cost_basis","revenue_status","account_count","accounts_truncated","accounts","distribution","plan_distributions","record_design_partner_distribution","included","excluded_internal","shared_unattributed","ownership_conflicts","all_usage","limitations"],"title":"AccountEconomicsOut"},"ActivationProgressOut":{"properties":{"historical_replay_viewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Historical Replay Viewed At"},"historical_replay_ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Historical Replay Ticker"},"investment_theme_evidence_views":{"items":{"$ref":"#/components/schemas/InvestmentThemeEvidenceViewProgressOut"},"type":"array","title":"Investment Theme Evidence Views"}},"type":"object","title":"ActivationProgressOut","description":"Content-free projection of first-use milestones already retained elsewhere."},"AdminUpdate":{"properties":{"is_admin":{"type":"boolean","title":"Is Admin"}},"type":"object","required":["is_admin"],"title":"AdminUpdate"},"AdminUserAccessOut":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"email":{"type":"string","title":"Email"},"is_admin":{"type":"boolean","title":"Is Admin"},"email_verified":{"type":"boolean","title":"Email Verified"},"alerts_paused":{"type":"boolean","title":"Alerts Paused"},"email_delivery_suppressed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Email Delivery Suppressed At"},"email_delivery_suppression_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Delivery Suppression Reason"},"onboarding_preferences_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Onboarding Preferences Confirmed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"guidance_preference":{"anyOf":[{"type":"string","enum":["guided","experienced"]},{"type":"null"}],"title":"Guidance Preference"},"example_thesis_hidden_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Example Thesis Hidden At"},"has_password":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Password"},"plan_code":{"type":"string","title":"Plan Code"},"subscription_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Status"},"subscription_cancel_at_period_end":{"type":"boolean","title":"Subscription Cancel At Period End","default":false},"subscription_cancel_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscription Cancel At"},"comp_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Comp Expires At"},"comp_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comp Reason"}},"type":"object","required":["email","is_admin","email_verified","alerts_paused","email_delivery_suppressed_at","email_delivery_suppression_reason","onboarding_preferences_confirmed_at","created_at","plan_code","subscription_status","comp_expires_at","comp_reason"],"title":"AdminUserAccessOut"},"AdvertisingConversionIn":{"properties":{"consent":{"type":"boolean","title":"Consent"},"fbc":{"type":"string","maxLength":540,"title":"Fbc"}},"additionalProperties":false,"type":"object","required":["consent","fbc"],"title":"AdvertisingConversionIn"},"AlertContextQualityOut":{"properties":{"context_type":{"type":"string","enum":["ticker","shared"],"title":"Context Type"},"alert_count":{"type":"integer","title":"Alert Count"},"active_context_count":{"type":"integer","title":"Active Context Count"},"alerts_per_active_context":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alerts Per Active Context"},"feedback_count":{"type":"integer","title":"Feedback Count"},"useful_count":{"type":"integer","title":"Useful Count"},"not_useful_count":{"type":"integer","title":"Not Useful Count"},"wrong_relationship_count":{"type":"integer","title":"Wrong Relationship Count"},"wrong_citation_count":{"type":"integer","title":"Wrong Citation Count"},"useful_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Useful Rate Pct"}},"type":"object","required":["context_type","alert_count","active_context_count","alerts_per_active_context","feedback_count","useful_count","not_useful_count","wrong_relationship_count","wrong_citation_count","useful_rate_pct"],"title":"AlertContextQualityOut"},"AlertFacetsOut":{"properties":{"tickers":{"items":{"type":"string"},"type":"array","title":"Tickers"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources"},"alert_count":{"type":"integer","title":"Alert Count","default":0}},"type":"object","title":"AlertFacetsOut","description":"Unpaged filter choices for the paged What changed feed."},"AlertFeedbackIn":{"properties":{"labels":{"items":{"type":"string","enum":["useful","not_useful","material","not_material","already_known","wrong_relationship","wrong_citation","comparison_accurate","comparison_inaccurate"]},"type":"array","maxItems":7,"title":"Labels"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"},"digest_idempotency_key":{"anyOf":[{"type":"string","pattern":"^digest-[0-9a-f]{64}$"},{"type":"null"}],"title":"Digest Idempotency Key"}},"type":"object","required":["labels"],"title":"AlertFeedbackIn"},"AlertFeedbackOut":{"properties":{"alert_id":{"type":"integer","title":"Alert Id"},"labels":{"items":{"type":"string","enum":["useful","not_useful","material","not_material","already_known","wrong_relationship","wrong_citation","comparison_accurate","comparison_inaccurate"]},"type":"array","title":"Labels"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["alert_id","labels","updated_at"],"title":"AlertFeedbackOut"},"AlertOut":{"properties":{"id":{"type":"integer","title":"Id"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"type":"string","title":"Ticker"},"source":{"type":"string","title":"Source"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"company_transcript_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Transcript Url"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"},"thesis_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Text"},"materiality":{"type":"string","enum":["material","immaterial","uncertain","unknown"],"title":"Materiality","default":"unknown"},"relevance_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relevance Model"},"evaluation_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluation Version"},"relationship":{"type":"string","enum":["support","contradict","neutral"],"title":"Relationship","default":"neutral"},"directness":{"type":"string","enum":["direct","indirect","none","unknown"],"title":"Directness","default":"unknown"},"source_quality":{"type":"string","enum":["primary","reputable_secondary","weak","invalid","unknown"],"title":"Source Quality","default":"unknown"},"novelty":{"type":"string","enum":["new","known","duplicate","unknown"],"title":"Novelty","default":"unknown"},"citation_valid":{"type":"boolean","title":"Citation Valid","default":true},"bridge_valid":{"type":"boolean","title":"Bridge Valid","default":false},"thesis_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Factor"},"evidence_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Factor"},"causal_bridge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Bridge"},"thesis_factor_kind":{"type":"string","enum":["claim","expectation","invalidation","narrative","unknown"],"title":"Thesis Factor Kind","default":"unknown"},"thesis_impact":{"type":"string","enum":["strengthened","weakened","broken","uncertain"],"title":"Thesis Impact","default":"uncertain"},"source_locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Locator"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Segment Id"},"source_speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Speaker Name"},"source_section":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Section"},"source_provider_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Provider Code"},"source_provider_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Provider Item Id"},"thesis_context_type":{"type":"string","enum":["ticker","shared"],"title":"Thesis Context Type","default":"ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"shared_thesis_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Version Id"},"shared_thesis_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Version Number"},"shared_thesis_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared Thesis Title"},"shared_thesis_effect":{"anyOf":[{"type":"string","enum":["tailwind","headwind","mixed","uncertain"]},{"type":"null"}],"title":"Shared Thesis Effect"},"shared_thesis_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared Thesis Rationale"},"feedback_labels":{"items":{"type":"string"},"type":"array","title":"Feedback Labels"},"has_thesis":{"type":"boolean","title":"Has Thesis","default":false},"call_drift_thesis_impacts":{"items":{"$ref":"#/components/schemas/CallDriftThesisImpactOut"},"type":"array","title":"Call Drift Thesis Impacts"},"result_thesis_implications":{"anyOf":[{"$ref":"#/components/schemas/ResultThesisImplicationsOut"},{"type":"null"}]}},"type":"object","required":["id","watchlist_id","ticker","source","title","summary","source_url","detected_at"],"title":"AlertOut"},"AlertTickerSummaryOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"latest_alert_id":{"type":"integer","title":"Latest Alert Id"},"latest_detected_at":{"type":"string","format":"date-time","title":"Latest Detected At"},"latest_source":{"type":"string","title":"Latest Source"},"latest_title":{"type":"string","title":"Latest Title"},"latest_summary":{"type":"string","title":"Latest Summary"},"thesis_pressure":{"anyOf":[{"type":"string","enum":["strengthened","weakened","broken"]},{"type":"null"}],"title":"Thesis Pressure"},"thesis_pressure_count":{"type":"integer","title":"Thesis Pressure Count","default":0}},"type":"object","required":["ticker","latest_alert_id","latest_detected_at","latest_source","latest_title","latest_summary"],"title":"AlertTickerSummaryOut","description":"Complete per-company alert state for portfolio and thesis summaries.\n\nThis is intentionally not an ``AlertOut``. Summary readers need one latest row\nper company plus the current Company-thesis pressure; returning the first feed\npage and asking the browser to infer those aggregates is incomplete by design."},"ApiCredentialCreatedOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["id","name","scopes","created_at","api_key"],"title":"ApiCredentialCreatedOut"},"ApiCredentialIn":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1,"title":"Scopes"}},"additionalProperties":false,"type":"object","required":["name","scopes"],"title":"ApiCredentialIn","description":"Request for a scoped credential (ADR-060). `scopes` is validated in the router\nagainst tickerrag.credential_scopes so that an unissuable scope is a 422 rather than a\nsilently narrower key than the caller believes it received."},"ApiCredentialOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","name","scopes","created_at"],"title":"ApiCredentialOut"},"ApiKeyOut":{"properties":{"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["api_key"],"title":"ApiKeyOut"},"AppleComplete":{"properties":{"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"State"},"code_verifier":{"type":"string","pattern":"^[A-Za-z0-9._~-]{43,128}$","title":"Code Verifier"},"authorization_code":{"type":"string","maxLength":2048,"minLength":1,"title":"Authorization Code"}},"additionalProperties":false,"type":"object","required":["state","code_verifier","authorization_code"],"title":"AppleComplete"},"AppleNotification":{"properties":{"payload":{"type":"string","maxLength":16384,"minLength":1,"title":"Payload"}},"additionalProperties":false,"type":"object","required":["payload"],"title":"AppleNotification"},"AppleStart":{"properties":{"code_challenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"Code Challenge"},"next":{"type":"string","maxLength":1000,"title":"Next","default":"/"},"acquisition_token":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Acquisition Token"},"writer_referral_code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Writer Referral Code"},"acquisition_source":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Source"},"cta_placement":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Cta Placement"},"hero_variant":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Hero Variant"},"acquisition_channel":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Channel"},"acquisition_entry":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Entry"},"acquisition_medium":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Medium"},"acquisition_campaign":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Campaign"},"acquisition_creative":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Creative"}},"additionalProperties":false,"type":"object","required":["code_challenge"],"title":"AppleStart"},"ApproveBatch":{"properties":{"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"state_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"State Hash"},"confirmation_statement":{"type":"string","const":"I reviewed and approve these exact saved-record changes.","title":"Confirmation Statement"}},"additionalProperties":false,"type":"object","required":["payload_hash","state_hash","confirmation_statement"],"title":"ApproveBatch"},"ApprovedStatementIn":{"properties":{"statement_id":{"type":"string","maxLength":64,"minLength":1,"title":"Statement Id"},"kind":{"type":"string","enum":["narrative","claim","expectation","invalidation"],"title":"Kind"},"text":{"type":"string","maxLength":1000,"minLength":3,"title":"Text"}},"additionalProperties":false,"type":"object","required":["statement_id","kind","text"],"title":"ApprovedStatementIn"},"ApprovedThemeRelationshipIn":{"properties":{"relationship_id":{"type":"string","maxLength":64,"minLength":1,"title":"Relationship Id"},"company_id":{"type":"integer","title":"Company Id"},"effect":{"type":"string","enum":["tailwind","headwind","mixed","uncertain"],"title":"Effect"},"rationale":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Rationale"}},"additionalProperties":false,"type":"object","required":["relationship_id","company_id","effect"],"title":"ApprovedThemeRelationshipIn"},"ApprovedThemeStatementIn":{"properties":{"statement_id":{"type":"string","maxLength":64,"minLength":1,"title":"Statement Id"},"kind":{"type":"string","enum":["narrative","claim","expectation","invalidation"],"title":"Kind"},"text":{"type":"string","maxLength":1000,"minLength":3,"title":"Text"}},"additionalProperties":false,"type":"object","required":["statement_id","kind","text"],"title":"ApprovedThemeStatementIn"},"AskHistoryOut":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"question":{"type":"string","title":"Question"},"answer":{"type":"string","title":"Answer"},"sources":{"items":{"$ref":"#/components/schemas/SourceChunk"},"type":"array","title":"Sources"},"source_scope":{"type":"string","enum":["all","filings","calls"],"title":"Source Scope","default":"all"},"transcript_section":{"type":"string","enum":["all","prepared_remarks","questions_and_answers"],"title":"Transcript Section","default":"all"},"speaker_role":{"type":"string","enum":["all","executive","analyst"],"title":"Speaker Role","default":"all"},"outcome":{"type":"string","enum":["answered","insufficient_evidence"],"title":"Outcome","default":"answered"},"abstention_reason":{"anyOf":[{"type":"string","enum":["no_relevant_evidence","insufficient_citation_support","conflicting_evidence","outside_source_coverage"]},{"type":"null"}],"title":"Abstention Reason"},"asked_at":{"type":"string","format":"date-time","title":"Asked At"},"result_thesis_implications":{"anyOf":[{"$ref":"#/components/schemas/ResultThesisImplicationsOut"},{"type":"null"}]}},"type":"object","required":["ticker","question","answer","sources","asked_at"],"title":"AskHistoryOut"},"AskRequest":{"properties":{"question":{"type":"string","maxLength":8000,"minLength":1,"title":"Question"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"section":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Section"},"top_k":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Top K","default":5},"embedding_model":{"type":"string","enum":["voyage-4","voyage-finance-2"],"title":"Embedding Model","default":"voyage-4"},"source_scope":{"type":"string","enum":["all","filings","calls"],"title":"Source Scope","default":"all"},"transcript_section":{"type":"string","enum":["all","prepared_remarks","questions_and_answers"],"title":"Transcript Section","default":"all"},"speaker_role":{"type":"string","enum":["all","executive","analyst"],"title":"Speaker Role","default":"all"}},"additionalProperties":false,"type":"object","required":["question"],"title":"AskRequest"},"AskResponse":{"properties":{"text":{"type":"string","title":"Text"},"sources":{"items":{"$ref":"#/components/schemas/SourceChunk"},"type":"array","title":"Sources"},"outcome":{"type":"string","enum":["answered","insufficient_evidence"],"title":"Outcome","default":"answered"},"abstention_reason":{"anyOf":[{"type":"string","enum":["no_relevant_evidence","insufficient_citation_support","conflicting_evidence","outside_source_coverage"]},{"type":"null"}],"title":"Abstention Reason"}},"type":"object","required":["text","sources"],"title":"AskResponse"},"Asset":{"properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"},"alt":{"type":"string","maxLength":1500,"minLength":1,"title":"Alt"}},"additionalProperties":false,"type":"object","required":["sha256","alt"],"title":"Asset"},"AssistantFeedbackIn":{"properties":{"day":{"type":"string","format":"date","title":"Day"},"useful":{"type":"boolean","title":"Useful"}},"additionalProperties":false,"type":"object","required":["day","useful"],"title":"AssistantFeedbackIn"},"AttemptOutcome":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"outcome":{"type":"string","enum":["canceled","pending"],"title":"Outcome"}},"additionalProperties":false,"type":"object","required":["attempt_id","outcome"],"title":"AttemptOutcome"},"AuditLogEntryOut":{"properties":{"id":{"type":"integer","title":"Id"},"admin_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Admin User Id"},"admin_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Email"},"action":{"type":"string","title":"Action"},"target_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Target User Id"},"target_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Email"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","admin_user_id","admin_email","action","target_user_id","target_email","detail","created_at"],"title":"AuditLogEntryOut"},"AuthorProvenanceIn":{"properties":{"kind":{"type":"string","enum":["human","service"],"title":"Kind"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Reference"},"drafted_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Drafted At"}},"additionalProperties":false,"type":"object","required":["kind","name"],"title":"AuthorProvenanceIn"},"BackfillProposalIn":{"properties":{"candidate_ids":{"items":{"type":"string"},"type":"array","maxItems":25,"minItems":1,"title":"Candidate Ids"}},"additionalProperties":false,"type":"object","required":["candidate_ids"],"title":"BackfillProposalIn"},"BatchOut":{"properties":{"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"label":{"type":"string","title":"Label"},"credential_name":{"type":"string","title":"Credential Name"},"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"state_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"State Hash"},"status":{"type":"string","enum":["prepared","approved","applied","rejected","expired"],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"operations":{"items":{"$ref":"#/components/schemas/Preview"},"type":"array","title":"Operations"},"review_url":{"type":"string","title":"Review Url"},"receipt":{"anyOf":[{"$ref":"#/components/schemas/WriteReceipt"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["batch_id","label","credential_name","payload_hash","state_hash","status","created_at","expires_at","operations","review_url"],"title":"BatchOut"},"BillingStatusOut":{"properties":{"native_subscriptions":{"items":{"$ref":"#/components/schemas/NativeSubscriptionOut"},"type":"array","title":"Native Subscriptions"},"subscription_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Status"},"current_period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Current Period End"},"is_active":{"type":"boolean","title":"Is Active"},"plan_code":{"type":"string","enum":["free","investor","pro","legacy_investor","comp","admin"],"title":"Plan Code","default":"free"},"billing_interval":{"anyOf":[{"type":"string","enum":["month","year"]},{"type":"null"}],"title":"Billing Interval"},"subscription_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Price Id"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false},"cancel_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancel At"},"is_legacy_plan":{"type":"boolean","title":"Is Legacy Plan","default":false},"meaningful_change_delivered":{"type":"boolean","title":"Meaningful Change Delivered","default":false},"meaningful_change_viewed":{"type":"boolean","title":"Meaningful Change Viewed","default":false},"active_thesis_count":{"type":"integer","title":"Active Thesis Count"},"active_thesis_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Active Thesis Limit"},"active_company_count":{"type":"integer","title":"Active Company Count","default":0},"active_company_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Active Company Limit"},"active_monitoring_context_count":{"type":"integer","title":"Active Monitoring Context Count","default":0},"active_monitoring_context_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Active Monitoring Context Limit"},"active_theme_count":{"type":"integer","title":"Active Theme Count","default":0},"active_theme_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Active Theme Limit"},"permanent_free_active_thesis_limit":{"type":"integer","title":"Permanent Free Active Thesis Limit","default":1},"permanent_free_monitored_company_limit":{"type":"integer","title":"Permanent Free Monitored Company Limit","default":1},"comp_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Comp Expires At"},"comp_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comp Reason"}},"type":"object","required":["subscription_status","current_period_end","is_active","active_thesis_count","active_thesis_limit"],"title":"BillingStatusOut"},"CallDriftEvidenceOut":{"properties":{"source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Segment Id"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"speaker_name":{"type":"string","title":"Speaker Name"},"speaker_role":{"type":"string","title":"Speaker Role","default":"executive"},"section":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Section"},"source_locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Locator"},"quote":{"type":"string","title":"Quote"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"company_transcript_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Transcript Url"}},"type":"object","required":["speaker_name","quote"],"title":"CallDriftEvidenceOut"},"CallDriftFindingOut":{"properties":{"kind":{"type":"string","title":"Kind"},"topic":{"type":"string","title":"Topic"},"change":{"type":"string","title":"Change"},"current_evidence":{"$ref":"#/components/schemas/CallDriftEvidenceOut"},"prior_evidence":{"$ref":"#/components/schemas/CallDriftEvidenceOut"}},"type":"object","required":["kind","topic","change","current_evidence","prior_evidence"],"title":"CallDriftFindingOut"},"CallDriftHistoryOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"current_title":{"type":"string","title":"Current Title"},"prior_title":{"type":"string","title":"Prior Title"},"summary":{"type":"string","title":"Summary"},"has_drift":{"type":"boolean","title":"Has Drift"},"source_mode":{"type":"string","title":"Source Mode","default":"legacy"},"source_provider_code":{"type":"string","title":"Source Provider Code","default":"legacy"},"analyzer_version":{"type":"string","title":"Analyzer Version","default":"call-drift-legacy"},"analysis_fingerprint":{"type":"string","title":"Analysis Fingerprint","default":"legacy"},"current_source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Source Artifact Version Id"},"prior_source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Source Artifact Version Id"},"current_source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Source Url"},"prior_source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Source Url"},"findings":{"items":{"$ref":"#/components/schemas/CallDriftFindingOut"},"type":"array","title":"Findings"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","ticker","current_title","prior_title","summary","has_drift","created_at"],"title":"CallDriftHistoryOut","description":"A stored comparison from the shared, ticker-level management-language ledger."},"CallDriftImpactFeedbackIn":{"properties":{"labels":{"items":{"type":"string","enum":["correct_relationship","wrong_relationship","material","not_material"]},"type":"array","maxItems":4,"title":"Labels"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"},"digest_idempotency_key":{"anyOf":[{"type":"string","pattern":"^digest-[0-9a-f]{64}$"},{"type":"null"}],"title":"Digest Idempotency Key"}},"type":"object","required":["labels"],"title":"CallDriftImpactFeedbackIn"},"CallDriftImpactFeedbackOut":{"properties":{"call_drift_thesis_impact_id":{"type":"integer","title":"Call Drift Thesis Impact Id"},"labels":{"items":{"type":"string","enum":["correct_relationship","wrong_relationship","material","not_material"]},"type":"array","title":"Labels"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["call_drift_thesis_impact_id","labels","updated_at"],"title":"CallDriftImpactFeedbackOut"},"CallDriftOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"current_title":{"type":"string","title":"Current Title"},"prior_title":{"type":"string","title":"Prior Title"},"summary":{"type":"string","title":"Summary"},"has_drift":{"type":"boolean","title":"Has Drift"},"source_mode":{"type":"string","title":"Source Mode","default":"legacy"},"source_provider_code":{"type":"string","title":"Source Provider Code","default":"legacy"},"analyzer_version":{"type":"string","title":"Analyzer Version","default":"call-drift-legacy"},"analysis_fingerprint":{"type":"string","title":"Analysis Fingerprint","default":"legacy"},"current_source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Source Artifact Version Id"},"prior_source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Source Artifact Version Id"},"current_source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Source Url"},"prior_source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Source Url"},"findings":{"items":{"$ref":"#/components/schemas/CallDriftFindingOut"},"type":"array","title":"Findings"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","ticker","current_title","prior_title","summary","has_drift","created_at"],"title":"CallDriftOut"},"CallDriftThesisImpactOut":{"properties":{"id":{"type":"integer","title":"Id"},"thesis_context_type":{"type":"string","enum":["ticker","shared"],"title":"Thesis Context Type"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"shared_thesis_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared Thesis Title"},"shared_thesis_effect":{"anyOf":[{"type":"string","enum":["tailwind","headwind","mixed","uncertain"]},{"type":"null"}],"title":"Shared Thesis Effect"},"shared_thesis_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared Thesis Rationale"},"thesis_text":{"type":"string","title":"Thesis Text"},"reasoning":{"type":"string","title":"Reasoning"},"materiality":{"type":"string","enum":["material","immaterial","uncertain"],"title":"Materiality"},"relationship":{"type":"string","enum":["support","contradict","neutral"],"title":"Relationship"},"thesis_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Factor"},"evidence_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Factor"},"causal_bridge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Bridge"},"thesis_factor_kind":{"type":"string","enum":["claim","expectation","invalidation","narrative","unknown"],"title":"Thesis Factor Kind"},"thesis_impact":{"type":"string","enum":["strengthened","weakened","broken","uncertain"],"title":"Thesis Impact"},"relevance_model":{"type":"string","title":"Relevance Model"},"evaluation_version":{"type":"string","title":"Evaluation Version"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"is_backfill":{"type":"boolean","title":"Is Backfill","default":false},"feedback_labels":{"items":{"type":"string","enum":["correct_relationship","wrong_relationship","material","not_material"]},"type":"array","title":"Feedback Labels"}},"type":"object","required":["id","thesis_context_type","thesis_text","reasoning","materiality","relationship","thesis_factor_kind","thesis_impact","relevance_model","evaluation_version","evaluated_at"],"title":"CallDriftThesisImpactOut"},"ChangePasswordRequest":{"properties":{"current_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Password"},"new_password":{"type":"string","title":"New Password"}},"additionalProperties":false,"type":"object","required":["new_password"],"title":"ChangePasswordRequest"},"CheckoutSessionIn":{"properties":{"plan":{"type":"string","enum":["investor","pro"],"title":"Plan","default":"investor"},"billing_interval":{"type":"string","enum":["month","year"],"title":"Billing Interval","default":"month"},"placement":{"type":"string","enum":["settings","monitoring_limit","research_add","reverse_matching"],"title":"Placement","default":"settings"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"}},"type":"object","title":"CheckoutSessionIn"},"CheckoutSessionOut":{"properties":{"url":{"type":"string","title":"Url"},"billing_interval":{"type":"string","enum":["month","year"],"title":"Billing Interval","default":"month"}},"type":"object","required":["url"],"title":"CheckoutSessionOut"},"CompGrantIn":{"properties":{"days":{"type":"integer","maximum":3650.0,"exclusiveMinimum":0.0,"title":"Days"},"reason":{"type":"string","maxLength":200,"minLength":1,"pattern":"\\S","title":"Reason"}},"type":"object","required":["days","reason"],"title":"CompGrantIn"},"CompanyNamesIn":{"properties":{"tickers":{"items":{"type":"string","maxLength":16,"minLength":1},"type":"array","maxItems":100,"minItems":1,"title":"Tickers"}},"additionalProperties":false,"type":"object","required":["tickers"],"title":"CompanyNamesIn"},"CompanyPreference":{"properties":{"evidence_cadence":{"type":"string","enum":["immediate","review","off"],"title":"Evidence Cadence","default":"review"},"price_moves":{"type":"boolean","title":"Price Moves","default":false}},"additionalProperties":false,"type":"object","title":"CompanyPreference"},"CompanyPreferencesBulk":{"properties":{"tickers":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":500},{"type":"null"}],"title":"Tickers"},"evidence_cadence":{"anyOf":[{"type":"string","enum":["immediate","review","off"]},{"type":"null"}],"title":"Evidence Cadence"},"price_moves":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Price Moves"},"clear":{"type":"boolean","title":"Clear","default":false}},"additionalProperties":false,"type":"object","title":"CompanyPreferencesBulk","description":"Set many companies at once. `tickers` null means every company the account monitors;\na field left null keeps each company's current effective value; `clear` removes the\ncompanies' own rows so they follow the account default again."},"CompanySegmentOut":{"properties":{"id":{"type":"integer","title":"Id"},"issuer_segment_key":{"type":"string","title":"Issuer Segment Key"},"canonical_name":{"type":"string","title":"Canonical Name"},"dimension":{"type":"string","enum":["business","geography","product","other"],"title":"Dimension"},"identity_source":{"type":"string","enum":["issuer_reported","provider","operator"],"title":"Identity Source"},"label_history":{"items":{"$ref":"#/components/schemas/SegmentLabelHistoryOut"},"type":"array","title":"Label History"},"facts":{"items":{"$ref":"#/components/schemas/SegmentFactOut"},"type":"array","title":"Facts"}},"type":"object","required":["id","issuer_segment_key","canonical_name","dimension","identity_source"],"title":"CompanySegmentOut"},"CompanyStateAnalysisJobOut":{"properties":{"status":{"type":"string","enum":["pending","running","complete","failed"],"title":"Status"},"stage":{"type":"string","enum":["queued","fetching_calls","extracting","persisting","complete","failed"],"title":"Stage"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"attempt_count":{"type":"integer","title":"Attempt Count"},"observation_count":{"type":"integer","title":"Observation Count"},"cache_hit":{"type":"boolean","title":"Cache Hit"},"error_code":{"anyOf":[{"type":"string","enum":["dispatch_failed","task_failed","provider_access_denied","insufficient_calls","speaker_segments_unavailable"]},{"type":"null"}],"title":"Error Code"}},"type":"object","required":["status","stage","requested_at","started_at","finished_at","attempt_count","observation_count","cache_hit"],"title":"CompanyStateAnalysisJobOut"},"CompanyTemporalStateOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"promises":{"items":{"$ref":"#/components/schemas/ManagementPromiseOut"},"type":"array","title":"Promises"},"last_analyzed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Analyzed At"},"analysis":{"anyOf":[{"$ref":"#/components/schemas/CompanyStateAnalysisJobOut"},{"type":"null"}]}},"type":"object","required":["ticker","last_analyzed_at"],"title":"CompanyTemporalStateOut"},"ComparisonRequest":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/EntryReference"},"type":"array","maxItems":3,"minItems":2,"title":"Entries"}},"additionalProperties":false,"type":"object","required":["entries"],"title":"ComparisonRequest"},"ConsensusEstimateOut":{"properties":{"metric":{"type":"string","enum":["eps","revenue","ebitda","gross_margin","operating_margin"],"title":"Metric"},"period_type":{"type":"string","enum":["quarterly","annual"],"title":"Period Type"},"fiscal_period_end":{"type":"string","format":"date","title":"Fiscal Period End"},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year"},"fiscal_quarter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Quarter"},"fiscal_period_mapping_source":{"type":"string","title":"Fiscal Period Mapping Source"},"fiscal_period_mapping_is_estimated":{"type":"boolean","title":"Fiscal Period Mapping Is Estimated"},"average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average"},"high":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"High"},"low":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Low"},"analyst_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Analyst Count"},"unit":{"type":"string","title":"Unit"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"revision_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Revision 7D Pct"},"revision_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Revision 30D Pct"},"revision_60d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Revision 60D Pct"},"revision_90d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Revision 90D Pct"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"}},"type":"object","required":["metric","period_type","fiscal_period_end","fiscal_year","fiscal_quarter","fiscal_period_mapping_source","fiscal_period_mapping_is_estimated","average","high","low","analyst_count","unit","currency","revision_7d_pct","revision_30d_pct","revision_60d_pct","revision_90d_pct","observed_at"],"title":"ConsensusEstimateOut"},"ConsentIn":{"properties":{"consent_digest":{"type":"string","maxLength":64,"minLength":64,"title":"Consent Digest"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":2,"minItems":1,"title":"Scopes"},"confirmation_statement":{"type":"string","maxLength":200,"title":"Confirmation Statement"}},"additionalProperties":false,"type":"object","required":["consent_digest","scopes","confirmation_statement"],"title":"ConsentIn"},"ContentMode":{"type":"string","enum":["event_brief","thesis_update"],"title":"ContentMode"},"CreatePermission":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"credential_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Credential Id"},"watchlist_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Watchlist Id"},"actions":{"items":{"type":"string","enum":["add_watchlist_ticker","save_company_thesis","add_source_reference"]},"type":"array","maxItems":3,"minItems":1,"title":"Actions"},"duration_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Duration Days","default":30},"daily_limit":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Daily Limit","default":20},"confirmation_statement":{"type":"string","const":"I permit these bounded saved-record changes until expiry.","title":"Confirmation Statement"}},"additionalProperties":false,"type":"object","required":["request_id","credential_id","watchlist_id","actions","confirmation_statement"],"title":"CreatePermission"},"CreateRequest":{"properties":{"entry_id":{"type":"string","format":"uuid","title":"Entry Id"},"expected_entry_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Entry Sha256"},"kind":{"type":"string","enum":["claim","dispute","removal"],"title":"Kind"},"as_writer":{"type":"boolean","title":"As Writer","default":false},"explanation":{"type":"string","maxLength":2000,"minLength":8,"title":"Explanation"}},"additionalProperties":false,"type":"object","required":["entry_id","expected_entry_sha256","kind","explanation"],"title":"CreateRequest"},"Decision":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"expected_request_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Request Sha256"},"decision":{"type":"string","enum":["accepted","rejected"],"title":"Decision"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_revision","expected_request_sha256","decision","reason"],"title":"Decision"},"DesignPartnerIn":{"properties":{"consent_status":{"type":"string","enum":["pending","granted","declined","revoked"],"title":"Consent Status"},"real_thesis_confirmed":{"type":"boolean","title":"Real Thesis Confirmed","default":false},"catalyst_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Catalyst Date"},"interview_cadence_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Interview Cadence Days"},"next_interview_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Interview At"},"outcome_notes":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Outcome Notes"},"enabled_features":{"items":{"type":"string","enum":["thesis_interview","thesis_interview_voice","thesis_revision_save","thesis_replay_command","thesis_ask_command","thesis_match_command","thesis_challenge","position_decisions","theme_pulse","macro_routing","hybrid_retrieval"]},"type":"array","title":"Enabled Features","default":[]}},"type":"object","required":["consent_status"],"title":"DesignPartnerIn"},"DesignPartnerOut":{"properties":{"user_id":{"type":"integer","title":"User Id"},"email":{"type":"string","title":"Email"},"consent_status":{"type":"string","enum":["pending","granted","declined","revoked"],"title":"Consent Status"},"consented_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Consented At"},"real_thesis_confirmed":{"type":"boolean","title":"Real Thesis Confirmed"},"catalyst_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Catalyst Date"},"interview_cadence_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Interview Cadence Days"},"next_interview_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Interview At"},"outcome_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Notes"},"enabled_features":{"items":{"type":"string","enum":["thesis_interview","thesis_interview_voice","thesis_revision_save","thesis_replay_command","thesis_ask_command","thesis_match_command","thesis_challenge","position_decisions","theme_pulse","macro_routing","hybrid_retrieval"]},"type":"array","title":"Enabled Features"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["user_id","email","consent_status","consented_at","real_thesis_confirmed","catalyst_date","interview_cadence_days","next_interview_at","outcome_notes","enabled_features","created_at","updated_at"],"title":"DesignPartnerOut"},"DeviceProof":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"secret":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"Secret"}},"additionalProperties":false,"type":"object","required":["device_id","secret"],"title":"DeviceProof"},"DeviceRegistration":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"secret":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"Secret"},"platform":{"type":"string","enum":["ios","android"],"title":"Platform"},"token":{"type":"string","maxLength":4096,"minLength":32,"pattern":"^[A-Za-z0-9_:\\-]+$","title":"Token"}},"additionalProperties":false,"type":"object","required":["device_id","secret","platform","token"],"title":"DeviceRegistration"},"DigestListItemOut":{"properties":{"digest_key":{"type":"string","title":"Digest Key"},"provider_accepted_at":{"type":"string","format":"date-time","title":"Provider Accepted At"},"digest_period_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Digest Period For"},"alert_count":{"type":"integer","title":"Alert Count"},"theme_count":{"type":"integer","title":"Theme Count"},"example_count":{"type":"integer","title":"Example Count","default":0}},"type":"object","required":["digest_key","provider_accepted_at","alert_count","theme_count"],"title":"DigestListItemOut"},"DigestListOut":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DigestListItemOut"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"DigestListOut","description":"The account's recent summary emails, keys and counts only (ADR-077 slice 1a)."},"DigestSettingsIn":{"properties":{"frequency":{"type":"string","title":"Frequency"},"hour":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Hour"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone"}},"type":"object","required":["frequency","hour","timezone"],"title":"DigestSettingsIn"},"DigestSettingsOut":{"properties":{"frequency":{"type":"string","title":"Frequency"},"hour":{"type":"integer","title":"Hour"},"timezone":{"type":"string","title":"Timezone"},"last_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Sent At"}},"type":"object","required":["frequency","hour","timezone","last_sent_at"],"title":"DigestSettingsOut"},"DigestSignalsOut":{"properties":{"digest_idempotency_key":{"type":"string","title":"Digest Idempotency Key"},"provider_accepted_at":{"type":"string","format":"date-time","title":"Provider Accepted At"},"digest_period_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Digest Period For"},"included_count":{"type":"integer","title":"Included Count"},"unavailable_count":{"type":"integer","title":"Unavailable Count"},"items":{"items":{"$ref":"#/components/schemas/SignalOut"},"type":"array","title":"Items"},"has_more":{"type":"boolean","title":"Has More"},"coverage_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Note"},"examples":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Examples"},"example_included_count":{"type":"integer","title":"Example Included Count","default":0},"example_unavailable_count":{"type":"integer","title":"Example Unavailable Count","default":0}},"type":"object","required":["digest_idempotency_key","provider_accepted_at","included_count","unavailable_count","has_more"],"title":"DigestSignalsOut","description":"Readable retained members of one owner-validated email batch.\n\nMembership is exact, but these are the retained findings rather than a copy\nof the email's rendered text or ordering. Counts deduplicate IDs per kind."},"DigestTimezoneDefaultIn":{"properties":{"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone"}},"type":"object","required":["timezone"],"title":"DigestTimezoneDefaultIn"},"DirectAcquisitionFunnelOut":{"properties":{"signups":{"type":"integer","title":"Signups"},"first_company_reasons":{"type":"integer","title":"First Company Reasons"},"first_replays":{"type":"integer","title":"First Replays"},"qualified_returns":{"type":"integer","title":"Qualified Returns"},"second_company_attempts":{"type":"integer","title":"Second Company Attempts"},"signup_to_reason_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Signup To Reason Pct"},"reason_to_replay_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reason To Replay Pct"},"replay_to_qualified_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replay To Qualified Return Pct"},"replay_to_second_company_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replay To Second Company Pct"},"low_volume":{"type":"boolean","title":"Low Volume"}},"type":"object","required":["signups","first_company_reasons","first_replays","qualified_returns","second_company_attempts","signup_to_reason_pct","reason_to_replay_pct","replay_to_qualified_return_pct","replay_to_second_company_pct","low_volume"],"title":"DirectAcquisitionFunnelOut"},"DraftThemeSuggestionsIn":{"properties":{"title":{"type":"string","maxLength":300,"title":"Title","default":""},"thesis_text":{"type":"string","maxLength":5000,"title":"Thesis Text","default":""}},"additionalProperties":false,"type":"object","title":"DraftThemeSuggestionsIn"},"EarningsEventHistoryOut":{"properties":{"event_date":{"type":"string","format":"date","title":"Event Date"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"timing":{"type":"string","enum":["bmo","amc","dmh","unknown"],"title":"Timing"},"date_status":{"type":"string","enum":["confirmed","estimated","provider_scheduled"],"title":"Date Status"},"event_timezone":{"type":"string","title":"Event Timezone"},"status_source":{"type":"string","title":"Status Source"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"superseded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Superseded At"},"change_kind":{"type":"string","enum":["initial","date_changed","status_changed","time_changed"],"title":"Change Kind"}},"type":"object","required":["event_date","scheduled_at","timing","date_status","event_timezone","status_source","observed_at","superseded_at","change_kind"],"title":"EarningsEventHistoryOut"},"EarningsEventOut":{"properties":{"event_date":{"type":"string","format":"date","title":"Event Date"},"timing":{"type":"string","enum":["bmo","amc","dmh","unknown"],"title":"Timing"},"date_status":{"type":"string","enum":["confirmed","estimated","provider_scheduled"],"title":"Date Status"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"event_timezone":{"type":"string","title":"Event Timezone","default":"America/New_York"},"status_source":{"type":"string","title":"Status Source","default":"legacy_provider_schedule"},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year"},"fiscal_quarter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Quarter"},"fiscal_period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fiscal Period End"},"eps_estimate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eps Estimate"},"revenue_estimate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Revenue Estimate"},"source_url":{"type":"string","title":"Source Url"},"history":{"items":{"$ref":"#/components/schemas/EarningsEventHistoryOut"},"type":"array","title":"History"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"}},"type":"object","required":["event_date","timing","date_status","fiscal_year","fiscal_quarter","fiscal_period_end","eps_estimate","revenue_estimate","source_url","observed_at"],"title":"EarningsEventOut"},"EarningsResultOut":{"properties":{"fiscal_period_end":{"type":"string","format":"date","title":"Fiscal Period End"},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year"},"fiscal_quarter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Quarter"},"actual_eps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Eps"},"consensus_eps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Consensus Eps"},"surprise_abs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surprise Abs"},"surprise_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surprise Pct"},"metric":{"type":"string","title":"Metric","default":"eps"},"actual_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Value"},"as_of_consensus":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"As Of Consensus"},"surprise_sign":{"type":"string","enum":["beat","miss","in_line","not_calculable"],"title":"Surprise Sign","default":"not_calculable"},"surprise_basis":{"type":"string","enum":["tickertrac_as_of_consensus","provider_reported_consensus","legacy_provider_reported","unavailable"],"title":"Surprise Basis","default":"legacy_provider_reported"},"unit":{"type":"string","title":"Unit","default":"per_share_provider_currency"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"provider":{"type":"string","title":"Provider"},"source_url":{"type":"string","title":"Source Url"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"consensus_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Consensus Observed At"},"fiscal_period_mapping_source":{"type":"string","title":"Fiscal Period Mapping Source","default":"legacy_period_end"},"fiscal_period_mapping_is_estimated":{"type":"boolean","title":"Fiscal Period Mapping Is Estimated","default":true},"observed_at":{"type":"string","format":"date-time","title":"Observed At"}},"type":"object","required":["fiscal_period_end","fiscal_year","fiscal_quarter","actual_eps","consensus_eps","surprise_abs","surprise_pct","provider","source_url","observed_at"],"title":"EarningsResultOut"},"EditorialDeskFreshnessIn":{"properties":{"inbox_id":{"type":"integer","minimum":1.0,"title":"Inbox Id"},"stale_after":{"type":"string","format":"date-time","title":"Stale After"},"note":{"type":"string","maxLength":1000,"minLength":8,"title":"Note"},"operation_key":{"type":"string","maxLength":120,"minLength":8,"title":"Operation Key"}},"additionalProperties":false,"type":"object","required":["inbox_id","stale_after","note","operation_key"],"title":"EditorialDeskFreshnessIn"},"EditorialDeskPublishIn":{"properties":{"preparation_entity_id":{"type":"string","maxLength":200,"minLength":1,"title":"Preparation Entity Id"},"preparation_version":{"type":"integer","minimum":1.0,"title":"Preparation Version","default":1},"confirm_finished_carousel":{"type":"boolean","const":true,"title":"Confirm Finished Carousel"},"expected_caption_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Expected Caption Sha256"},"note":{"type":"string","maxLength":1000,"minLength":8,"title":"Note"},"operation_key":{"type":"string","maxLength":120,"minLength":8,"title":"Operation Key"}},"additionalProperties":false,"type":"object","required":["preparation_entity_id","confirm_finished_carousel","note","operation_key"],"title":"EditorialDeskPublishIn"},"EditorialDeskRemoteActionIn":{"properties":{"publication_entity_id":{"type":"string","maxLength":200,"minLength":1,"title":"Publication Entity Id"},"action":{"type":"string","maxLength":60,"minLength":1,"title":"Action"},"note":{"type":"string","maxLength":1000,"minLength":1,"title":"Note"},"operation_key":{"type":"string","maxLength":120,"minLength":8,"title":"Operation Key"}},"additionalProperties":false,"type":"object","required":["publication_entity_id","action","note","operation_key"],"title":"EditorialDeskRemoteActionIn"},"EditorialDisplayCitationIn":{"properties":{"evidence_id":{"type":"string","maxLength":200,"minLength":1,"title":"Evidence Id"},"source_url":{"type":"string","maxLength":2000,"minLength":12,"title":"Source Url"},"publisher":{"type":"string","maxLength":160,"minLength":1,"title":"Publisher"},"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"note":{"type":"string","maxLength":1000,"minLength":8,"title":"Note"},"states_the_fact":{"type":"boolean","const":true,"title":"States The Fact"}},"additionalProperties":false,"type":"object","required":["evidence_id","source_url","publisher","title","published_at","note","states_the_fact"],"title":"EditorialDisplayCitationIn"},"EditorialFunnelCohortOut":{"properties":{"canonical_insight_ref":{"type":"string","title":"Canonical Insight Ref"},"public_insight_candidate_ref":{"type":"string","title":"Public Insight Candidate Ref"},"public_artifact_ref":{"type":"string","title":"Public Artifact Ref"},"presentation_ref":{"type":"string","title":"Presentation Ref"},"audience_variant":{"type":"string","enum":["readthrough","inflection","forward-signal"],"title":"Audience Variant"},"channel":{"type":"string","enum":["owned_web","instagram","x","linkedin","email"],"title":"Channel"},"account_key":{"type":"string","const":"tickertrac-editorial","title":"Account Key"},"cta_placement":{"type":"string","enum":["artifact_footer","social_caption","profile_bio","email_body","story_link"],"title":"Cta Placement"},"stages":{"$ref":"#/components/schemas/EditorialFunnelStagesOut"},"first_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Observed At"},"low_volume":{"type":"boolean","title":"Low Volume"}},"additionalProperties":false,"type":"object","required":["canonical_insight_ref","public_insight_candidate_ref","public_artifact_ref","presentation_ref","audience_variant","channel","account_key","cta_placement","stages","first_observed_at","low_volume"],"title":"EditorialFunnelCohortOut"},"EditorialFunnelExportOut":{"properties":{"schema_version":{"type":"string","const":"tickertrac-public-funnel-export/v1","title":"Schema Version"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"window_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Window Days"},"period_started_at":{"type":"string","format":"date-time","title":"Period Started At"},"period_ended_at":{"type":"string","format":"date-time","title":"Period Ended At"},"aggregation_level":{"type":"string","const":"artifact_presentation_channel_placement","title":"Aggregation Level"},"cohorts":{"items":{"$ref":"#/components/schemas/EditorialFunnelCohortOut"},"type":"array","title":"Cohorts"},"suppressed_cohorts":{"items":{"$ref":"#/components/schemas/EditorialFunnelSuppressedCohortOut"},"type":"array","title":"Suppressed Cohorts"},"stage_order":{"items":{"type":"string"},"type":"array","title":"Stage Order"},"stage_identity_units":{"additionalProperties":{"type":"string"},"type":"object","title":"Stage Identity Units"},"stages_are_monotonic":{"type":"boolean","const":false,"title":"Stages Are Monotonic"},"artifact_views_are_owned_web_only":{"type":"boolean","const":true,"title":"Artifact Views Are Owned Web Only"},"artifact_view_channel":{"type":"string","const":"owned_web","title":"Artifact View Channel"},"audience_gated_channels":{"items":{"type":"string"},"type":"array","title":"Audience Gated Channels"},"unmeasured_stages":{"items":{"$ref":"#/components/schemas/EditorialFunnelUnmeasuredStageOut"},"type":"array","title":"Unmeasured Stages"},"channel_side_fields_absent":{"items":{"type":"string"},"type":"array","title":"Channel Side Fields Absent"},"direct_signup_cohort_excluded":{"type":"boolean","const":true,"title":"Direct Signup Cohort Excluded"},"excludes_accounts_marked_out_of_product_metrics":{"type":"boolean","const":true,"title":"Excludes Accounts Marked Out Of Product Metrics"},"low_volume_signup_floor":{"type":"integer","minimum":0.0,"title":"Low Volume Signup Floor"},"k_anonymity_min_accounts":{"type":"integer","minimum":1.0,"title":"K Anonymity Min Accounts"},"reconstruction_is_deterministic_for_as_of":{"type":"boolean","const":true,"title":"Reconstruction Is Deterministic For As Of"},"contains_user_identifiers":{"type":"boolean","const":false,"title":"Contains User Identifiers"},"contains_raw_reason_text":{"type":"boolean","const":false,"title":"Contains Raw Reason Text"},"contains_private_thesis_content":{"type":"boolean","const":false,"title":"Contains Private Thesis Content"},"publication_authority":{"type":"string","const":"none","title":"Publication Authority"}},"additionalProperties":false,"type":"object","required":["schema_version","generated_at","as_of","window_days","period_started_at","period_ended_at","aggregation_level","cohorts","suppressed_cohorts","stage_order","stage_identity_units","stages_are_monotonic","artifact_views_are_owned_web_only","artifact_view_channel","audience_gated_channels","unmeasured_stages","channel_side_fields_absent","direct_signup_cohort_excluded","excludes_accounts_marked_out_of_product_metrics","low_volume_signup_floor","k_anonymity_min_accounts","reconstruction_is_deterministic_for_as_of","contains_user_identifiers","contains_raw_reason_text","contains_private_thesis_content","publication_authority"],"title":"EditorialFunnelExportOut","description":"Everything TickerTrac can honestly say about attributed downstream product value.\n\n``stages_are_monotonic`` is false by contract: view and click counts are keyed by\nanonymous session HMACs while every later stage is keyed by account, so a consumer that\nranks on stage-to-stage ratios across that seam is comparing different populations."},"EditorialFunnelStagesOut":{"properties":{"artifact_views":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Artifact Views"},"cta_clicks":{"type":"integer","minimum":0.0,"title":"Cta Clicks"},"signups":{"type":"integer","minimum":0.0,"title":"Signups"},"first_company_reasons":{"type":"integer","minimum":0.0,"title":"First Company Reasons"},"first_replays":{"type":"integer","minimum":0.0,"title":"First Replays"},"qualified_returns":{"type":"integer","minimum":0.0,"title":"Qualified Returns"},"second_company_attempts":{"type":"integer","minimum":0.0,"title":"Second Company Attempts"}},"additionalProperties":false,"type":"object","required":["artifact_views","cta_clicks","signups","first_company_reasons","first_replays","qualified_returns","second_company_attempts"],"title":"EditorialFunnelStagesOut","description":"Product-side stage counts. Read ``stage_identity_units`` before comparing them."},"EditorialFunnelSuppressedCohortOut":{"properties":{"canonical_insight_ref":{"type":"string","title":"Canonical Insight Ref"},"public_insight_candidate_ref":{"type":"string","title":"Public Insight Candidate Ref"},"public_artifact_ref":{"type":"string","title":"Public Artifact Ref"},"presentation_ref":{"type":"string","title":"Presentation Ref"},"audience_variant":{"type":"string","enum":["readthrough","inflection","forward-signal"],"title":"Audience Variant"},"channel":{"type":"string","enum":["owned_web","instagram","x","linkedin","email"],"title":"Channel"},"account_key":{"type":"string","const":"tickertrac-editorial","title":"Account Key"},"cta_placement":{"type":"string","enum":["artifact_footer","social_caption","profile_bio","email_body","story_link"],"title":"Cta Placement"},"first_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Observed At"},"withheld_stages":{"items":{"type":"string"},"type":"array","title":"Withheld Stages"},"reason":{"type":"string","title":"Reason"}},"additionalProperties":false,"type":"object","required":["canonical_insight_ref","public_insight_candidate_ref","public_artifact_ref","presentation_ref","audience_variant","channel","account_key","cta_placement","first_observed_at","withheld_stages","reason"],"title":"EditorialFunnelSuppressedCohortOut","description":"A cohort whose counts were withheld for k-anonymity, not measured as zero.\n\nIt carries the lineage Editorial itself registered plus the reason its stages are\nabsent. There is deliberately no stage object: a suppressed cohort must be unreadable\nas a measurement, and a consumer that wants counts has to wait for the cohort to reach\nthe account floor."},"EditorialFunnelUnmeasuredStageOut":{"properties":{"stage":{"type":"string","enum":["reason_previews","paid_conversions","artifact_views"],"title":"Stage"},"explanation":{"type":"string","title":"Explanation"}},"additionalProperties":false,"type":"object","required":["stage","explanation"],"title":"EditorialFunnelUnmeasuredStageOut"},"EditorialLogoWarmIn":{"properties":{"tickers":{"items":{"type":"string"},"type":"array","maxItems":25,"minItems":1,"title":"Tickers"}},"type":"object","required":["tickers"],"title":"EditorialLogoWarmIn"},"EditorialLogoWarmOut":{"properties":{"logos":{"additionalProperties":{"type":"string"},"type":"object","title":"Logos"}},"type":"object","title":"EditorialLogoWarmOut"},"EditorialQueueCancelIn":{"properties":{"queue_id":{"type":"string","pattern":"^publish_queue_[0-9a-f]{24}$","title":"Queue Id"}},"additionalProperties":false,"type":"object","required":["queue_id"],"title":"EditorialQueueCancelIn"},"EditorialStoryApproveIn":{"properties":{"story_id":{"type":"string","pattern":"^story_[a-f0-9]{64}$","title":"Story Id"},"story_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Story Sha256"},"confirm_story_frames":{"type":"boolean","const":true,"title":"Confirm Story Frames"},"delivery_method":{"type":"string","enum":["automatic","instagram_manual"],"title":"Delivery Method","default":"automatic"},"operation_key":{"type":"string","maxLength":120,"minLength":8,"title":"Operation Key"}},"additionalProperties":false,"type":"object","required":["story_id","story_sha256","confirm_story_frames","operation_key"],"title":"EditorialStoryApproveIn"},"EditorialStoryControlIn":{"properties":{"approval_id":{"type":"string","pattern":"^story_approval_[a-f0-9]{24}$","title":"Approval Id"},"action":{"type":"string","enum":["cancel","retry","reconcile","manual_start","manual_complete","manual_frame_complete","highlight_complete"],"title":"Action"},"frame_index":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":1.0},{"type":"null"}],"title":"Frame Index"},"highlight":{"anyOf":[{"type":"string","enum":["Start here","How it works","What changed"]},{"type":"null"}],"title":"Highlight"},"confirm_completed":{"type":"boolean","title":"Confirm Completed","default":false}},"additionalProperties":false,"type":"object","required":["approval_id","action"],"title":"EditorialStoryControlIn"},"EntryReference":{"properties":{"entry_id":{"type":"string","format":"uuid","title":"Entry Id"},"entry_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Entry Sha256"}},"additionalProperties":false,"type":"object","required":["entry_id","entry_sha256"],"title":"EntryReference"},"EvaluationDecisionIn":{"properties":{"decision":{"type":"string","enum":["approve","decline"],"title":"Decision"},"items":{"items":{"$ref":"#/components/schemas/EvaluationDecisionItem"},"type":"array","maxItems":50,"minItems":1,"title":"Items"},"note":{"type":"string","maxLength":2000,"minLength":8,"title":"Note"},"confirm_exact_requests":{"type":"boolean","const":true,"title":"Confirm Exact Requests"}},"type":"object","required":["decision","items","note","confirm_exact_requests"],"title":"EvaluationDecisionIn"},"EvaluationDecisionItem":{"properties":{"id":{"type":"integer","minimum":1.0,"title":"Id"},"proposal_key":{"type":"string","maxLength":200,"minLength":1,"title":"Proposal Key"}},"type":"object","required":["id","proposal_key"],"title":"EvaluationDecisionItem"},"Event":{"properties":{"operation_id":{"type":"string","format":"uuid","title":"Operation Id"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Content Sha256"},"action":{"type":"string","enum":["approve","revoke","complete","park","resume","opt_out","observation","publication_request","schedule","cancel_schedule"],"title":"Action"},"confirmed":{"type":"boolean","title":"Confirmed","default":false},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"},"reference":{"type":"string","maxLength":1500,"title":"Reference","default":""},"note":{"type":"string","maxLength":4000,"title":"Note","default":""},"outcome":{"anyOf":[{"type":"string","enum":["sent","reply","interested","trial","use","external_schedule","exposure","signup","cancelled"]},{"type":"null"}],"title":"Outcome"},"purpose":{"anyOf":[{"type":"string","enum":["initial","followup","reply","publication"]},{"type":"null"}],"title":"Purpose"},"channel":{"anyOf":[{"type":"string","enum":["instagram","x","reddit","email","substack","website"]},{"type":"null"}],"title":"Channel"},"metrics":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["impressions","visits","signups","replies"]},"type":"object","title":"Metrics"}},"additionalProperties":false,"type":"object","required":["operation_id","expected_revision","content_sha256","action"],"title":"Event"},"EventEvidence":{"properties":{"evidence_id":{"type":"string","maxLength":160,"minLength":1,"title":"Evidence Id"},"source_type":{"$ref":"#/components/schemas/SourceType"},"provider_code":{"type":"string","maxLength":80,"minLength":1,"title":"Provider Code"},"publisher":{"type":"string","maxLength":160,"minLength":1,"title":"Publisher"},"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title"},"source_url":{"type":"string","maxLength":2000,"minLength":8,"title":"Source Url"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"source_artifact_version_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Source Artifact Version Id"},"source_segment_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Source Segment Id"},"source_locator":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Source Locator"},"excerpt":{"anyOf":[{"type":"string","maxLength":700},{"type":"null"}],"title":"Excerpt"},"display_policy":{"$ref":"#/components/schemas/EvidenceDisplayPolicy"},"citation_valid":{"type":"boolean","title":"Citation Valid"},"is_primary":{"type":"boolean","title":"Is Primary"}},"additionalProperties":false,"type":"object","required":["evidence_id","source_type","provider_code","publisher","title","source_url","published_at","observed_at","display_policy","citation_valid","is_primary"],"title":"EventEvidence"},"EventType":{"type":"string","enum":["earnings","guidance","filing","management_language","price_move","macro","sector","other"],"title":"EventType"},"EvidenceDisplayPolicy":{"type":"string","enum":["public_excerpt","link_only","attribution_only","internal_only","unknown"],"title":"EvidenceDisplayPolicy"},"EvidenceRole":{"type":"string","enum":["support","counter"],"title":"EvidenceRole"},"ExampleCompanyThesisOut":{"properties":{"hidden":{"type":"boolean","title":"Hidden"},"selection_kind":{"type":"string","enum":["featured","latest"],"title":"Selection Kind","default":"latest"},"latest_update":{"anyOf":[{"$ref":"#/components/schemas/ExampleLatestUpdateOut"},{"type":"null"}]},"thesis_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Entity Id"},"living_event_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Living Event Id"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"},"recorded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recorded At"},"is_backfill":{"type":"boolean","title":"Is Backfill","default":false},"coverage":{"anyOf":[{"$ref":"#/components/schemas/ExampleCoverage"},{"type":"null"}]},"coverage_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage State"},"current":{"type":"boolean","title":"Current"},"current_until":{"type":"string","format":"date-time","title":"Current Until"},"ticker":{"type":"string","title":"Ticker"},"thesis_title":{"type":"string","title":"Thesis Title"},"thesis_statement":{"type":"string","title":"Thesis Statement"},"thesis_version":{"type":"integer","title":"Thesis Version"},"thesis_effect":{"type":"string","title":"Thesis Effect"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"event_occurred_at":{"type":"string","format":"date-time","title":"Event Occurred At"},"event_title":{"type":"string","title":"Event Title"},"event_summary":{"type":"string","title":"Event Summary"},"why_it_matters":{"type":"string","title":"Why It Matters"},"conclusion":{"type":"string","title":"Conclusion"},"uncertainty":{"type":"string","title":"Uncertainty"},"next_checkpoint":{"type":"string","title":"Next Checkpoint"},"factors":{"items":{"$ref":"#/components/schemas/ExampleFactorOut"},"type":"array","title":"Factors"},"evidence":{"items":{"$ref":"#/components/schemas/ExampleEvidenceOut"},"type":"array","title":"Evidence"}},"type":"object","required":["hidden","current","current_until","ticker","thesis_title","thesis_statement","thesis_version","thesis_effect","as_of","evaluated_at","event_occurred_at","event_title","event_summary","why_it_matters","conclusion","uncertainty","next_checkpoint","factors","evidence"],"title":"ExampleCompanyThesisOut"},"ExampleCoverage":{"properties":{"policy_version":{"type":"string","const":"living-example-coverage/v1","title":"Policy Version","default":"living-example-coverage/v1"},"primary":{"$ref":"#/components/schemas/ExampleCoverageDomain"},"live_news":{"$ref":"#/components/schemas/ExampleCoverageDomain"},"historical_news":{"$ref":"#/components/schemas/ExampleCoverageDomain"}},"additionalProperties":false,"type":"object","required":["primary","live_news","historical_news"],"title":"ExampleCoverage"},"ExampleCoverageDomain":{"properties":{"state":{"type":"string","enum":["pending","current","behind","budget_delayed","needs_attention","withdrawn","unavailable"],"title":"State"},"since":{"type":"string","format":"date-time","title":"Since"},"through":{"type":"string","format":"date-time","title":"Through"},"pending_count":{"type":"integer","minimum":0.0,"title":"Pending Count"},"held_count":{"type":"integer","minimum":0.0,"title":"Held Count"},"review_needed_count":{"type":"integer","minimum":0.0,"title":"Review Needed Count","default":0}},"additionalProperties":false,"type":"object","required":["state","since","through","pending_count","held_count"],"title":"ExampleCoverageDomain"},"ExampleEventCorrection":{"properties":{"original_event_id":{"type":"integer","title":"Original Event Id"},"reason":{"type":"string","title":"Reason"},"corrected_at":{"type":"string","format":"date-time","title":"Corrected At"}},"additionalProperties":false,"type":"object","required":["original_event_id","reason","corrected_at"],"title":"ExampleEventCorrection"},"ExampleEvidenceOut":{"properties":{"title":{"type":"string","title":"Title"},"publisher":{"type":"string","title":"Publisher"},"source_url":{"type":"string","title":"Source Url"},"published_at":{"type":"string","format":"date-time","title":"Published At"}},"type":"object","required":["title","publisher","source_url","published_at"],"title":"ExampleEvidenceOut"},"ExampleFactor":{"properties":{"factor_statement":{"type":"string","title":"Factor Statement"},"factor_kind":{"type":"string","enum":["claim","expectation","invalidation"],"title":"Factor Kind"},"effect":{"type":"string","enum":["strengthens","weakens","breaks","mixed","unrelated","uncertain"],"title":"Effect"},"reasoning":{"type":"string","title":"Reasoning"},"evidence_scope":{"anyOf":[{"type":"string","enum":["company","theme"]},{"type":"null"}],"title":"Evidence Scope"}},"additionalProperties":false,"type":"object","required":["factor_statement","factor_kind","effect","reasoning"],"title":"ExampleFactor"},"ExampleFactorOut":{"properties":{"factor_statement":{"type":"string","title":"Factor Statement"},"factor_kind":{"type":"string","title":"Factor Kind"},"effect":{"type":"string","title":"Effect"},"reasoning":{"type":"string","title":"Reasoning"}},"type":"object","required":["factor_statement","factor_kind","effect","reasoning"],"title":"ExampleFactorOut"},"ExampleInvestmentThemeOut":{"properties":{"hidden":{"type":"boolean","title":"Hidden"},"current":{"type":"boolean","title":"Current"},"current_until":{"type":"string","format":"date-time","title":"Current Until"},"theme_version":{"type":"integer","title":"Theme Version"},"theme_title":{"type":"string","title":"Theme Title"},"theme_statement":{"type":"string","title":"Theme Statement"},"conclusion":{"type":"string","title":"Conclusion"},"uncertainty":{"type":"string","title":"Uncertainty"},"next_checkpoint":{"type":"string","title":"Next Checkpoint"},"reviewed_at":{"type":"string","format":"date-time","title":"Reviewed At"},"companies":{"items":{"$ref":"#/components/schemas/ExampleThemeCompanyOut"},"type":"array","title":"Companies"}},"type":"object","required":["hidden","current","current_until","theme_version","theme_title","theme_statement","conclusion","uncertainty","next_checkpoint","reviewed_at","companies"],"title":"ExampleInvestmentThemeOut"},"ExampleLatestUpdateOut":{"properties":{"living_event_id":{"type":"integer","title":"Living Event Id"},"event_title":{"type":"string","title":"Event Title"},"thesis_effect":{"type":"string","title":"Thesis Effect"},"event_occurred_at":{"type":"string","format":"date-time","title":"Event Occurred At"}},"type":"object","required":["living_event_id","event_title","thesis_effect","event_occurred_at"],"title":"ExampleLatestUpdateOut","description":"The newest dated assessment, named whenever a featured case leads instead of it."},"ExampleReviewIn":{"properties":{"entity_id":{"type":"string","maxLength":160,"minLength":1,"title":"Entity Id"},"version":{"type":"integer","exclusiveMinimum":0.0,"title":"Version"},"through":{"type":"string","format":"date-time","title":"Through"}},"additionalProperties":false,"type":"object","required":["entity_id","version","through"],"title":"ExampleReviewIn"},"ExampleSource":{"properties":{"title":{"type":"string","title":"Title"},"publisher":{"type":"string","title":"Publisher"},"source_url":{"type":"string","title":"Source Url"},"published_at":{"type":"string","format":"date-time","title":"Published At"}},"additionalProperties":false,"type":"object","required":["title","publisher","source_url","published_at"],"title":"ExampleSource"},"ExampleThemeCompanyOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"company_effect":{"type":"string","title":"Company Effect"},"company_effect_rationale":{"type":"string","title":"Company Effect Rationale"},"evidence_relationship":{"type":"string","title":"Evidence Relationship"},"evidence_relationship_reasoning":{"type":"string","title":"Evidence Relationship Reasoning"},"thesis_title":{"type":"string","title":"Thesis Title"},"thesis_statement":{"type":"string","title":"Thesis Statement"},"thesis_effect":{"type":"string","title":"Thesis Effect"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"event_occurred_at":{"type":"string","format":"date-time","title":"Event Occurred At"},"event_title":{"type":"string","title":"Event Title"},"event_summary":{"type":"string","title":"Event Summary"},"evidence":{"items":{"$ref":"#/components/schemas/ExampleEvidenceOut"},"type":"array","title":"Evidence"}},"type":"object","required":["ticker","company_name","company_effect","company_effect_rationale","evidence_relationship","evidence_relationship_reasoning","thesis_title","thesis_statement","thesis_effect","as_of","evaluated_at","event_occurred_at","event_title","event_summary","evidence"],"title":"ExampleThemeCompanyOut"},"ExpectationsResearchOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"provider":{"type":"string","title":"Provider"},"provider_url":{"type":"string","title":"Provider Url"},"license_status":{"type":"string","enum":["enabled","licensing_required"],"title":"License Status"},"coverage":{"items":{"$ref":"#/components/schemas/ResearchCoverageOut"},"type":"array","title":"Coverage"},"consensus":{"items":{"$ref":"#/components/schemas/ConsensusEstimateOut"},"type":"array","title":"Consensus"},"earnings_history":{"items":{"$ref":"#/components/schemas/EarningsResultOut"},"type":"array","title":"Earnings History"},"earnings_calendar":{"items":{"$ref":"#/components/schemas/EarningsEventOut"},"type":"array","title":"Earnings Calendar"}},"type":"object","required":["ticker","provider","provider_url","license_status","coverage","consensus","earnings_history","earnings_calendar"],"title":"ExpectationsResearchOut"},"ExpectedRequest":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"expected_request_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Request Sha256"}},"additionalProperties":false,"type":"object","required":["expected_revision","expected_request_sha256"],"title":"ExpectedRequest"},"ExplainHistoryOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"days":{"type":"integer","title":"Days"},"answer":{"type":"string","title":"Answer"},"asked_at":{"type":"string","format":"date-time","title":"Asked At"}},"type":"object","required":["id","ticker","days","answer","asked_at"],"title":"ExplainHistoryOut"},"ExplainResponse":{"properties":{"ticker":{"type":"string","title":"Ticker"},"days":{"type":"integer","title":"Days"},"text":{"type":"string","title":"Text"}},"type":"object","required":["ticker","days","text"],"title":"ExplainResponse"},"FactorAdjudicationIn":{"properties":{"factor_id":{"type":"string","maxLength":160,"minLength":1,"title":"Factor Id"},"verdict":{"type":"string","enum":["supported","unsupported","unclear"],"title":"Verdict"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"evidence_mode":{"anyOf":[{"type":"string","enum":["direct","proxy","negative_disclosure","none"]},{"type":"null"}],"title":"Evidence Mode"},"evidence_none_reason":{"anyOf":[{"type":"string","enum":["irrelevant_packet","retrieval_miss","verified_corpus_null","not_publicly_testable"]},{"type":"null"}],"title":"Evidence None Reason"}},"additionalProperties":false,"type":"object","required":["factor_id","verdict"],"title":"FactorAdjudicationIn"},"FactorRevisionSuggestionIn":{"properties":{"factor_id":{"type":"string","maxLength":160,"minLength":1,"title":"Factor Id"},"statement":{"type":"string","maxLength":1000,"minLength":8,"title":"Statement"}},"additionalProperties":false,"type":"object","required":["factor_id","statement"],"title":"FactorRevisionSuggestionIn"},"FilingDiffOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"current_period":{"type":"string","title":"Current Period"},"prior_period":{"type":"string","title":"Prior Period"},"current_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Url"},"prior_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Url"},"summary":{"type":"string","title":"Summary"},"takeaway":{"type":"string","title":"Takeaway"},"summary_sections":{"items":{"$ref":"#/components/schemas/SummarySectionOut"},"type":"array","title":"Summary Sections","default":[]},"sections":{"items":{"$ref":"#/components/schemas/SectionDiffStat"},"type":"array","title":"Sections"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","ticker","current_period","prior_period","current_url","prior_url","summary","takeaway","sections","created_at"],"title":"FilingDiffOut"},"FilingDiffStatusOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"source_state":{"type":"string","enum":["ready","missing_prior_year","not_ingested"],"title":"Source State"},"current_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period"},"prior_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Period"},"current_source_recorded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Current Source Recorded At"},"prior_source_recorded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Prior Source Recorded At"},"comparison_state":{"type":"string","enum":["ready","not_generated"],"title":"Comparison State"},"comparison_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Comparison Created At"}},"type":"object","required":["ticker","source_state","comparison_state"],"title":"FilingDiffStatusOut"},"ForgotPasswordRequest":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ForgotPasswordRequest"},"GeneratorProvenanceIn":{"properties":{"kind":{"type":"string","enum":["human","model","tool"],"title":"Kind"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"version":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Version"},"model_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Model Id"}},"additionalProperties":false,"type":"object","required":["kind","name"],"title":"GeneratorProvenanceIn"},"GoogleLinkStart":{"properties":{"client":{"type":"string","enum":["web","mobile"],"title":"Client","default":"web"},"code_challenge":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},{"type":"null"}],"title":"Code Challenge"}},"additionalProperties":false,"type":"object","title":"GoogleLinkStart"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HistoricalEvent":{"properties":{"key":{"type":"string","title":"Key"},"event":{"$ref":"#/components/schemas/Event"}},"additionalProperties":false,"type":"object","required":["key","event"],"title":"HistoricalEvent"},"HistoricalReplayEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"assessment_status":{"type":"string","enum":["assessed","failed"],"title":"Assessment Status","default":"assessed"},"source_event_id":{"type":"integer","title":"Source Event Id"},"ticker":{"type":"string","title":"Ticker"},"provider_code":{"type":"string","enum":["sec_edgar","company_ir","earningscalls_dev"],"title":"Provider Code"},"source_kind":{"type":"string","enum":["filing","ir_presentation","earnings_call"],"title":"Source Kind"},"title":{"type":"string","title":"Title"},"evidence_excerpt":{"type":"string","title":"Evidence Excerpt"},"original_url":{"type":"string","title":"Original Url"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"ingested_at":{"type":"string","format":"date-time","title":"Ingested At"},"source_content_hash":{"type":"string","title":"Source Content Hash"},"source_snapshot_basis":{"anyOf":[{"type":"string","enum":["evaluation_input","legacy_captured_before_repair"]},{"type":"null"}],"title":"Source Snapshot Basis"},"thesis_text":{"type":"string","title":"Thesis Text"},"thesis_updated_at":{"type":"string","format":"date-time","title":"Thesis Updated At"},"relevant":{"type":"boolean","title":"Relevant"},"relationship":{"type":"string","enum":["support","contradict","neutral"],"title":"Relationship"},"materiality":{"type":"string","enum":["material","immaterial","uncertain","unknown"],"title":"Materiality"},"citation_valid":{"type":"boolean","title":"Citation Valid"},"directness":{"type":"string","enum":["direct","indirect","none","unknown"],"title":"Directness"},"source_quality":{"type":"string","enum":["primary","reputable_secondary","weak","invalid","unknown"],"title":"Source Quality"},"bridge_valid":{"type":"boolean","title":"Bridge Valid"},"thesis_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Factor"},"evidence_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Factor"},"causal_bridge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Bridge"},"thesis_component_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thesis Component Id"},"thesis_component_kind":{"anyOf":[{"type":"string","enum":["claim","expectation","invalidation"]},{"type":"null"}],"title":"Thesis Component Kind"},"thesis_component_statement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Component Statement"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"evidence_source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Evidence Source Segment Id"},"evidence_quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Quote"},"evidence_speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Speaker Name"},"evidence_section":{"anyOf":[{"type":"string","enum":["prepared_remarks","questions_and_answers","other","unknown"]},{"type":"null"}],"title":"Evidence Section"},"evidence_source_locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Source Locator"},"thesis_factor_kind":{"type":"string","enum":["claim","expectation","invalidation","narrative","unknown"],"title":"Thesis Factor Kind","default":"unknown"},"thesis_impact":{"type":"string","enum":["strengthened","weakened","broken","uncertain"],"title":"Thesis Impact","default":"uncertain"},"reasoning":{"type":"string","title":"Reasoning"},"evaluator_model":{"type":"string","title":"Evaluator Model"},"evaluator_version":{"type":"string","title":"Evaluator Version"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"feedback_labels":{"items":{"type":"string","enum":["useful","not_useful","relevant","not_relevant","already_known","changed_view","wrong_relationship","wrong_citation"]},"type":"array","title":"Feedback Labels"},"is_historical_replay":{"type":"boolean","const":true,"title":"Is Historical Replay","default":true},"observation_status":{"type":"string","enum":["witnessed","reconstructed"],"title":"Observation Status","default":"reconstructed"}},"type":"object","required":["id","source_event_id","ticker","provider_code","source_kind","title","evidence_excerpt","original_url","effective_at","published_at","observed_at","ingested_at","source_content_hash","thesis_text","thesis_updated_at","relevant","relationship","materiality","citation_valid","directness","source_quality","bridge_valid","thesis_factor","evidence_factor","causal_bridge","reasoning","evaluator_model","evaluator_version","evaluated_at"],"title":"HistoricalReplayEventOut","description":"A dated source event evaluated against the user's current thesis.\n\nThis is intentionally distinct from AlertOut: it has no delivery status and no\nclaim that the thesis existed when the event occurred."},"HistoricalReplayOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"thesis_text":{"type":"string","title":"Thesis Text"},"thesis_updated_at":{"type":"string","format":"date-time","title":"Thesis Updated At"},"window_days":{"type":"integer","enum":[90,365],"title":"Window Days"},"window_start":{"type":"string","format":"date-time","title":"Window Start"},"transcript_window_start":{"type":"string","format":"date-time","title":"Transcript Window Start"},"candidate_count":{"type":"integer","title":"Candidate Count"},"newly_evaluated_count":{"type":"integer","title":"Newly Evaluated Count","default":0},"warmup":{"$ref":"#/components/schemas/ReplayWarmupOut"},"evaluation_job":{"anyOf":[{"$ref":"#/components/schemas/ReplayEvaluationJobOut"},{"type":"null"}]},"track_record":{"anyOf":[{"$ref":"#/components/schemas/TrackRecordBoundaryOut"},{"type":"null"}]},"replay_reaches_asserted_start":{"type":"boolean","title":"Replay Reaches Asserted Start","default":true},"events":{"items":{"$ref":"#/components/schemas/HistoricalReplayEventOut"},"type":"array","title":"Events"}},"type":"object","required":["ticker","thesis_text","thesis_updated_at","window_days","window_start","transcript_window_start","candidate_count","warmup","events"],"title":"HistoricalReplayOut"},"Import":{"properties":{"schema_version":{"type":"string","pattern":"^outreach-workspace/v1$","title":"Schema Version"},"records":{"items":{"$ref":"#/components/schemas/Save"},"type":"array","maxItems":100,"title":"Records"},"observations":{"items":{"$ref":"#/components/schemas/HistoricalEvent"},"type":"array","maxItems":200,"title":"Observations"}},"additionalProperties":false,"type":"object","required":["schema_version","records"],"title":"Import"},"InsightConfidence":{"type":"string","enum":["low","medium","high"],"title":"InsightConfidence"},"InsightState":{"type":"string","enum":["current","corrected","pending_correction","superseded","withdrawn"],"title":"InsightState"},"IntelligenceComputationYieldMetricsOut":{"properties":{"operation":{"type":"string","enum":["relevance","call_drift_analysis","historical_replay","call_drift_impact","research_result_impact"],"title":"Operation"},"label":{"type":"string","title":"Label"},"cost_scope":{"type":"string","enum":["shared","private"],"title":"Cost Scope"},"identity_coverage":{"type":"string","enum":["complete","partial","unavailable"],"title":"Identity Coverage"},"computed_artifacts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Computed Artifacts"},"terminal_computations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Terminal Computations"},"finding_computations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Finding Computations"},"artifacts_without_findings":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Artifacts Without Findings"},"computations_per_artifact":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Computations Per Artifact"},"finding_computation_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Finding Computation Rate Pct"},"zero_finding_artifact_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Zero Finding Artifact Rate Pct"},"finding_definition":{"type":"string","title":"Finding Definition"},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"}},"type":"object","required":["operation","label","cost_scope","identity_coverage","computed_artifacts","terminal_computations","finding_computations","artifacts_without_findings","computations_per_artifact","finding_computation_rate_pct","zero_finding_artifact_rate_pct","finding_definition","limitation"],"title":"IntelligenceComputationYieldMetricsOut"},"IntelligenceReuseChannelMetricsOut":{"properties":{"channel":{"type":"string","enum":["monitoring_alert","theme_finding","historical_replay","call_drift_impact","research_result_impact","public_insight_candidate"],"title":"Channel"},"label":{"type":"string","title":"Label"},"output_count":{"type":"integer","title":"Output Count"},"distinct_reused_artifacts":{"type":"integer","title":"Distinct Reused Artifacts"},"outputs_per_reused_artifact":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Outputs Per Reused Artifact"},"engaged_output_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Engaged Output Count"},"engagement_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Engagement Label"}},"type":"object","required":["channel","label","output_count","distinct_reused_artifacts","outputs_per_reused_artifact","engaged_output_count","engagement_label"],"title":"IntelligenceReuseChannelMetricsOut"},"InterviewAmbiguityOut":{"properties":{"ambiguity_id":{"type":"string","title":"Ambiguity Id"},"question":{"type":"string","title":"Question"}},"type":"object","required":["ambiguity_id","question"],"title":"InterviewAmbiguityOut"},"InterviewApprovalIn":{"properties":{"narrative":{"type":"string","maxLength":20000,"minLength":10,"title":"Narrative"},"statements":{"items":{"$ref":"#/components/schemas/ApprovedStatementIn"},"type":"array","maxItems":24,"title":"Statements","default":[]}},"additionalProperties":false,"type":"object","required":["narrative"],"title":"InterviewApprovalIn"},"InterviewApprovalOut":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"watchlist_id":{"type":"integer","title":"Watchlist Id"},"ticker":{"type":"string","title":"Ticker"},"thesis_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thesis Version Number"},"is_active":{"type":"boolean","title":"Is Active"},"capacity_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capacity Reason"},"component_count":{"type":"integer","title":"Component Count"}},"type":"object","required":["session_id","watchlist_id","ticker","thesis_version_number","is_active","capacity_reason","component_count"],"title":"InterviewApprovalOut"},"InterviewCapabilityOut":{"properties":{"available":{"type":"boolean","title":"Available"},"voice_available":{"type":"boolean","title":"Voice Available","default":false},"allowance":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Allowance"},"current_session":{"anyOf":[{"$ref":"#/components/schemas/InterviewSessionOut"},{"type":"null"}]}},"type":"object","required":["available"],"title":"InterviewCapabilityOut"},"InterviewMessageIn":{"properties":{"content":{"type":"string","maxLength":4000,"minLength":1,"title":"Content"},"turn_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Turn Key"}},"additionalProperties":false,"type":"object","required":["content"],"title":"InterviewMessageIn"},"InterviewRetargetIn":{"properties":{"ticker":{"type":"string","maxLength":10,"minLength":1,"title":"Ticker"}},"additionalProperties":false,"type":"object","required":["ticker"],"title":"InterviewRetargetIn"},"InterviewSessionOut":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"watchlist_id":{"type":"integer","title":"Watchlist Id"},"ticker":{"type":"string","title":"Ticker"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"status":{"type":"string","title":"Status"},"model_turns_used":{"type":"integer","title":"Model Turns Used"},"max_model_turns":{"type":"integer","title":"Max Model Turns"},"summary":{"type":"string","title":"Summary"},"next_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Question"},"ready_for_review":{"type":"boolean","title":"Ready For Review"},"statements":{"items":{"$ref":"#/components/schemas/InterviewStatementOut"},"type":"array","title":"Statements"},"ambiguities":{"items":{"$ref":"#/components/schemas/InterviewAmbiguityOut"},"type":"array","title":"Ambiguities"},"turns":{"items":{"$ref":"#/components/schemas/InterviewTurnOut"},"type":"array","title":"Turns","default":[]},"target_correction":{"anyOf":[{"$ref":"#/components/schemas/InterviewTargetCorrectionOut"},{"type":"null"}]},"last_rejection_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Rejection Code"}},"type":"object","required":["session_id","watchlist_id","ticker","company_name","status","model_turns_used","max_model_turns","summary","next_question","ready_for_review","statements","ambiguities"],"title":"InterviewSessionOut"},"InterviewStartIn":{"properties":{"watchlist_id":{"type":"integer","title":"Watchlist Id"},"ticker":{"type":"string","maxLength":10,"minLength":1,"title":"Ticker"}},"additionalProperties":false,"type":"object","required":["watchlist_id","ticker"],"title":"InterviewStartIn"},"InterviewStatementOut":{"properties":{"statement_id":{"type":"string","title":"Statement Id"},"kind":{"type":"string","enum":["narrative","claim","expectation","invalidation"],"title":"Kind"},"text":{"type":"string","title":"Text"},"is_paraphrase":{"type":"boolean","title":"Is Paraphrase"},"quotes":{"items":{"type":"string"},"type":"array","title":"Quotes"}},"type":"object","required":["statement_id","kind","text","is_paraphrase","quotes"],"title":"InterviewStatementOut"},"InterviewTargetCorrectionOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"quote":{"type":"string","title":"Quote"},"on_watchlist":{"type":"boolean","title":"On Watchlist"},"has_saved_reason":{"type":"boolean","title":"Has Saved Reason"}},"type":"object","required":["ticker","company_name","quote","on_watchlist","has_saved_reason"],"title":"InterviewTargetCorrectionOut"},"InterviewTurnOut":{"properties":{"role":{"type":"string","enum":["user","assistant"],"title":"Role"},"text":{"type":"string","title":"Text"}},"type":"object","required":["role","text"],"title":"InterviewTurnOut","description":"One stored message, so a resumed interview can show what was already said.\n\nReturned flat rather than as question/answer pairs. The opening question is client\ncopy -- no assistant message precedes the first answer -- and a refused turn keeps\nthe investor's message with no reply after it. Pairing is the panel's job; the\nserver does not invent an assistant question it never asked."},"InvestmentThemeEvidenceOut":{"properties":{"schema_version":{"type":"string","const":"investment-theme-evidence-v1","title":"Schema Version","default":"investment-theme-evidence-v1"},"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"shared_thesis_version_id":{"type":"integer","title":"Shared Thesis Version Id"},"shared_thesis_version_number":{"type":"integer","title":"Shared Thesis Version Number"},"title":{"type":"string","title":"Title"},"version_effective_at":{"type":"string","format":"date-time","title":"Version Effective At"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"coverage_state":{"type":"string","enum":["complete","processing","delayed","paused","partial","not_applicable"],"title":"Coverage State"},"findings":{"items":{"$ref":"#/components/schemas/SharedThesisFindingOut"},"type":"array","title":"Findings"},"truncated":{"type":"boolean","title":"Truncated","default":false},"earlier_version_finding_count":{"type":"integer","title":"Earlier Version Finding Count","default":0},"unbound_legacy_finding_count":{"type":"integer","title":"Unbound Legacy Finding Count","default":0},"read_only":{"type":"boolean","const":true,"title":"Read Only","default":true},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0}},"type":"object","required":["shared_thesis_id","shared_thesis_version_id","shared_thesis_version_number","title","version_effective_at","as_of","coverage_state"],"title":"InvestmentThemeEvidenceOut","description":"Stored-only first-use proof for one exact immutable theme version."},"InvestmentThemeEvidenceViewProgressOut":{"properties":{"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"shared_thesis_version_id":{"type":"integer","title":"Shared Thesis Version Id"},"shared_thesis_version_number":{"type":"integer","title":"Shared Thesis Version Number"},"viewed_at":{"type":"string","format":"date-time","title":"Viewed At"}},"type":"object","required":["shared_thesis_id","shared_thesis_version_id","shared_thesis_version_number","viewed_at"],"title":"InvestmentThemeEvidenceViewProgressOut"},"InvestorPresentationOut":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"presentation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Presentation Date"},"original_url":{"type":"string","title":"Original Url"},"source_page_url":{"type":"string","title":"Source Page Url"},"version_number":{"type":"integer","title":"Version Number"},"content_hash":{"type":"string","title":"Content Hash"},"page_count":{"type":"integer","title":"Page Count"},"qa_status":{"type":"string","enum":["passed","warning","failed"],"title":"Qa Status"},"qa_issues":{"items":{"type":"string"},"type":"array","title":"Qa Issues"},"discovered_at":{"type":"string","format":"date-time","title":"Discovered At"},"superseded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Superseded At"},"pages":{"items":{"$ref":"#/components/schemas/PresentationPageOut"},"type":"array","title":"Pages"}},"type":"object","required":["id","title","presentation_date","original_url","source_page_url","version_number","content_hash","page_count","qa_status","qa_issues","discovered_at","superseded_at","pages"],"title":"InvestorPresentationOut"},"InvestorPresentationsResearchOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"coverage_status":{"type":"string","enum":["ready","stale","unavailable","failed","not_refreshed","not_configured"],"title":"Coverage Status"},"coverage_detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Detail"},"source_page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Page Url"},"last_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempted At"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"presentations":{"items":{"$ref":"#/components/schemas/InvestorPresentationOut"},"type":"array","title":"Presentations"}},"type":"object","required":["ticker","coverage_status","coverage_detail","source_page_url","last_attempted_at","last_success_at","presentations"],"title":"InvestorPresentationsResearchOut"},"IssueListOut":{"properties":{"items":{"items":{"$ref":"#/components/schemas/IssueSummaryOut"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"IssueListOut"},"IssueOut":{"properties":{"sha256":{"type":"string","title":"Sha256"},"subject":{"type":"string","title":"Subject"},"issue_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Date"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"},"html":{"type":"string","title":"Html"},"text":{"type":"string","title":"Text"}},"type":"object","required":["sha256","subject","sent_at","html","text"],"title":"IssueOut"},"IssueSummaryOut":{"properties":{"sha256":{"type":"string","title":"Sha256"},"subject":{"type":"string","title":"Subject"},"issue_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Date"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"}},"type":"object","required":["sha256","subject","sent_at"],"title":"IssueSummaryOut"},"LandingPageViewIn":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"}},"type":"object","required":["session_id"],"title":"LandingPageViewIn","description":"Ephemeral browser-session identifier; only its server HMAC is retained."},"LandingReasonEvidence":{"properties":{"evidence_id":{"type":"string","maxLength":160,"minLength":1,"title":"Evidence Id"},"roles":{"items":{"type":"string","enum":["support","counter"]},"type":"array","maxItems":2,"minItems":1,"title":"Roles"},"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title"},"publisher":{"type":"string","maxLength":160,"minLength":1,"title":"Publisher"},"source_url":{"type":"string","maxLength":2000,"minLength":12,"title":"Source Url"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"excerpt":{"anyOf":[{"type":"string","maxLength":700},{"type":"null"}],"title":"Excerpt"},"display_policy":{"type":"string","enum":["public_excerpt","link_only","attribution_only"],"title":"Display Policy"}},"additionalProperties":false,"type":"object","required":["evidence_id","roles","title","publisher","source_url","published_at","display_policy"],"title":"LandingReasonEvidence"},"LandingReasonPreviewActivationOut":{"properties":{"started_sessions":{"type":"integer","title":"Started Sessions"},"completed_sessions":{"type":"integer","title":"Completed Sessions"},"fallback_sessions":{"type":"integer","title":"Fallback Sessions"},"cta_click_sessions":{"type":"integer","title":"Cta Click Sessions"},"attributed_signups":{"type":"integer","title":"Attributed Signups"},"completion_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Completion Rate Pct"},"fallback_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fallback Rate Pct"},"result_cta_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Result Cta Rate Pct"},"attributed_signup_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Attributed Signup Rate Pct"}},"type":"object","required":["started_sessions","completed_sessions","fallback_sessions","cta_click_sessions","attributed_signups","completion_rate_pct","fallback_rate_pct","result_cta_rate_pct","attributed_signup_rate_pct"],"title":"LandingReasonPreviewActivationOut"},"LandingReasonPreviewEventIn":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"event_name":{"type":"string","enum":["landing_reason_preview_started","landing_reason_preview_completed","landing_reason_preview_fallback_shown","landing_reason_preview_cta_clicked"],"title":"Event Name"},"variant":{"anyOf":[{"type":"string","enum":["record","replay","scope","control"]},{"type":"null"}],"title":"Variant"},"failure_code":{"anyOf":[{"type":"string","enum":["verification_not_ready","verification_failed","verification_expired","verification_timeout","verification_unsupported","request_forbidden","request_rate_limited","request_unavailable","network_error","artifact_mismatch","unexpected"]},{"type":"null"}],"title":"Failure Code"}},"additionalProperties":false,"type":"object","required":["session_id","event_name"],"title":"LandingReasonPreviewEventIn","description":"Closed, content-free public activation event; arbitrary fields are rejected."},"LandingReasonPreviewRequest":{"properties":{"session_id":{"type":"string","maxLength":36,"minLength":36,"pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","title":"Session Id"},"ticker":{"type":"string","maxLength":10,"minLength":1,"title":"Ticker"},"reason":{"type":"string","maxLength":280,"minLength":10,"title":"Reason"},"website":{"type":"string","maxLength":0,"title":"Website","default":""},"turnstile_token":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Turnstile Token"}},"additionalProperties":false,"type":"object","required":["session_id","ticker","reason"],"title":"LandingReasonPreviewRequest"},"LandingReasonPreviewResult":{"properties":{"continuation_receipt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Continuation Receipt"},"artifact_id":{"type":"string","title":"Artifact Id"},"candidate_ref":{"$ref":"#/components/schemas/VersionedRef"},"ticker":{"type":"string","title":"Ticker"},"outcome":{"type":"string","enum":["supports","weakens","uncertain"],"title":"Outcome"},"explanation":{"type":"string","title":"Explanation"},"evidence":{"items":{"$ref":"#/components/schemas/LandingReasonEvidence"},"type":"array","title":"Evidence"},"remains_unproven":{"type":"string","title":"Remains Unproven"},"next_checkpoint":{"type":"string","title":"Next Checkpoint"}},"additionalProperties":false,"type":"object","required":["artifact_id","candidate_ref","ticker","outcome","explanation","evidence","remains_unproven","next_checkpoint"],"title":"LandingReasonPreviewResult"},"LaunchFunnelStepOut":{"properties":{"event_name":{"type":"string","title":"Event Name"},"label":{"type":"string","title":"Label"},"unique_users":{"type":"integer","title":"Unique Users"},"conversion_from_signup_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conversion From Signup Pct"}},"type":"object","required":["event_name","label","unique_users","conversion_from_signup_pct"],"title":"LaunchFunnelStepOut"},"LaunchMetricsOut":{"properties":{"value_progress":{"$ref":"#/components/schemas/ValueProgressOut"},"account_economics":{"$ref":"#/components/schemas/AccountEconomicsOut"},"window_days":{"type":"integer","title":"Window Days"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"api_database_pool":{"$ref":"#/components/schemas/RuntimePoolMetricsOut"},"funnel":{"items":{"$ref":"#/components/schemas/LaunchFunnelStepOut"},"type":"array","title":"Funnel"},"signup_attribution":{"items":{"$ref":"#/components/schemas/SignupAttributionOut"},"type":"array","title":"Signup Attribution"},"landing_unique_sessions":{"type":"integer","title":"Landing Unique Sessions"},"landing_attributed_signups":{"type":"integer","title":"Landing Attributed Signups"},"landing_signup_conversion_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Landing Signup Conversion Pct"},"landing_reason_preview":{"$ref":"#/components/schemas/LandingReasonPreviewActivationOut"},"public_acquisition":{"items":{"$ref":"#/components/schemas/PublicAcquisitionFunnelOut"},"type":"array","title":"Public Acquisition"},"public_acquisition_aggregate":{"$ref":"#/components/schemas/PublicAcquisitionFunnelOut"},"direct_acquisition":{"$ref":"#/components/schemas/DirectAcquisitionFunnelOut"},"excluded_product_metric_accounts":{"type":"integer","title":"Excluded Product Metric Accounts"},"active_theses":{"type":"integer","title":"Active Theses"},"free_active_theses":{"type":"integer","title":"Free Active Theses"},"pro_active_theses":{"type":"integer","title":"Pro Active Theses"},"unique_monitored_canonical_companies":{"type":"integer","title":"Unique Monitored Canonical Companies"},"active_user_company_relationships":{"type":"integer","title":"Active User Company Relationships"},"unresolved_active_user_company_relationships":{"type":"integer","title":"Unresolved Active User Company Relationships"},"active_monitoring_contexts":{"type":"integer","title":"Active Monitoring Contexts"},"canonical_company_reuse_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Canonical Company Reuse Ratio"},"user_company_relationships_per_canonical_company":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"User Company Relationships Per Canonical Company"},"active_paid_users":{"type":"integer","title":"Active Paid Users"},"cited_baselines_generated":{"type":"integer","title":"Cited Baselines Generated"},"thesis_timeline_views":{"type":"integer","title":"Thesis Timeline Views"},"thesis_timeline_marker_inspections":{"type":"integer","title":"Thesis Timeline Marker Inspections"},"thesis_timeline_source_opens":{"type":"integer","title":"Thesis Timeline Source Opens"},"historical_replay_runs":{"type":"integer","title":"Historical Replay Runs"},"historical_replay_views":{"type":"integer","title":"Historical Replay Views"},"historical_replay_ready_users":{"type":"integer","title":"Historical Replay Ready Users"},"historical_replay_ready_median_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Historical Replay Ready Median Seconds"},"historical_replay_demo_views":{"type":"integer","title":"Historical Replay Demo Views"},"historical_replay_warmup_failure_views":{"type":"integer","title":"Historical Replay Warmup Failure Views"},"historical_replay_evidence_inspections":{"type":"integer","title":"Historical Replay Evidence Inspections"},"historical_replay_source_opens":{"type":"integer","title":"Historical Replay Source Opens"},"historical_replay_feedback_submissions":{"type":"integer","title":"Historical Replay Feedback Submissions"},"historical_replay_feedback_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Historical Replay Feedback Rate Pct"},"historical_replay_model_events":{"type":"integer","title":"Historical Replay Model Events"},"historical_replay_estimated_cost_usd":{"type":"number","title":"Historical Replay Estimated Cost Usd"},"replay_evaluation_jobs_pending":{"type":"integer","title":"Replay Evaluation Jobs Pending"},"replay_evaluation_jobs_running":{"type":"integer","title":"Replay Evaluation Jobs Running"},"replay_evaluation_jobs_complete":{"type":"integer","title":"Replay Evaluation Jobs Complete"},"replay_evaluation_jobs_failed":{"type":"integer","title":"Replay Evaluation Jobs Failed"},"replay_evaluation_job_median_duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replay Evaluation Job Median Duration Seconds"},"company_state_views":{"type":"integer","title":"Company State Views"},"thesis_desk_artifact_views":{"type":"integer","title":"Thesis Desk Artifact Views"},"thesis_desk_artifact_users":{"type":"integer","title":"Thesis Desk Artifact Users"},"thesis_desk_source_inspections":{"type":"integer","title":"Thesis Desk Source Inspections"},"thesis_desk_source_opens":{"type":"integer","title":"Thesis Desk Source Opens"},"thesis_desk_workspace_opens":{"type":"integer","title":"Thesis Desk Workspace Opens"},"thesis_desk_request_refusals":{"type":"integer","title":"Thesis Desk Request Refusals"},"thesis_desk_revision_proposal_views":{"type":"integer","title":"Thesis Desk Revision Proposal Views"},"company_state_feedback_submissions":{"type":"integer","title":"Company State Feedback Submissions"},"company_state_feedback_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Company State Feedback Rate Pct"},"company_state_jobs_pending":{"type":"integer","title":"Company State Jobs Pending"},"company_state_jobs_running":{"type":"integer","title":"Company State Jobs Running"},"company_state_jobs_complete":{"type":"integer","title":"Company State Jobs Complete"},"company_state_jobs_failed":{"type":"integer","title":"Company State Jobs Failed"},"company_state_job_median_duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Company State Job Median Duration Seconds"},"task_queue_metrics_available":{"type":"boolean","title":"Task Queue Metrics Available"},"task_queues":{"items":{"$ref":"#/components/schemas/TaskQueueMetricsOut"},"type":"array","title":"Task Queues"},"replay_warmups_pending":{"type":"integer","title":"Replay Warmups Pending"},"replay_warmups_running":{"type":"integer","title":"Replay Warmups Running"},"replay_warmups_complete":{"type":"integer","title":"Replay Warmups Complete"},"replay_warmups_partial":{"type":"integer","title":"Replay Warmups Partial"},"replay_warmups_failed":{"type":"integer","title":"Replay Warmups Failed"},"replay_warmup_median_duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replay Warmup Median Duration Seconds"},"alerts_generated":{"type":"integer","title":"Alerts Generated"},"alerts_last_7_days":{"type":"integer","title":"Alerts Last 7 Days"},"alerts_per_active_thesis":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alerts Per Active Thesis"},"alert_context_quality":{"items":{"$ref":"#/components/schemas/AlertContextQualityOut"},"type":"array","title":"Alert Context Quality"},"digest_deliveries_submitted":{"type":"integer","title":"Digest Deliveries Submitted"},"digest_deliveries_delivered":{"type":"integer","title":"Digest Deliveries Delivered"},"digest_deliveries_delayed":{"type":"integer","title":"Digest Deliveries Delayed"},"digest_deliveries_failed":{"type":"integer","title":"Digest Deliveries Failed"},"digest_deliveries_bounced":{"type":"integer","title":"Digest Deliveries Bounced"},"digest_deliveries_complained":{"type":"integer","title":"Digest Deliveries Complained"},"digest_deliveries_suppressed":{"type":"integer","title":"Digest Deliveries Suppressed"},"digest_delivery_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Digest Delivery Rate Pct"},"digest_deliveries_opened":{"type":"integer","title":"Digest Deliveries Opened"},"digest_open_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Digest Open Rate Pct"},"digest_deliveries_clicked":{"type":"integer","title":"Digest Deliveries Clicked"},"digest_click_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Digest Click Rate Pct"},"last_digest_opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Digest Opened At"},"digest_cta_opens":{"type":"integer","title":"Digest Cta Opens"},"digest_cta_unique_deliveries":{"type":"integer","title":"Digest Cta Unique Deliveries"},"digest_cta_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Digest Cta Rate Pct"},"digest_feedback_unique_deliveries":{"type":"integer","title":"Digest Feedback Unique Deliveries"},"digest_feedback_conversion_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Digest Feedback Conversion Pct"},"currently_suppressed_recipients":{"type":"integer","title":"Currently Suppressed Recipients"},"last_delivery_webhook_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Delivery Webhook At"},"feedback_submissions":{"type":"integer","title":"Feedback Submissions"},"feedback_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Feedback Rate Pct"},"model_events":{"type":"integer","title":"Model Events"},"unpriced_model_events":{"type":"integer","title":"Unpriced Model Events"},"model_input_tokens":{"type":"integer","title":"Model Input Tokens"},"model_output_tokens":{"type":"integer","title":"Model Output Tokens"},"estimated_model_cost_usd":{"type":"number","title":"Estimated Model Cost Usd"},"shared_embedding_model_events":{"type":"integer","title":"Shared Embedding Model Events"},"shared_embedding_unpriced_model_events":{"type":"integer","title":"Shared Embedding Unpriced Model Events"},"shared_embedding_estimated_model_cost_usd":{"type":"number","title":"Shared Embedding Estimated Model Cost Usd"},"shared_analysis_model_events":{"type":"integer","title":"Shared Analysis Model Events"},"shared_analysis_unpriced_model_events":{"type":"integer","title":"Shared Analysis Unpriced Model Events"},"shared_analysis_estimated_model_cost_usd":{"type":"number","title":"Shared Analysis Estimated Model Cost Usd"},"shared_company_intelligence_estimated_model_cost_usd":{"type":"number","title":"Shared Company Intelligence Estimated Model Cost Usd"},"shared_company_intelligence_estimated_model_cost_per_canonical_company_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shared Company Intelligence Estimated Model Cost Per Canonical Company Usd"},"private_evaluation_model_events":{"type":"integer","title":"Private Evaluation Model Events"},"private_evaluation_unpriced_model_events":{"type":"integer","title":"Private Evaluation Unpriced Model Events"},"private_evaluation_estimated_model_cost_usd":{"type":"number","title":"Private Evaluation Estimated Model Cost Usd"},"private_evaluation_outcome_attributed_model_events":{"type":"integer","title":"Private Evaluation Outcome Attributed Model Events"},"private_evaluation_related_model_events":{"type":"integer","title":"Private Evaluation Related Model Events"},"private_evaluation_unrelated_model_events":{"type":"integer","title":"Private Evaluation Unrelated Model Events"},"private_evaluation_abstained_model_events":{"type":"integer","title":"Private Evaluation Abstained Model Events"},"private_evaluation_outcome_attribution_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Private Evaluation Outcome Attribution Rate Pct"},"private_evaluation_unrelated_model_event_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Private Evaluation Unrelated Model Event Share Pct"},"private_evaluation_unrelated_estimated_model_cost_usd":{"type":"number","title":"Private Evaluation Unrelated Estimated Model Cost Usd"},"private_evaluation_unrelated_estimated_model_cost_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Private Evaluation Unrelated Estimated Model Cost Share Pct"},"private_evaluation_estimated_model_cost_per_user_company_relationship_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Private Evaluation Estimated Model Cost Per User Company Relationship Usd"},"private_evaluation_estimated_model_cost_per_monitoring_context_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Private Evaluation Estimated Model Cost Per Monitoring Context Usd"},"private_evaluation_backfill_model_events":{"type":"integer","title":"Private Evaluation Backfill Model Events"},"private_evaluation_backfill_unpriced_model_events":{"type":"integer","title":"Private Evaluation Backfill Unpriced Model Events"},"private_evaluation_backfill_estimated_model_cost_usd":{"type":"number","title":"Private Evaluation Backfill Estimated Model Cost Usd"},"private_evaluation_operations":{"items":{"$ref":"#/components/schemas/PrivateEvaluationOperationMetricsOut"},"type":"array","title":"Private Evaluation Operations"},"attributable_downstream_outputs":{"type":"integer","title":"Attributable Downstream Outputs"},"distinct_reused_intelligence_artifacts":{"type":"integer","title":"Distinct Reused Intelligence Artifacts"},"attributable_outputs_per_reused_intelligence_artifact":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Attributable Outputs Per Reused Intelligence Artifact"},"intelligence_reuse_channels":{"items":{"$ref":"#/components/schemas/IntelligenceReuseChannelMetricsOut"},"type":"array","title":"Intelligence Reuse Channels"},"intelligence_computation_yield":{"items":{"$ref":"#/components/schemas/IntelligenceComputationYieldMetricsOut"},"type":"array","title":"Intelligence Computation Yield"},"other_model_events":{"type":"integer","title":"Other Model Events"},"other_unpriced_model_events":{"type":"integer","title":"Other Unpriced Model Events"},"other_estimated_model_cost_usd":{"type":"number","title":"Other Estimated Model Cost Usd"},"estimated_model_cost_per_active_paid_user_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Model Cost Per Active Paid User Usd"},"estimated_cost_per_active_thesis_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Cost Per Active Thesis Usd"},"estimated_cost_per_model_event_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Cost Per Model Event Usd"}},"type":"object","required":["value_progress","account_economics","window_days","generated_at","api_database_pool","funnel","signup_attribution","landing_unique_sessions","landing_attributed_signups","landing_signup_conversion_pct","landing_reason_preview","public_acquisition","public_acquisition_aggregate","direct_acquisition","excluded_product_metric_accounts","active_theses","free_active_theses","pro_active_theses","unique_monitored_canonical_companies","active_user_company_relationships","unresolved_active_user_company_relationships","active_monitoring_contexts","canonical_company_reuse_ratio","user_company_relationships_per_canonical_company","active_paid_users","cited_baselines_generated","thesis_timeline_views","thesis_timeline_marker_inspections","thesis_timeline_source_opens","historical_replay_runs","historical_replay_views","historical_replay_ready_users","historical_replay_ready_median_seconds","historical_replay_demo_views","historical_replay_warmup_failure_views","historical_replay_evidence_inspections","historical_replay_source_opens","historical_replay_feedback_submissions","historical_replay_feedback_rate_pct","historical_replay_model_events","historical_replay_estimated_cost_usd","replay_evaluation_jobs_pending","replay_evaluation_jobs_running","replay_evaluation_jobs_complete","replay_evaluation_jobs_failed","replay_evaluation_job_median_duration_seconds","company_state_views","thesis_desk_artifact_views","thesis_desk_artifact_users","thesis_desk_source_inspections","thesis_desk_source_opens","thesis_desk_workspace_opens","thesis_desk_request_refusals","thesis_desk_revision_proposal_views","company_state_feedback_submissions","company_state_feedback_rate_pct","company_state_jobs_pending","company_state_jobs_running","company_state_jobs_complete","company_state_jobs_failed","company_state_job_median_duration_seconds","task_queue_metrics_available","task_queues","replay_warmups_pending","replay_warmups_running","replay_warmups_complete","replay_warmups_partial","replay_warmups_failed","replay_warmup_median_duration_seconds","alerts_generated","alerts_last_7_days","alerts_per_active_thesis","alert_context_quality","digest_deliveries_submitted","digest_deliveries_delivered","digest_deliveries_delayed","digest_deliveries_failed","digest_deliveries_bounced","digest_deliveries_complained","digest_deliveries_suppressed","digest_delivery_rate_pct","digest_deliveries_opened","digest_open_rate_pct","digest_deliveries_clicked","digest_click_rate_pct","last_digest_opened_at","digest_cta_opens","digest_cta_unique_deliveries","digest_cta_rate_pct","digest_feedback_unique_deliveries","digest_feedback_conversion_pct","currently_suppressed_recipients","last_delivery_webhook_at","feedback_submissions","feedback_rate_pct","model_events","unpriced_model_events","model_input_tokens","model_output_tokens","estimated_model_cost_usd","shared_embedding_model_events","shared_embedding_unpriced_model_events","shared_embedding_estimated_model_cost_usd","shared_analysis_model_events","shared_analysis_unpriced_model_events","shared_analysis_estimated_model_cost_usd","shared_company_intelligence_estimated_model_cost_usd","shared_company_intelligence_estimated_model_cost_per_canonical_company_usd","private_evaluation_model_events","private_evaluation_unpriced_model_events","private_evaluation_estimated_model_cost_usd","private_evaluation_outcome_attributed_model_events","private_evaluation_related_model_events","private_evaluation_unrelated_model_events","private_evaluation_abstained_model_events","private_evaluation_outcome_attribution_rate_pct","private_evaluation_unrelated_model_event_share_pct","private_evaluation_unrelated_estimated_model_cost_usd","private_evaluation_unrelated_estimated_model_cost_share_pct","private_evaluation_estimated_model_cost_per_user_company_relationship_usd","private_evaluation_estimated_model_cost_per_monitoring_context_usd","private_evaluation_backfill_model_events","private_evaluation_backfill_unpriced_model_events","private_evaluation_backfill_estimated_model_cost_usd","private_evaluation_operations","attributable_downstream_outputs","distinct_reused_intelligence_artifacts","attributable_outputs_per_reused_intelligence_artifact","intelligence_reuse_channels","intelligence_computation_yield","other_model_events","other_unpriced_model_events","other_estimated_model_cost_usd","estimated_model_cost_per_active_paid_user_usd","estimated_cost_per_active_thesis_usd","estimated_cost_per_model_event_usd"],"title":"LaunchMetricsOut"},"LivingExampleEvent":{"properties":{"event_title":{"type":"string","title":"Event Title"},"event_summary":{"type":"string","title":"Event Summary"},"thesis_effect":{"type":"string","enum":["strengthens","weakens","breaks","mixed","unrelated","uncertain"],"title":"Thesis Effect"},"why_it_matters":{"type":"string","title":"Why It Matters"},"conclusion":{"type":"string","title":"Conclusion"},"uncertainty":{"type":"string","title":"Uncertainty"},"next_checkpoint":{"type":"string","title":"Next Checkpoint"},"factors":{"items":{"$ref":"#/components/schemas/ExampleFactor"},"type":"array","title":"Factors"},"evidence":{"items":{"$ref":"#/components/schemas/ExampleSource"},"type":"array","minItems":1,"title":"Evidence"},"delivery_eligible":{"type":"boolean","title":"Delivery Eligible","default":false},"evaluation_context_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluation Context Policy"},"evidence_review_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Review Policy"},"evidence_scope":{"anyOf":[{"type":"string","enum":["company","theme"]},{"type":"null"}],"title":"Evidence Scope"},"id":{"type":"integer","title":"Id"},"example_key":{"type":"string","title":"Example Key"},"subject_type":{"type":"string","enum":["company","theme"],"title":"Subject Type"},"entity_id":{"type":"string","title":"Entity Id"},"version":{"type":"integer","title":"Version"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"title":{"type":"string","title":"Title"},"statement":{"type":"string","title":"Statement"},"source_key":{"type":"string","title":"Source Key"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"is_backfill":{"type":"boolean","title":"Is Backfill"},"correction":{"anyOf":[{"$ref":"#/components/schemas/ExampleEventCorrection"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["event_title","event_summary","thesis_effect","why_it_matters","conclusion","uncertainty","next_checkpoint","factors","evidence","id","example_key","subject_type","entity_id","version","ticker","title","statement","source_key","occurred_at","evaluated_at","recorded_at","is_backfill"],"title":"LivingExampleEvent"},"LivingExampleSummary":{"properties":{"example_key":{"type":"string","title":"Example Key"},"subject_type":{"type":"string","title":"Subject Type"},"entity_id":{"type":"string","title":"Entity Id"},"version":{"type":"integer","title":"Version"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"title":{"type":"string","title":"Title"},"statement":{"type":"string","title":"Statement"},"coverage_state":{"type":"string","title":"Coverage State"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"},"coverage":{"anyOf":[{"$ref":"#/components/schemas/ExampleCoverage"},{"type":"null"}]},"live_coverage_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Live Coverage State"},"review_needed_count":{"type":"integer","minimum":0.0,"title":"Review Needed Count","default":0},"reviewed_through":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed Through"},"unread_count":{"type":"integer","title":"Unread Count"},"events":{"items":{"$ref":"#/components/schemas/LivingExampleEvent"},"type":"array","title":"Events"}},"type":"object","required":["example_key","subject_type","entity_id","version","ticker","title","statement","coverage_state","checked_at","reviewed_through","unread_count","events"],"title":"LivingExampleSummary"},"LivingExamplesOut":{"properties":{"hidden":{"type":"boolean","title":"Hidden"},"items":{"items":{"$ref":"#/components/schemas/LivingExampleSummary"},"type":"array","title":"Items"}},"type":"object","required":["hidden","items"],"title":"LivingExamplesOut"},"LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"ManagementGuidanceOutcomeOut":{"properties":{"id":{"type":"integer","title":"Id"},"guidance_observation_id":{"type":"integer","title":"Guidance Observation Id"},"resolution_observation_id":{"type":"integer","title":"Resolution Observation Id"},"status":{"type":"string","enum":["met","missed","withdrawn","superseded"],"title":"Status"},"statement":{"type":"string","title":"Statement"},"evidence_quote":{"type":"string","title":"Evidence Quote"},"source_speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Speaker"},"source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Segment Id"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"source_call_id":{"type":"string","title":"Source Call Id"},"source_title":{"type":"string","title":"Source Title"},"source_url":{"type":"string","title":"Source Url"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"source_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Observed At"},"source_ingested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Ingested At"},"analysis_fingerprint":{"type":"string","title":"Analysis Fingerprint"}},"type":"object","required":["id","guidance_observation_id","resolution_observation_id","status","statement","evidence_quote","source_call_id","source_title","source_url","effective_at","analysis_fingerprint"],"title":"ManagementGuidanceOutcomeOut"},"ManagementPromiseFeedbackIn":{"properties":{"labels":{"items":{"type":"string","enum":["useful","not_useful","status_correct","status_incorrect","source_supports","source_does_not_support","missing_context","changed_view","already_known"]},"type":"array","maxItems":9,"title":"Labels"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["labels"],"title":"ManagementPromiseFeedbackIn"},"ManagementPromiseFeedbackOut":{"properties":{"management_promise_observation_id":{"type":"integer","title":"Management Promise Observation Id"},"labels":{"items":{"type":"string","enum":["useful","not_useful","status_correct","status_incorrect","source_supports","source_does_not_support","missing_context","changed_view","already_known"]},"type":"array","title":"Labels"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["management_promise_observation_id","labels","updated_at"],"title":"ManagementPromiseFeedbackOut"},"ManagementPromiseObservationOut":{"properties":{"id":{"type":"integer","title":"Id"},"status":{"type":"string","enum":["introduced","reiterated","raised","lowered","withdrawn","delivered","missed"],"title":"Status"},"statement":{"type":"string","title":"Statement"},"prior_statement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Statement"},"timeframe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timeframe"},"evidence_quote":{"type":"string","title":"Evidence Quote"},"source_speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Speaker"},"evidence_source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Evidence Source Segment Id"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"source_call_id":{"type":"string","title":"Source Call Id"},"source_title":{"type":"string","title":"Source Title"},"source_occurred_at":{"type":"string","format":"date-time","title":"Source Occurred At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"source_url":{"type":"string","title":"Source Url"},"prior_evidence_quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Evidence Quote"},"prior_source_speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Source Speaker"},"prior_evidence_source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Evidence Source Segment Id"},"prior_source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prior Source Artifact Version Id"},"prior_source_call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Source Call Id"},"prior_source_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Source Title"},"prior_source_occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Prior Source Occurred At"},"prior_source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Source Url"},"extractor_model":{"type":"string","title":"Extractor Model"},"extractor_version":{"type":"string","title":"Extractor Version"},"extracted_at":{"type":"string","format":"date-time","title":"Extracted At"},"metric":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metric"},"value_kind":{"type":"string","enum":["qualitative","point","range","minimum","maximum"],"title":"Value Kind","default":"qualitative"},"value_low":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Low"},"value_high":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value High"},"unit":{"anyOf":[{"type":"string","enum":["currency","percentage","per_share","count","ratio","other"]},{"type":"null"}],"title":"Unit"},"value_scale":{"anyOf":[{"type":"string","enum":["ones","thousand","million","billion","trillion"]},{"type":"null"}],"title":"Value Scale"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"prior_value_kind":{"anyOf":[{"type":"string","enum":["qualitative","point","range","minimum","maximum"]},{"type":"null"}],"title":"Prior Value Kind"},"prior_value_low":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Value Low"},"prior_value_high":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Value High"},"prior_unit":{"anyOf":[{"type":"string","enum":["currency","percentage","per_share","count","ratio","other"]},{"type":"null"}],"title":"Prior Unit"},"prior_value_scale":{"anyOf":[{"type":"string","enum":["ones","thousand","million","billion","trillion"]},{"type":"null"}],"title":"Prior Value Scale"},"prior_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Currency"},"effective_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"source_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Observed At"},"source_ingested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Ingested At"},"revision_of_observation_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Revision Of Observation Id"},"feedback_labels":{"items":{"type":"string","enum":["useful","not_useful","status_correct","status_incorrect","source_supports","source_does_not_support","missing_context","changed_view","already_known"]},"type":"array","title":"Feedback Labels"}},"type":"object","required":["id","status","statement","prior_statement","timeframe","evidence_quote","source_call_id","source_title","source_occurred_at","observed_at","source_url","extractor_model","extractor_version","extracted_at"],"title":"ManagementPromiseObservationOut"},"ManagementPromiseOut":{"properties":{"id":{"type":"integer","title":"Id"},"topic_key":{"type":"string","title":"Topic Key"},"topic":{"type":"string","title":"Topic"},"first_observed_at":{"type":"string","format":"date-time","title":"First Observed At"},"observations":{"items":{"$ref":"#/components/schemas/ManagementPromiseObservationOut"},"type":"array","title":"Observations"},"outcomes":{"items":{"$ref":"#/components/schemas/ManagementGuidanceOutcomeOut"},"type":"array","title":"Outcomes"}},"type":"object","required":["id","topic_key","topic","first_observed_at"],"title":"ManagementPromiseOut"},"MatchCandidateOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"tier1_score":{"type":"integer","title":"Tier1 Score"},"tier1_descriptor":{"type":"string","title":"Tier1 Descriptor"},"tier1_rank":{"type":"integer","title":"Tier1 Rank"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"evidence":{"items":{"$ref":"#/components/schemas/MatchEvidenceOut"},"type":"array","title":"Evidence"},"is_tracked":{"type":"boolean","title":"Is Tracked","default":false},"result_lane":{"type":"string","enum":["discovery","validation"],"title":"Result Lane","default":"discovery"},"selection_role":{"type":"string","enum":["discovery","watched","linked","source_company"],"title":"Selection Role","default":"discovery"},"selected_for_confirmation":{"type":"boolean","title":"Selected For Confirmation","default":false},"confirmation_reused":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Confirmation Reused"}},"type":"object","required":["ticker","tier1_score","tier1_descriptor","tier1_rank","verdict","reasoning"],"title":"MatchCandidateOut"},"MatchEconomicsOut":{"properties":{"eligible_candidate_count":{"type":"integer","title":"Eligible Candidate Count","default":0},"discovery_candidate_count":{"type":"integer","title":"Discovery Candidate Count","default":0},"watched_candidate_count":{"type":"integer","title":"Watched Candidate Count","default":0},"linked_candidate_count":{"type":"integer","title":"Linked Candidate Count","default":0},"source_company_candidate_count":{"type":"integer","title":"Source Company Candidate Count","default":0},"tier1_batch_count":{"type":"integer","title":"Tier1 Batch Count","default":0},"discovery_only_tier1_batch_count":{"type":"integer","title":"Discovery Only Tier1 Batch Count","default":0},"confirmation_selected_count":{"type":"integer","title":"Confirmation Selected Count","default":0},"confirmation_reused_count":{"type":"integer","title":"Confirmation Reused Count","default":0},"confirmation_computed_count":{"type":"integer","title":"Confirmation Computed Count","default":0},"validation_reused_count":{"type":"integer","title":"Validation Reused Count","default":0},"prior_policy_reusable_confirmation_count":{"type":"integer","title":"Prior Policy Reusable Confirmation Count","default":0}},"type":"object","title":"MatchEconomicsOut","description":"Run-local counters used to price the watchlist-aware result policy."},"MatchEvidenceOut":{"properties":{"chunk_id":{"type":"integer","title":"Chunk Id"},"form_type":{"type":"string","title":"Form Type"},"fiscal_period":{"type":"string","title":"Fiscal Period"},"filed_date":{"type":"string","format":"date","title":"Filed Date"},"section":{"type":"string","title":"Section"},"chunk_index":{"type":"integer","title":"Chunk Index"},"source_url":{"type":"string","title":"Source Url"},"excerpt":{"type":"string","title":"Excerpt"}},"type":"object","required":["chunk_id","form_type","fiscal_period","filed_date","section","chunk_index","source_url","excerpt"],"title":"MatchEvidenceOut"},"MatchRunOut":{"properties":{"id":{"type":"integer","title":"Id"},"thesis_shape":{"type":"string","title":"Thesis Shape"},"thesis_source":{"type":"string","enum":["preset","shared_thesis","company_thesis"],"title":"Thesis Source","default":"preset"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"thesis_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Title"},"top_n":{"type":"integer","title":"Top N"},"status":{"type":"string","enum":["pending","scoring","confirming","ready","failed"],"title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"result_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Summary"},"candidate_count":{"type":"integer","title":"Candidate Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"tier1_cached_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Tier1 Cached At"},"force_fresh":{"type":"boolean","title":"Force Fresh","default":false},"is_template_snapshot":{"type":"boolean","title":"Is Template Snapshot","default":false},"selection_policy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selection Policy Version"},"economics":{"anyOf":[{"$ref":"#/components/schemas/MatchEconomicsOut"},{"type":"null"}]},"candidates":{"items":{"$ref":"#/components/schemas/MatchCandidateOut"},"type":"array","title":"Candidates"}},"type":"object","required":["id","thesis_shape","top_n","status","error","created_at","candidates"],"title":"MatchRunOut"},"MatchRunRequest":{"properties":{"thesis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"company_watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Company Watchlist Id"},"company_ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Ticker"}},"type":"object","title":"MatchRunRequest"},"MobileTokenExchangeRequest":{"properties":{"code":{"type":"string","maxLength":43,"minLength":43,"pattern":"^[A-Za-z0-9_-]{43}$","title":"Code"},"code_verifier":{"type":"string","maxLength":128,"minLength":43,"pattern":"^[A-Za-z0-9._~-]{43,128}$","title":"Code Verifier"}},"additionalProperties":false,"type":"object","required":["code","code_verifier"],"title":"MobileTokenExchangeRequest"},"MorningBriefCoverageOut":{"properties":{"state":{"type":"string","enum":["complete","processing","delayed","paused","partial","not_applicable"],"title":"State"},"company_state":{"type":"string","enum":["complete","processing","delayed","paused","partial","not_applicable"],"title":"Company State","default":"not_applicable"},"tracked_company_count":{"type":"integer","title":"Tracked Company Count","default":0},"checked_company_count":{"type":"integer","title":"Checked Company Count","default":0},"behind_companies":{"items":{"type":"string"},"type":"array","title":"Behind Companies","default":[]},"expected_company_check_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expected Company Check At"},"latest_company_check_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Company Check At"},"investment_theme_state":{"type":"string","enum":["complete","processing","delayed","paused","partial","not_applicable"],"title":"Investment Theme State","default":"not_applicable"},"investment_theme_story_count":{"type":"integer","title":"Investment Theme Story Count","default":0},"investment_theme_completed_count":{"type":"integer","title":"Investment Theme Completed Count","default":0},"investment_theme_failed_count":{"type":"integer","title":"Investment Theme Failed Count","default":0},"investment_theme_finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Investment Theme Finished At"}},"type":"object","required":["state"],"title":"MorningBriefCoverageOut"},"MorningBriefDevelopmentOut":{"properties":{"development_id":{"type":"string","title":"Development Id"},"title":{"type":"string","title":"Title"},"why_it_matters":{"type":"string","title":"Why It Matters"},"source":{"type":"string","title":"Source"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"affected_reasons":{"items":{"$ref":"#/components/schemas/SignalOut"},"type":"array","title":"Affected Reasons"},"next_checkpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Checkpoint"}},"type":"object","required":["development_id","title","why_it_matters","source","detected_at"],"title":"MorningBriefDevelopmentOut","description":"One source event, grouped across every saved reason it affects."},"MorningBriefOut":{"properties":{"as_of":{"type":"string","format":"date-time","title":"As Of"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"coverage":{"$ref":"#/components/schemas/MorningBriefCoverageOut"},"fresh_signal_count":{"type":"integer","title":"Fresh Signal Count","default":0},"fresh_development_count":{"type":"integer","title":"Fresh Development Count","default":0},"developments":{"items":{"$ref":"#/components/schemas/MorningBriefDevelopmentOut"},"type":"array","title":"Developments"},"signals":{"items":{"$ref":"#/components/schemas/SignalOut"},"type":"array","title":"Signals"}},"type":"object","required":["as_of","window_started_at","coverage"],"title":"MorningBriefOut"},"MuteIn":{"properties":{"muted":{"type":"boolean","title":"Muted"}},"type":"object","required":["muted"],"title":"MuteIn"},"NativeSubscriptionOut":{"properties":{"store":{"type":"string","enum":["apple","google"],"title":"Store"},"environment":{"type":"string","enum":["production","sandbox"],"title":"Environment"},"plan_code":{"type":"string","enum":["investor","pro"],"title":"Plan Code"},"billing_interval":{"type":"string","enum":["month","year"],"title":"Billing Interval"},"state":{"type":"string","title":"State"},"access_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Access Until"},"auto_renews":{"type":"boolean","title":"Auto Renews"},"needs_acknowledgement":{"type":"boolean","title":"Needs Acknowledgement"}},"type":"object","required":["store","environment","plan_code","billing_interval","state","access_until","auto_renews","needs_acknowledgement"],"title":"NativeSubscriptionOut"},"OutreachEligibility":{"properties":{"status":{"type":"string","enum":["not_contacted","reply_window_closed","active","declined"],"title":"Status"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"},"reply_window_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reply Window Ends At"}},"additionalProperties":false,"type":"object","required":["status","checked_at"],"title":"OutreachEligibility"},"PerformanceBatch":{"properties":{"region":{"type":"string","enum":["north_america","latin_america","europe","africa","asia","oceania","unknown"],"title":"Region"},"samples":{"items":{"$ref":"#/components/schemas/PerformanceSample"},"type":"array","maxItems":10,"minItems":1,"title":"Samples"}},"additionalProperties":false,"type":"object","required":["region","samples"],"title":"PerformanceBatch"},"PerformanceSample":{"properties":{"metric":{"type":"string","enum":["document","watchlists","company_list","alerts","themes","evidence_trends"],"title":"Metric"},"duration_ms":{"type":"integer","maximum":120000.0,"minimum":0.0,"title":"Duration Ms"},"outcome":{"type":"string","enum":["ok","http_error","network_error"],"title":"Outcome","default":"ok"},"server_ms":{"anyOf":[{"type":"integer","maximum":120000.0,"minimum":0.0},{"type":"null"}],"title":"Server Ms"}},"additionalProperties":false,"type":"object","required":["metric","duration_ms"],"title":"PerformanceSample"},"PermissionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"credential_id":{"type":"integer","title":"Credential Id"},"credential_name":{"type":"string","title":"Credential Name"},"watchlist_id":{"type":"integer","title":"Watchlist Id"},"watchlist_name":{"type":"string","title":"Watchlist Name"},"actions":{"items":{"type":"string","enum":["add_watchlist_ticker","save_company_thesis","add_source_reference"]},"type":"array","title":"Actions"},"daily_limit":{"type":"integer","title":"Daily Limit"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"rules_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Rules Hash"},"status":{"type":"string","enum":["active","expired","revoked"],"title":"Status"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"usage_day":{"type":"string","format":"date","title":"Usage Day"},"operations_used":{"type":"integer","title":"Operations Used"},"operations_remaining":{"type":"integer","title":"Operations Remaining"}},"additionalProperties":false,"type":"object","required":["id","credential_id","credential_name","watchlist_id","watchlist_name","actions","daily_limit","created_at","expires_at","rules_hash","status","revoked_at","usage_day","operations_used","operations_remaining"],"title":"PermissionOut"},"PermissionResult":{"properties":{"permission":{"anyOf":[{"$ref":"#/components/schemas/PermissionOut"},{"type":"null"}]},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason"},"owner_management_url":{"type":"string","title":"Owner Management Url","default":"https://app.tickertrac.com/assistants"},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0}},"additionalProperties":false,"type":"object","required":["permission"],"title":"PermissionResult"},"PermissionSnapshot":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"credential_id":{"type":"integer","title":"Credential Id"},"credential_name":{"type":"string","title":"Credential Name"},"watchlist_id":{"type":"integer","title":"Watchlist Id"},"watchlist_name":{"type":"string","title":"Watchlist Name"},"actions":{"items":{"type":"string","enum":["add_watchlist_ticker","save_company_thesis","add_source_reference"]},"type":"array","title":"Actions"},"daily_limit":{"type":"integer","title":"Daily Limit"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"rules_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Rules Hash"}},"additionalProperties":false,"type":"object","required":["id","credential_id","credential_name","watchlist_id","watchlist_name","actions","daily_limit","created_at","expires_at","rules_hash"],"title":"PermissionSnapshot"},"PermittedWriteResult":{"properties":{"batch":{"$ref":"#/components/schemas/BatchOut"},"permission":{"$ref":"#/components/schemas/PermissionSnapshot"}},"additionalProperties":false,"type":"object","required":["batch","permission"],"title":"PermittedWriteResult"},"Piece":{"properties":{"text":{"type":"string","maxLength":20000,"title":"Text","default":""},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","maxItems":10,"title":"Assets"}},"additionalProperties":false,"type":"object","title":"Piece"},"PlanCostDistributionOut":{"properties":{"account_count":{"type":"integer","title":"Account Count"},"p50_known_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P50 Known Usd"},"p95_known_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Known Usd"},"max_known_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Known Usd"},"effective_plan_code":{"type":"string","title":"Effective Plan Code"}},"type":"object","required":["account_count","p50_known_usd","p95_known_usd","max_known_usd","effective_plan_code"],"title":"PlanCostDistributionOut"},"PlantAdjudicationIn":{"properties":{"slate_yaml":{"anyOf":[{"type":"string","maxLength":1000000,"minLength":1},{"type":"null"}],"title":"Slate Yaml"},"proposal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Proposal Id"},"proposal_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Proposal Version"},"proposal_content_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Proposal Content Sha256"},"tranche":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Tranche"},"slug":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Slug"},"per_factor_evidence":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Per Factor Evidence","default":2},"approval_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Approval Sha256"},"thesis":{"$ref":"#/components/schemas/ThesisAdjudicationIn"},"confirm_exact_sources":{"type":"boolean","const":true,"title":"Confirm Exact Sources"}},"additionalProperties":false,"type":"object","required":["approval_sha256","thesis","confirm_exact_sources"],"title":"PlantAdjudicationIn"},"PlantAdjudicationReuseIn":{"properties":{"slate_yaml":{"anyOf":[{"type":"string","maxLength":1000000,"minLength":1},{"type":"null"}],"title":"Slate Yaml"},"proposal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Proposal Id"},"proposal_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Proposal Version"},"proposal_content_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Proposal Content Sha256"},"tranche":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Tranche"},"slug":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Slug"},"per_factor_evidence":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Per Factor Evidence","default":2},"approval_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Approval Sha256"}},"additionalProperties":false,"type":"object","required":["approval_sha256"],"title":"PlantAdjudicationReuseIn"},"PlantApprovalIn":{"properties":{"slate_yaml":{"anyOf":[{"type":"string","maxLength":1000000,"minLength":1},{"type":"null"}],"title":"Slate Yaml"},"proposal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Proposal Id"},"proposal_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Proposal Version"},"proposal_content_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Proposal Content Sha256"},"tranche":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Tranche"},"slug":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Slug"},"per_factor_evidence":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Per Factor Evidence","default":2},"approval_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Approval Sha256"},"thesis_adjudications":{"anyOf":[{"items":{"$ref":"#/components/schemas/ThesisAdjudicationIn"},"type":"array","maxItems":100,"minItems":1},{"type":"null"}],"title":"Thesis Adjudications"},"confirm_private_planting":{"type":"boolean","const":true,"title":"Confirm Private Planting"}},"additionalProperties":false,"type":"object","required":["approval_sha256","confirm_private_planting"],"title":"PlantApprovalIn"},"PlantReviewIn":{"properties":{"slate_yaml":{"anyOf":[{"type":"string","maxLength":1000000,"minLength":1},{"type":"null"}],"title":"Slate Yaml"},"proposal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Proposal Id"},"proposal_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Proposal Version"},"proposal_content_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Proposal Content Sha256"},"tranche":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Tranche"},"slug":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Slug"},"per_factor_evidence":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Per Factor Evidence","default":2}},"additionalProperties":false,"type":"object","title":"PlantReviewIn"},"PortalSessionOut":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"PortalSessionOut"},"PortfolioImportIn":{"properties":{"csv":{"type":"string","maxLength":2000000,"minLength":1,"title":"Csv"}},"type":"object","required":["csv"],"title":"PortfolioImportIn"},"PortfolioImportOut":{"properties":{"added":{"items":{"type":"string"},"type":"array","title":"Added"},"already_present":{"items":{"type":"string"},"type":"array","title":"Already Present"},"skipped":{"items":{"type":"string"},"type":"array","title":"Skipped"},"deferred":{"items":{"type":"string"},"type":"array","title":"Deferred"},"tickers":{"items":{"type":"string"},"type":"array","title":"Tickers"}},"type":"object","required":["added","already_present","skipped","deferred","tickers"],"title":"PortfolioImportOut"},"PositionDecisionConfirmationIn":{"properties":{"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"ticker":{"type":"string","maxLength":16,"minLength":1,"title":"Ticker"},"action":{"type":"string","enum":["opened","added","reduced","closed","reopened"],"title":"Action"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"rationale":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Rationale"},"event_references":{"items":{"$ref":"#/components/schemas/PositionDecisionEventReferenceIn"},"type":"array","maxItems":10,"title":"Event References"},"execution_price":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"},{"type":"null"}],"title":"Execution Price"},"execution_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Execution Currency"},"portfolio_weight_before_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Portfolio Weight Before Pct"},"portfolio_weight_after_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Portfolio Weight After Pct"},"holding_change_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Holding Change Pct"},"supersedes_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Supersedes Id"},"schema_version":{"type":"string","const":"position-decision-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"save_position_decision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm this exact position decision should be saved as immutable history.","title":"Confirmation Statement"},"expected_market_reference_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expected Market Reference Date"},"expected_market_reference_price":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"},{"type":"null"}],"title":"Expected Market Reference Price"}},"additionalProperties":false,"type":"object","required":["subject_type","subject_version","ticker","action","occurred_at","schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement"],"title":"PositionDecisionConfirmationIn"},"PositionDecisionConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"position-decision-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"save_position_decision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"save_status":{"type":"string","const":"saved","title":"Save Status","default":"saved"},"request_replayed":{"type":"boolean","title":"Request Replayed"},"decision":{"$ref":"#/components/schemas/PositionDecisionOut"},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","request_replayed","decision"],"title":"PositionDecisionConfirmationOut"},"PositionDecisionEventOut":{"properties":{"kind":{"type":"string","enum":["alert","source_event","theme_finding"],"title":"Kind"},"referent_id":{"type":"integer","title":"Referent Id"},"title":{"type":"string","title":"Title"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"available_at":{"type":"string","format":"date-time","title":"Available At"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"thesis_impact":{"anyOf":[{"type":"string","enum":["strengthened","weakened","broken","uncertain"]},{"type":"null"}],"title":"Thesis Impact"},"asserted_by_user":{"type":"boolean","const":true,"title":"Asserted By User","default":true}},"type":"object","required":["kind","referent_id","title","occurred_at","available_at"],"title":"PositionDecisionEventOut"},"PositionDecisionEventReferenceIn":{"properties":{"kind":{"type":"string","enum":["alert","source_event","theme_finding"],"title":"Kind"},"referent_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Referent Id"}},"additionalProperties":false,"type":"object","required":["kind","referent_id"],"title":"PositionDecisionEventReferenceIn"},"PositionDecisionOut":{"properties":{"schema_version":{"type":"string","const":"position-decision-v1","title":"Schema Version","default":"position-decision-v1"},"id":{"type":"integer","title":"Id"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","title":"Subject Version"},"subject_label":{"type":"string","title":"Subject Label"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"ticker":{"type":"string","title":"Ticker"},"action":{"type":"string","enum":["opened","added","reduced","closed","reopened"],"title":"Action"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"events":{"items":{"$ref":"#/components/schemas/PositionDecisionEventOut"},"type":"array","title":"Events"},"price":{"$ref":"#/components/schemas/PositionDecisionPriceOut"},"portfolio_weight_before_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Portfolio Weight Before Pct"},"portfolio_weight_after_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Portfolio Weight After Pct"},"holding_change_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Holding Change Pct"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"supersedes_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supersedes Id"},"superseded_by_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Superseded By Id"},"is_current":{"type":"boolean","title":"Is Current","default":true},"immutable":{"type":"boolean","const":true,"title":"Immutable","default":true}},"type":"object","required":["id","subject_type","subject_version","subject_label","ticker","action","occurred_at","price","recorded_at"],"title":"PositionDecisionOut"},"PositionDecisionPriceOut":{"properties":{"basis":{"type":"string","enum":["user_reported_execution","market_reference","unavailable"],"title":"Basis"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"reference_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reference Date"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"adjustment":{"anyOf":[{"type":"string","const":"splits"},{"type":"null"}],"title":"Adjustment"},"coverage":{"anyOf":[{"type":"string","const":"current_symbol"},{"type":"null"}],"title":"Coverage"}},"type":"object","required":["basis"],"title":"PositionDecisionPriceOut"},"PositionDecisionProposalIn":{"properties":{"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"ticker":{"type":"string","maxLength":16,"minLength":1,"title":"Ticker"},"action":{"type":"string","enum":["opened","added","reduced","closed","reopened"],"title":"Action"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"rationale":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Rationale"},"event_references":{"items":{"$ref":"#/components/schemas/PositionDecisionEventReferenceIn"},"type":"array","maxItems":10,"title":"Event References"},"execution_price":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"},{"type":"null"}],"title":"Execution Price"},"execution_currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Execution Currency"},"portfolio_weight_before_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Portfolio Weight Before Pct"},"portfolio_weight_after_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Portfolio Weight After Pct"},"holding_change_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Holding Change Pct"},"supersedes_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Supersedes Id"},"schema_version":{"type":"string","const":"position-decision-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_position_decision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"}},"additionalProperties":false,"type":"object","required":["subject_type","subject_version","ticker","action","occurred_at","schema_version","idempotency_key","operation","confirmation_policy"],"title":"PositionDecisionProposalIn"},"PositionDecisionProposalOut":{"properties":{"schema_version":{"type":"string","const":"position-decision-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_position_decision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","title":"Subject Version"},"subject_label":{"type":"string","title":"Subject Label"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"ticker":{"type":"string","title":"Ticker"},"action":{"type":"string","enum":["opened","added","reduced","closed","reopened"],"title":"Action"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"events":{"items":{"$ref":"#/components/schemas/PositionDecisionEventOut"},"type":"array","title":"Events"},"price":{"$ref":"#/components/schemas/PositionDecisionPriceOut"},"portfolio_weight_before_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Portfolio Weight Before Pct"},"portfolio_weight_after_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Portfolio Weight After Pct"},"holding_change_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Holding Change Pct"},"supersedes_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supersedes Id"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"mutation_performed":{"type":"boolean","const":false,"title":"Mutation Performed","default":false},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","subject_type","subject_version","subject_label","ticker","action","occurred_at","price","generated_at"],"title":"PositionDecisionProposalOut"},"Preferences":{"properties":{"frequency":{"type":"string","enum":["off","daily","weekly"],"title":"Frequency"},"hour":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Hour"},"timezone":{"type":"string","maxLength":80,"minLength":1,"title":"Timezone"},"summary_push":{"type":"boolean","title":"Summary Push","default":true},"newsletter_push":{"type":"boolean","title":"Newsletter Push","default":true},"name_companies":{"type":"boolean","title":"Name Companies","default":false},"default_evidence_cadence":{"type":"string","enum":["immediate","review","off"],"title":"Default Evidence Cadence","default":"review"},"default_price_moves":{"type":"boolean","title":"Default Price Moves","default":false}},"additionalProperties":false,"type":"object","required":["frequency","hour","timezone"],"title":"Preferences"},"PrepareRequest":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"store":{"type":"string","enum":["apple","google"],"title":"Store"},"product_id":{"type":"string","maxLength":256,"minLength":1,"title":"Product Id"},"base_plan_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Base Plan Id"}},"additionalProperties":false,"type":"object","required":["attempt_id","store","product_id"],"title":"PrepareRequest"},"PresentationPageOut":{"properties":{"page_number":{"type":"integer","title":"Page Number"},"text_preview":{"type":"string","title":"Text Preview"},"table_count":{"type":"integer","title":"Table Count"},"citation_url":{"type":"string","title":"Citation Url"}},"type":"object","required":["page_number","text_preview","table_count","citation_url"],"title":"PresentationPageOut"},"Preview":{"properties":{"kind":{"type":"string","title":"Kind"},"target":{"type":"string","title":"Target"},"target_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Label"},"security_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Security Id"},"issuer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Issuer Id"},"issuer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Name"},"security_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Security Type"},"share_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Class"},"before":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Before"},"after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"changed":{"type":"boolean","title":"Changed"},"selection":{"type":"string","title":"Selection"}},"additionalProperties":false,"type":"object","required":["kind","target","changed","selection"],"title":"Preview"},"PreviewClaimIn":{"properties":{"token":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]+$","title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"PreviewClaimIn"},"PreviewHandoffIn":{"properties":{"reason":{"type":"string","maxLength":280,"minLength":1,"title":"Reason"},"result":{"$ref":"#/components/schemas/LandingReasonPreviewResult"},"consent":{"type":"boolean","title":"Consent"}},"additionalProperties":false,"type":"object","required":["reason","result","consent"],"title":"PreviewHandoffIn"},"PriorYearIngestOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"queued":{"type":"boolean","title":"Queued"},"detail":{"type":"string","title":"Detail"}},"type":"object","required":["ticker","queued","detail"],"title":"PriorYearIngestOut"},"PrivateEvaluationOperationMetricsOut":{"properties":{"operation":{"type":"string","enum":["relevance","historical_replay","call_drift_impact","research_result_impact","call_drift_impact_backfill"],"title":"Operation"},"label":{"type":"string","title":"Label"},"cost_class":{"type":"string","enum":["recurring","backfill"],"title":"Cost Class"},"model_events":{"type":"integer","title":"Model Events"},"unpriced_model_events":{"type":"integer","title":"Unpriced Model Events"},"exact_input_model_events":{"type":"integer","title":"Exact Input Model Events","default":0},"repeated_exact_input_model_events":{"type":"integer","title":"Repeated Exact Input Model Events","default":0},"failed_model_events":{"type":"integer","title":"Failed Model Events","default":0},"unknown_usage_model_events":{"type":"integer","title":"Unknown Usage Model Events","default":0},"retained_source_model_events":{"type":"integer","title":"Retained Source Model Events","default":0},"estimated_model_cost_usd":{"type":"number","title":"Estimated Model Cost Usd"},"outcome_attributed_model_events":{"type":"integer","title":"Outcome Attributed Model Events"},"related_model_events":{"type":"integer","title":"Related Model Events"},"unrelated_model_events":{"type":"integer","title":"Unrelated Model Events"},"abstained_model_events":{"type":"integer","title":"Abstained Model Events"},"outcome_attribution_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Outcome Attribution Rate Pct"},"unrelated_model_event_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unrelated Model Event Share Pct"},"unrelated_estimated_model_cost_usd":{"type":"number","title":"Unrelated Estimated Model Cost Usd"},"unrelated_estimated_model_cost_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unrelated Estimated Model Cost Share Pct"}},"type":"object","required":["operation","label","cost_class","model_events","unpriced_model_events","estimated_model_cost_usd","outcome_attributed_model_events","related_model_events","unrelated_model_events","abstained_model_events","outcome_attribution_rate_pct","unrelated_model_event_share_pct","unrelated_estimated_model_cost_usd","unrelated_estimated_model_cost_share_pct"],"title":"PrivateEvaluationOperationMetricsOut"},"ProductEventIn":{"properties":{"session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Session Id"},"event_name":{"type":"string","enum":["app_session_started","first_thesis_input_started","baseline_viewed","historical_replay_viewed","investment_theme_evidence_viewed","historical_replay_warmup_viewed","historical_replay_ready_viewed","historical_replay_warmup_failed_viewed","historical_replay_demo_viewed","historical_replay_evidence_inspected","historical_replay_source_opened","company_state_viewed","thesis_timeline_viewed","thesis_timeline_marker_inspected","thesis_timeline_source_opened","thesis_timeline_event_marked_important","thesis_timeline_event_unmarked_important","alert_opened","alert_evidence_inspected","alert_source_opened","digest_cta_opened","upgrade_prompt_viewed","second_company_attempt","first_thesis_wizard_started","first_thesis_wizard_completed","thesis_exploration_action","guidance_preference_set","example_thesis_opened","example_theme_opened","phone_notification_opened","call_drift_viewed","language_changes_viewed","call_drift_finding_inspected","match_run_started","match_added_to_watchlist","ticker_row_expanded","thesis_desk_artifact_viewed","thesis_desk_source_inspected","thesis_desk_source_opened","thesis_desk_workspace_opened","thesis_desk_request_refused","thesis_desk_revision_proposal_viewed","thesis_desk_event_marked_important","thesis_desk_event_unmarked_important"],"title":"Event Name"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Ticker"},"alert_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Alert Id"},"replay_evaluation_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Replay Evaluation Id"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"shared_thesis_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Version Id"},"digest_idempotency_key":{"anyOf":[{"type":"string","pattern":"^digest-[0-9a-f]{64}$"},{"type":"null"}],"title":"Digest Idempotency Key"},"properties":{"additionalProperties":true,"type":"object","title":"Properties"}},"type":"object","required":["event_name"],"title":"ProductEventIn"},"PublicAcquisitionFunnelOut":{"properties":{"canonical_insight_id":{"type":"string","title":"Canonical Insight Id"},"public_insight_candidate_ref":{"type":"string","title":"Public Insight Candidate Ref"},"public_artifact_id":{"type":"string","title":"Public Artifact Id"},"presentation_id":{"type":"string","title":"Presentation Id"},"audience_variant":{"type":"string","title":"Audience Variant"},"channel":{"type":"string","title":"Channel"},"account":{"type":"string","title":"Account"},"placement":{"type":"string","title":"Placement"},"artifact_views":{"type":"integer","title":"Artifact Views"},"cta_clicks":{"type":"integer","title":"Cta Clicks"},"signups":{"type":"integer","title":"Signups"},"first_company_reasons":{"type":"integer","title":"First Company Reasons"},"first_replays":{"type":"integer","title":"First Replays"},"qualified_returns":{"type":"integer","title":"Qualified Returns"},"second_company_attempts":{"type":"integer","title":"Second Company Attempts"},"view_to_click_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"View To Click Pct"},"click_to_signup_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Click To Signup Pct"},"signup_to_reason_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Signup To Reason Pct"},"reason_to_replay_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reason To Replay Pct"},"replay_to_qualified_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replay To Qualified Return Pct"},"replay_to_second_company_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Replay To Second Company Pct"},"first_viewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Viewed At"},"first_clicked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Clicked At"},"low_volume":{"type":"boolean","title":"Low Volume"}},"type":"object","required":["canonical_insight_id","public_insight_candidate_ref","public_artifact_id","presentation_id","audience_variant","channel","account","placement","artifact_views","cta_clicks","signups","first_company_reasons","first_replays","qualified_returns","second_company_attempts","view_to_click_pct","click_to_signup_pct","signup_to_reason_pct","reason_to_replay_pct","replay_to_qualified_return_pct","replay_to_second_company_pct","first_viewed_at","first_clicked_at","low_volume"],"title":"PublicAcquisitionFunnelOut"},"PublicArtifactLineageIn":{"properties":{"canonical_insight_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,159}@v[1-9][0-9]*$","title":"Canonical Insight Id"},"public_insight_candidate_ref":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,159}@v[1-9][0-9]*$","title":"Public Insight Candidate Ref"},"public_artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,159}@v[1-9][0-9]*$","title":"Public Artifact Id"},"presentation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,159}@v[1-9][0-9]*$","title":"Presentation Id"},"audience_variant":{"type":"string","enum":["readthrough","inflection","forward-signal"],"title":"Audience Variant"}},"additionalProperties":false,"type":"object","required":["canonical_insight_id","public_insight_candidate_ref","public_artifact_id","presentation_id","audience_variant"],"title":"PublicArtifactLineageIn","description":"Public-safe immutable IDs emitted by Editorial; no prose or URL fields."},"PublicArtifactLineageOut":{"properties":{"public_artifact_id":{"type":"string","title":"Public Artifact Id"},"inserted":{"type":"boolean","title":"Inserted"}},"additionalProperties":false,"type":"object","required":["public_artifact_id","inserted"],"title":"PublicArtifactLineageOut","description":"Exactly what Editorial may learn back from a registration.\n\nDeliberately not a subclass of the request model. Editorial's client declares\n``extra=\"forbid\"`` on this response, so echoing the request fields back makes every\nregistration fail on the caller before its body is read."},"PublicArtifactViewIn":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"public_artifact_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,159}@v[1-9][0-9]*$","title":"Public Artifact Id"}},"additionalProperties":false,"type":"object","required":["session_id","public_artifact_id"],"title":"PublicArtifactViewIn"},"PublicEvidence":{"properties":{"evidence_id":{"type":"string","title":"Evidence Id"},"roles":{"items":{"$ref":"#/components/schemas/EvidenceRole"},"type":"array","minItems":1,"title":"Roles"},"source_type":{"$ref":"#/components/schemas/SourceType"},"provider_code":{"type":"string","title":"Provider Code"},"publisher":{"type":"string","title":"Publisher"},"title":{"type":"string","title":"Title"},"source_url":{"type":"string","title":"Source Url"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Segment Id"},"source_locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Locator"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"display_policy":{"$ref":"#/components/schemas/EvidenceDisplayPolicy"}},"additionalProperties":false,"type":"object","required":["evidence_id","roles","source_type","provider_code","publisher","title","source_url","published_at","observed_at","display_policy"],"title":"PublicEvidence"},"PublicInsightCandidate":{"properties":{"schema_version":{"type":"string","const":"public-insight-candidate/v1","title":"Schema Version","default":"public-insight-candidate/v1"},"ref":{"$ref":"#/components/schemas/VersionedRef"},"event_refs":{"items":{"$ref":"#/components/schemas/VersionedRef"},"type":"array","title":"Event Refs"},"canonical_insight_ref":{"$ref":"#/components/schemas/VersionedRef"},"security_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Security Id"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"event_type":{"$ref":"#/components/schemas/EventType"},"event_title":{"type":"string","title":"Event Title"},"event_summary":{"type":"string","title":"Event Summary"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"stale_after":{"type":"string","format":"date-time","title":"Stale After"},"conclusion":{"type":"string","title":"Conclusion"},"why_it_matters":{"type":"string","title":"Why It Matters"},"investment_case_implication":{"type":"string","title":"Investment Case Implication"},"uncertainty":{"type":"string","title":"Uncertainty"},"next_checkpoint":{"type":"string","title":"Next Checkpoint"},"confidence":{"$ref":"#/components/schemas/InsightConfidence"},"insight_state":{"$ref":"#/components/schemas/InsightState"},"public_thesis":{"anyOf":[{"$ref":"#/components/schemas/PublicResearchThesis"},{"type":"null"}]},"public_thesis_evaluation":{"anyOf":[{"$ref":"#/components/schemas/PublicThesisEvaluation"},{"type":"null"}]},"content_modes":{"items":{"$ref":"#/components/schemas/ContentMode"},"type":"array","minItems":1,"title":"Content Modes"},"evidence":{"items":{"$ref":"#/components/schemas/PublicEvidence"},"type":"array","minItems":1,"title":"Evidence"},"rank_components":{"$ref":"#/components/schemas/RankComponents"},"global_significance_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Global Significance Score"},"selection_reason":{"type":"string","title":"Selection Reason"},"selection_policy_version":{"type":"string","title":"Selection Policy Version"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"requires_human_review":{"type":"boolean","const":true,"title":"Requires Human Review","default":true}},"additionalProperties":false,"type":"object","required":["ref","event_refs","canonical_insight_ref","event_type","event_title","event_summary","occurred_at","observed_at","as_of","stale_after","conclusion","why_it_matters","investment_case_implication","uncertainty","next_checkpoint","confidence","insight_state","content_modes","evidence","rank_components","global_significance_score","selection_reason","selection_policy_version"],"title":"PublicInsightCandidate"},"PublicInsightFeedItem":{"properties":{"cursor":{"type":"string","maxLength":160,"minLength":1,"pattern":"^[A-Za-z0-9_-]+$","title":"Cursor"},"persisted_at":{"type":"string","format":"date-time","title":"Persisted At"},"payload_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Sha256"},"candidate":{"$ref":"#/components/schemas/PublicInsightCandidate"}},"additionalProperties":false,"type":"object","required":["cursor","persisted_at","payload_sha256","candidate"],"title":"PublicInsightFeedItem"},"PublicInsightFeedPage":{"properties":{"schema_version":{"type":"string","const":"public-insight-feed/v1","title":"Schema Version","default":"public-insight-feed/v1"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"items":{"items":{"$ref":"#/components/schemas/PublicInsightFeedItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","maxLength":160,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"additionalProperties":false,"type":"object","required":["generated_at","has_more"],"title":"PublicInsightFeedPage"},"PublicResearchThesis":{"properties":{"schema_version":{"type":"string","const":"public-research-thesis/v1","title":"Schema Version","default":"public-research-thesis/v1"},"ref":{"$ref":"#/components/schemas/VersionedRef"},"security_id":{"type":"integer","minimum":1.0,"title":"Security Id"},"ticker":{"type":"string","maxLength":32,"minLength":1,"title":"Ticker"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"statement":{"type":"string","maxLength":4000,"minLength":1,"title":"Statement"},"factors":{"items":{"$ref":"#/components/schemas/PublicThesisFactor"},"type":"array","maxItems":24,"minItems":1,"title":"Factors"},"baseline_evidence":{"items":{"$ref":"#/components/schemas/EventEvidence"},"type":"array","minItems":1,"title":"Baseline Evidence"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"debate_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Debate Key"},"polarity":{"anyOf":[{"type":"string","enum":["positive","negative","mixed"]},{"type":"null"}],"title":"Polarity"},"status":{"$ref":"#/components/schemas/PublicThesisStatus","default":"draft"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"superseded_by":{"anyOf":[{"$ref":"#/components/schemas/VersionedRef"},{"type":"null"}]},"contains_private_user_data":{"type":"boolean","title":"Contains Private User Data","default":false}},"additionalProperties":false,"type":"object","required":["ref","security_id","ticker","title","statement","factors","baseline_evidence","as_of"],"title":"PublicResearchThesis","description":"A publisher-owned thesis built only from public research evidence."},"PublicThesisEffect":{"type":"string","enum":["strengthens","weakens","breaks","mixed","unrelated","uncertain"],"title":"PublicThesisEffect"},"PublicThesisEvaluation":{"properties":{"schema_version":{"type":"string","const":"public-thesis-evaluation/v1","title":"Schema Version","default":"public-thesis-evaluation/v1"},"ref":{"$ref":"#/components/schemas/VersionedRef"},"public_thesis_ref":{"$ref":"#/components/schemas/VersionedRef"},"canonical_insight_ref":{"$ref":"#/components/schemas/VersionedRef"},"event_refs":{"items":{"$ref":"#/components/schemas/VersionedRef"},"type":"array","minItems":1,"title":"Event Refs"},"thesis_title_snapshot":{"type":"string","maxLength":240,"minLength":1,"title":"Thesis Title Snapshot"},"thesis_statement_snapshot":{"type":"string","maxLength":4000,"minLength":1,"title":"Thesis Statement Snapshot"},"factor_evaluations":{"items":{"$ref":"#/components/schemas/PublicThesisFactorEvaluation"},"type":"array","minItems":1,"title":"Factor Evaluations"},"overall_effect":{"$ref":"#/components/schemas/PublicThesisEffect"},"conclusion":{"type":"string","maxLength":2000,"minLength":1,"title":"Conclusion"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"evaluation_version":{"type":"string","maxLength":120,"minLength":1,"title":"Evaluation Version"},"contains_private_user_data":{"type":"boolean","title":"Contains Private User Data","default":false}},"additionalProperties":false,"type":"object","required":["ref","public_thesis_ref","canonical_insight_ref","event_refs","thesis_title_snapshot","thesis_statement_snapshot","factor_evaluations","overall_effect","conclusion","evaluated_at","evaluation_version"],"title":"PublicThesisEvaluation"},"PublicThesisFactor":{"properties":{"factor_id":{"type":"string","maxLength":160,"minLength":1,"title":"Factor Id"},"kind":{"$ref":"#/components/schemas/PublicThesisFactorKind"},"statement":{"type":"string","maxLength":3000,"minLength":1,"title":"Statement"},"baseline_evidence_ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Baseline Evidence Ids"}},"additionalProperties":false,"type":"object","required":["factor_id","kind","statement","baseline_evidence_ids"],"title":"PublicThesisFactor"},"PublicThesisFactorEvaluation":{"properties":{"factor_id":{"type":"string","maxLength":160,"minLength":1,"title":"Factor Id"},"factor_kind":{"$ref":"#/components/schemas/PublicThesisFactorKind"},"factor_statement_snapshot":{"type":"string","maxLength":3000,"minLength":1,"title":"Factor Statement Snapshot"},"relationship":{"$ref":"#/components/schemas/ThesisRelationship"},"materiality":{"$ref":"#/components/schemas/ThesisMateriality"},"directness":{"$ref":"#/components/schemas/ThesisDirectness"},"citation_valid":{"type":"boolean","title":"Citation Valid"},"bridge_valid":{"type":"boolean","title":"Bridge Valid"},"evidence_ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Evidence Ids"},"reasoning":{"type":"string","maxLength":2000,"minLength":1,"title":"Reasoning"}},"additionalProperties":false,"type":"object","required":["factor_id","factor_kind","factor_statement_snapshot","relationship","materiality","directness","citation_valid","bridge_valid","evidence_ids","reasoning"],"title":"PublicThesisFactorEvaluation"},"PublicThesisFactorKind":{"type":"string","enum":["claim","expectation","invalidation"],"title":"PublicThesisFactorKind"},"PublicThesisStatus":{"type":"string","enum":["draft","active","superseded","retired"],"title":"PublicThesisStatus"},"PublisherLinksIn":{"properties":{"urls":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":12,"minItems":1,"title":"Urls"}},"additionalProperties":false,"type":"object","required":["urls"],"title":"PublisherLinksIn"},"PulseLegOut":{"properties":{"alert_id":{"type":"integer","title":"Alert Id"},"ticker":{"type":"string","title":"Ticker"},"evidence_relationship":{"type":"string","title":"Evidence Relationship"},"link_effect":{"type":"string","title":"Link Effect"},"link_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link Rationale"},"thesis_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Factor"},"evidence_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Factor"},"causal_bridge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Bridge"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"observed_at":{"type":"string","title":"Observed At"}},"type":"object","required":["alert_id","ticker","evidence_relationship","link_effect","link_rationale","thesis_factor","evidence_factor","causal_bridge","source_url","observed_at"],"title":"PulseLegOut"},"PushSignalsOut":{"properties":{"push_id":{"type":"string","title":"Push Id"},"kind":{"type":"string","title":"Kind","default":"review"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"queued_at":{"type":"string","format":"date-time","title":"Queued At"},"scheduled_for":{"type":"string","format":"date-time","title":"Scheduled For"},"included_count":{"type":"integer","title":"Included Count"},"unavailable_count":{"type":"integer","title":"Unavailable Count"},"items":{"items":{"$ref":"#/components/schemas/SignalOut"},"type":"array","title":"Items"},"examples":{"items":{"$ref":"#/components/schemas/LivingExampleEvent"},"type":"array","title":"Examples"},"example_included_count":{"type":"integer","title":"Example Included Count","default":0},"example_unavailable_count":{"type":"integer","title":"Example Unavailable Count","default":0},"has_more":{"type":"boolean","title":"Has More"},"coverage_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Note"}},"type":"object","required":["push_id","queued_at","scheduled_for","included_count","unavailable_count","items","has_more"],"title":"PushSignalsOut"},"RankComponents":{"properties":{"materiality":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Materiality"},"novelty":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Novelty"},"source_quality":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Source Quality"},"corroboration":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Corroboration"},"liquidity":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Liquidity"},"time_sensitivity":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Time Sensitivity"}},"additionalProperties":false,"type":"object","required":["materiality","novelty","source_quality","corroboration","liquidity","time_sensitivity"],"title":"RankComponents"},"Record":{"properties":{"key":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{2,100}$","title":"Key"},"kind":{"type":"string","enum":["story","contact","draft"],"title":"Kind"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"notes":{"type":"string","maxLength":12000,"title":"Notes","default":""},"story_key":{"anyOf":[{"type":"string","maxLength":101},{"type":"null"}],"title":"Story Key"},"contact_key":{"anyOf":[{"type":"string","maxLength":101},{"type":"null"}],"title":"Contact Key"},"channel":{"anyOf":[{"type":"string","enum":["instagram","x","reddit","email","substack","website"]},{"type":"null"}],"title":"Channel"},"target":{"type":"string","maxLength":500,"title":"Target","default":""},"purpose":{"type":"string","enum":["publication","initial","followup","reply"],"title":"Purpose","default":"publication"},"sources":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Sources"},"identities":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Identities"},"pieces":{"items":{"$ref":"#/components/schemas/Piece"},"type":"array","maxItems":20,"title":"Pieces"},"next_action":{"type":"string","maxLength":1000,"title":"Next Action","default":""},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"evidence_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Evidence As Of"},"checkpoint":{"type":"string","maxLength":2000,"title":"Checkpoint","default":""},"owner":{"type":"string","maxLength":120,"minLength":1,"title":"Owner","default":"Eduardo"}},"additionalProperties":false,"type":"object","required":["key","kind","title"],"title":"Record"},"RecordAdminProfileOut":{"properties":{"referral_code":{"type":"string","title":"Referral Code"},"referral_url":{"type":"string","title":"Referral Url"},"moderation":{"anyOf":[{"$ref":"#/components/schemas/RecordModerationOut"},{"type":"null"}]},"publication_status":{"type":"string","enum":["private","pending","published","taken_down"],"title":"Publication Status","default":"private"},"record_id":{"type":"string","format":"uuid","title":"Record Id"},"handle":{"type":"string","title":"Handle"},"display_name":{"type":"string","title":"Display Name"},"link_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link Url"},"listed":{"type":"boolean","title":"Listed"},"listed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Listed At"},"taken_down":{"type":"boolean","title":"Taken Down","default":false},"unlisted_by_writer":{"type":"boolean","title":"Unlisted By Writer","default":false},"public_url":{"type":"string","title":"Public Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"user_id":{"type":"integer","title":"User Id"},"email":{"type":"string","title":"Email"},"entry_count":{"type":"integer","title":"Entry Count"}},"type":"object","required":["referral_code","referral_url","record_id","handle","display_name","link_url","listed","listed_at","public_url","created_at","updated_at","user_id","email","entry_count"],"title":"RecordAdminProfileOut","description":"A record in the admin takedown list: whose it is and how much is on it."},"RecordAnchorHeadOut":{"properties":{"record_id":{"type":"string","format":"uuid","title":"Record Id"},"entry_sha256":{"type":"string","title":"Entry Sha256"},"sequence_number":{"type":"integer","title":"Sequence Number"}},"type":"object","required":["record_id","entry_sha256","sequence_number"],"title":"RecordAnchorHeadOut"},"RecordAnchorOut":{"properties":{"id":{"type":"integer","title":"Id"},"anchored_at":{"type":"string","format":"date-time","title":"Anchored At"},"digest":{"type":"string","title":"Digest"},"head_count":{"type":"integer","title":"Head Count"},"tsa_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tsa Url"},"token_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Token Time"},"timestamped":{"type":"boolean","title":"Timestamped"},"schema_version":{"type":"string","title":"Schema Version"},"heads":{"items":{"$ref":"#/components/schemas/RecordAnchorHeadOut"},"type":"array","title":"Heads"},"token_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Base64"},"token_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Error"},"canonicalization":{"type":"string","title":"Canonicalization"},"how_to_verify":{"type":"string","title":"How To Verify"}},"type":"object","required":["id","anchored_at","digest","head_count","tsa_url","token_time","timestamped","schema_version","token_base64","token_error","canonicalization","how_to_verify"],"title":"RecordAnchorOut"},"RecordAnchorRefOut":{"properties":{"anchor_id":{"type":"integer","title":"Anchor Id"},"token_time":{"type":"string","format":"date-time","title":"Token Time"},"tsa_url":{"type":"string","title":"Tsa Url"},"anchor_url":{"type":"string","title":"Anchor Url"}},"type":"object","required":["anchor_id","token_time","tsa_url","anchor_url"],"title":"RecordAnchorRefOut"},"RecordAnchorSummaryOut":{"properties":{"id":{"type":"integer","title":"Id"},"anchored_at":{"type":"string","format":"date-time","title":"Anchored At"},"digest":{"type":"string","title":"Digest"},"head_count":{"type":"integer","title":"Head Count"},"tsa_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tsa Url"},"token_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Token Time"},"timestamped":{"type":"boolean","title":"Timestamped"}},"type":"object","required":["id","anchored_at","digest","head_count","tsa_url","token_time","timestamped"],"title":"RecordAnchorSummaryOut"},"RecordAnchorsOut":{"properties":{"schema_version":{"type":"string","title":"Schema Version"},"anchors":{"items":{"$ref":"#/components/schemas/RecordAnchorSummaryOut"},"type":"array","title":"Anchors"},"canonicalization":{"type":"string","title":"Canonicalization"},"how_to_verify":{"type":"string","title":"How To Verify"}},"type":"object","required":["schema_version","canonicalization","how_to_verify"],"title":"RecordAnchorsOut"},"RecordEntryConfirmationIn":{"properties":{"schema_version":{"type":"string","const":"record-entry-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"put_on_record","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm this exact saved version should be put on my public record. It cannot be edited or removed later; I can only reveal it or add to the record.","title":"Confirmation Statement"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":12,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"version_number":{"type":"integer","exclusiveMinimum":0.0,"title":"Version Number"},"visibility":{"type":"string","enum":["sealed","open"],"title":"Visibility","default":"open"},"kind":{"type":"string","enum":["thesis_version","theme_version","evidence_trail","replay","revision","correction","retraction","review","tracked_thesis"],"title":"Kind","default":"thesis_version"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"subject_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subject Entry Id"},"verdict":{"anyOf":[{"type":"string","enum":["stands","weakening","superseded"]},{"type":"null"}],"title":"Verdict"},"superseded_by_version_number":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Superseded By Version Number"},"expected_payload_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Payload Sha256"}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","version_number","expected_payload_sha256"],"title":"RecordEntryConfirmationIn"},"RecordEntryConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"record-entry-confirmation-v1","title":"Schema Version"},"created":{"type":"boolean","title":"Created"},"entry":{"$ref":"#/components/schemas/RecordEntryOut"}},"type":"object","required":["schema_version","created","entry"],"title":"RecordEntryConfirmationOut"},"RecordEntryOut":{"properties":{"moderation":{"anyOf":[{"$ref":"#/components/schemas/RecordModerationOut"},{"type":"null"}]},"publicly_visible":{"type":"boolean","title":"Publicly Visible","default":false},"publication_status":{"type":"string","enum":["sealed","withheld","published"],"title":"Publication Status","default":"withheld"},"id":{"type":"string","format":"uuid","title":"Id"},"sequence_number":{"type":"integer","title":"Sequence Number"},"kind":{"type":"string","enum":["thesis_version","theme_version","evidence_trail","replay","revision","correction","retraction","review","tracked_thesis"],"title":"Kind"},"visibility":{"type":"string","enum":["sealed","open"],"title":"Visibility"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Number"},"payload_sha256":{"type":"string","title":"Payload Sha256"},"entry_sha256":{"type":"string","title":"Entry Sha256"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opened At"},"public_url":{"type":"string","title":"Public Url"},"subject_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subject Entry Id"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"subject_type":{"type":"string","enum":["company","theme"],"title":"Subject Type","default":"company"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"verdict":{"anyOf":[{"type":"string","enum":["stands","weakening","superseded"]},{"type":"null"}],"title":"Verdict"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"tracked_disputes":{"items":{"$ref":"#/components/schemas/TrackedDisputeStatusOut"},"type":"array","title":"Tracked Disputes"},"anchored":{"anyOf":[{"$ref":"#/components/schemas/RecordAnchorRefOut"},{"type":"null"}]},"previous_entry_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Entry Sha256"},"signature":{"type":"string","title":"Signature"},"signing_key_id":{"type":"string","title":"Signing Key Id"},"canonical_payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Canonical Payload"}},"type":"object","required":["id","sequence_number","kind","visibility","ticker","version_number","payload_sha256","entry_sha256","recorded_at","opened_at","public_url","previous_entry_sha256","signature","signing_key_id","canonical_payload"],"title":"RecordEntryOut"},"RecordEntryProposalIn":{"properties":{"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":12,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"version_number":{"type":"integer","exclusiveMinimum":0.0,"title":"Version Number"},"visibility":{"type":"string","enum":["sealed","open"],"title":"Visibility","default":"open"},"kind":{"type":"string","enum":["thesis_version","theme_version","evidence_trail","replay","revision","correction","retraction","review","tracked_thesis"],"title":"Kind","default":"thesis_version"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"subject_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subject Entry Id"},"verdict":{"anyOf":[{"type":"string","enum":["stands","weakening","superseded"]},{"type":"null"}],"title":"Verdict"},"superseded_by_version_number":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Superseded By Version Number"}},"type":"object","required":["version_number"],"title":"RecordEntryProposalIn"},"RecordEntryProposalOut":{"properties":{"schema_version":{"type":"string","const":"record-entry-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_record_entry","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"kind":{"type":"string","enum":["thesis_version","theme_version","evidence_trail","replay","revision","correction","retraction","review","tracked_thesis"],"title":"Kind","default":"thesis_version"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"version_number":{"type":"integer","title":"Version Number"},"visibility":{"type":"string","enum":["sealed","open"],"title":"Visibility"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"subject_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subject Entry Id"},"verdict":{"anyOf":[{"type":"string","enum":["stands","weakening","superseded"]},{"type":"null"}],"title":"Verdict"},"superseded_by_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Superseded By Version Number"},"canonical_payload":{"additionalProperties":true,"type":"object","title":"Canonical Payload"},"payload_sha256":{"type":"string","title":"Payload Sha256"},"canonicalization":{"type":"string","title":"Canonicalization"},"already_on_record":{"anyOf":[{"$ref":"#/components/schemas/RecordEntrySummaryOut"},{"type":"null"}]},"confirmation_statement":{"type":"string","title":"Confirmation Statement"},"record_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Record Url"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"mutation_performed":{"type":"boolean","const":false,"title":"Mutation Performed","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","version_number","visibility","canonical_payload","payload_sha256","canonicalization","confirmation_statement","generated_at"],"title":"RecordEntryProposalOut"},"RecordEntrySummaryOut":{"properties":{"moderation":{"anyOf":[{"$ref":"#/components/schemas/RecordModerationOut"},{"type":"null"}]},"publicly_visible":{"type":"boolean","title":"Publicly Visible","default":false},"publication_status":{"type":"string","enum":["sealed","withheld","published"],"title":"Publication Status","default":"withheld"},"id":{"type":"string","format":"uuid","title":"Id"},"sequence_number":{"type":"integer","title":"Sequence Number"},"kind":{"type":"string","enum":["thesis_version","theme_version","evidence_trail","replay","revision","correction","retraction","review","tracked_thesis"],"title":"Kind"},"visibility":{"type":"string","enum":["sealed","open"],"title":"Visibility"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Number"},"payload_sha256":{"type":"string","title":"Payload Sha256"},"entry_sha256":{"type":"string","title":"Entry Sha256"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opened At"},"public_url":{"type":"string","title":"Public Url"},"subject_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subject Entry Id"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"subject_type":{"type":"string","enum":["company","theme"],"title":"Subject Type","default":"company"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"verdict":{"anyOf":[{"type":"string","enum":["stands","weakening","superseded"]},{"type":"null"}],"title":"Verdict"},"watchlist_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watchlist Id"}},"type":"object","required":["id","sequence_number","kind","visibility","ticker","version_number","payload_sha256","entry_sha256","recorded_at","opened_at","public_url"],"title":"RecordEntrySummaryOut"},"RecordKeyOut":{"properties":{"key_id":{"type":"string","title":"Key Id"},"algorithm":{"type":"string","const":"Ed25519","title":"Algorithm","default":"Ed25519"},"public_key_base64":{"type":"string","title":"Public Key Base64"},"current":{"type":"boolean","title":"Current"}},"type":"object","required":["key_id","public_key_base64","current"],"title":"RecordKeyOut"},"RecordKeysOut":{"properties":{"keys":{"items":{"$ref":"#/components/schemas/RecordKeyOut"},"type":"array","title":"Keys"},"canonicalization":{"type":"string","title":"Canonicalization"}},"type":"object","required":["canonicalization"],"title":"RecordKeysOut"},"RecordListingIn":{"properties":{"listed":{"type":"boolean","title":"Listed"}},"type":"object","required":["listed"],"title":"RecordListingIn"},"RecordMeOut":{"properties":{"profile":{"anyOf":[{"$ref":"#/components/schemas/RecordProfileOut"},{"type":"null"}]},"entries":{"items":{"$ref":"#/components/schemas/RecordEntryOut"},"type":"array","title":"Entries"},"signing_available":{"type":"boolean","title":"Signing Available"},"confirmation_statement":{"type":"string","title":"Confirmation Statement"},"readiness":{"$ref":"#/components/schemas/RecordReadinessOut"}},"type":"object","required":["profile","signing_available","confirmation_statement","readiness"],"title":"RecordMeOut"},"RecordModerationDecisionIn":{"properties":{"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Content Sha256"},"decision":{"type":"string","enum":["approved","rejected"],"title":"Decision"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"}},"type":"object","required":["content_sha256","decision","reason"],"title":"RecordModerationDecisionIn"},"RecordModerationOut":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"status":{"type":"string","enum":["pending","approved","rejected","needs_review"],"title":"Status"},"reason":{"type":"string","title":"Reason"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"content_sha256":{"type":"string","title":"Content Sha256"},"can_appeal":{"type":"boolean","title":"Can Appeal","default":false}},"type":"object","required":["status","reason","content_sha256"],"title":"RecordModerationOut"},"RecordProfileIn":{"properties":{"handle":{"type":"string","maxLength":40,"title":"Handle"},"display_name":{"type":"string","maxLength":120,"title":"Display Name"},"link_url":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Link Url"}},"type":"object","required":["handle","display_name"],"title":"RecordProfileIn"},"RecordProfileOut":{"properties":{"referral_code":{"type":"string","title":"Referral Code"},"referral_url":{"type":"string","title":"Referral Url"},"moderation":{"anyOf":[{"$ref":"#/components/schemas/RecordModerationOut"},{"type":"null"}]},"publication_status":{"type":"string","enum":["private","pending","published","taken_down"],"title":"Publication Status","default":"private"},"record_id":{"type":"string","format":"uuid","title":"Record Id"},"handle":{"type":"string","title":"Handle"},"display_name":{"type":"string","title":"Display Name"},"link_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link Url"},"listed":{"type":"boolean","title":"Listed"},"listed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Listed At"},"taken_down":{"type":"boolean","title":"Taken Down","default":false},"unlisted_by_writer":{"type":"boolean","title":"Unlisted By Writer","default":false},"public_url":{"type":"string","title":"Public Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["referral_code","referral_url","record_id","handle","display_name","link_url","listed","listed_at","public_url","created_at","updated_at"],"title":"RecordProfileOut"},"RecordPublicEntryOut":{"properties":{"latest_editorial_update_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Editorial Update Url"},"profile":{"$ref":"#/components/schemas/RecordPublicProfileOut"},"entry":{"$ref":"#/components/schemas/RecordEntryOut"},"verify_url":{"type":"string","title":"Verify Url"},"canonicalization":{"type":"string","title":"Canonicalization"},"anchored":{"anyOf":[{"$ref":"#/components/schemas/RecordAnchorRefOut"},{"type":"null"}]},"latest_review":{"anyOf":[{"$ref":"#/components/schemas/RecordReviewRefOut"},{"type":"null"}]}},"type":"object","required":["profile","entry","verify_url","canonicalization"],"title":"RecordPublicEntryOut"},"RecordPublicOut":{"properties":{"profile":{"$ref":"#/components/schemas/RecordPublicProfileOut"},"entries":{"items":{"$ref":"#/components/schemas/RecordEntryOut"},"type":"array","title":"Entries"},"canonicalization":{"type":"string","title":"Canonicalization"},"anchored":{"anyOf":[{"$ref":"#/components/schemas/RecordAnchorRefOut"},{"type":"null"}]}},"type":"object","required":["profile","canonicalization"],"title":"RecordPublicOut"},"RecordPublicProfileOut":{"properties":{"referral_code":{"type":"string","title":"Referral Code"},"record_id":{"type":"string","format":"uuid","title":"Record Id"},"handle":{"type":"string","title":"Handle"},"display_name":{"type":"string","title":"Display Name"},"link_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link Url"},"listed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Listed At"},"entry_count":{"type":"integer","title":"Entry Count"},"public_url":{"type":"string","title":"Public Url"}},"type":"object","required":["referral_code","record_id","handle","display_name","link_url","listed_at","entry_count","public_url"],"title":"RecordPublicProfileOut"},"RecordReadinessOut":{"properties":{"ready":{"type":"boolean","title":"Ready"},"why":{"type":"string","title":"Why"},"version_entries":{"type":"integer","title":"Version Entries"},"open_version_entries":{"type":"integer","title":"Open Version Entries"},"evidence_trail_entries":{"type":"integer","title":"Evidence Trail Entries"},"entries":{"type":"integer","title":"Entries"}},"type":"object","required":["ready","why","version_entries","open_version_entries","evidence_trail_entries","entries"],"title":"RecordReadinessOut","description":"Structural readiness for listing intent. Exact-content approval gates public access separately."},"RecordReferralReportOut":{"properties":{"window_days":{"type":"integer","title":"Window Days"},"since":{"type":"string","format":"date-time","title":"Since"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"writers":{"items":{"$ref":"#/components/schemas/RecordWriterReferralOut"},"type":"array","title":"Writers"}},"type":"object","required":["window_days","since","as_of","writers"],"title":"RecordReferralReportOut"},"RecordReviewRefOut":{"properties":{"entry_id":{"type":"string","format":"uuid","title":"Entry Id"},"sequence_number":{"type":"integer","title":"Sequence Number"},"reviewed_at":{"type":"string","format":"date-time","title":"Reviewed At"},"verdict":{"type":"string","enum":["stands","weakening","superseded"],"title":"Verdict"},"public_url":{"type":"string","title":"Public Url"}},"type":"object","required":["entry_id","sequence_number","reviewed_at","verdict","public_url"],"title":"RecordReviewRefOut"},"RecordVerificationCheckOut":{"properties":{"name":{"type":"string","title":"Name"},"passed":{"type":"boolean","title":"Passed"},"detail":{"type":"string","title":"Detail"}},"type":"object","required":["name","passed","detail"],"title":"RecordVerificationCheckOut"},"RecordVerificationOut":{"properties":{"entry_id":{"type":"string","format":"uuid","title":"Entry Id"},"valid":{"type":"boolean","title":"Valid"},"checks":{"items":{"$ref":"#/components/schemas/RecordVerificationCheckOut"},"type":"array","title":"Checks"},"signing_key_id":{"type":"string","title":"Signing Key Id"},"public_key_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Key Base64"},"canonicalization":{"type":"string","title":"Canonicalization"},"verified_at":{"type":"string","format":"date-time","title":"Verified At"}},"type":"object","required":["entry_id","valid","signing_key_id","public_key_base64","canonicalization","verified_at"],"title":"RecordVerificationOut"},"RecordWriterReferralOut":{"properties":{"handle":{"type":"string","title":"Handle"},"display_name":{"type":"string","title":"Display Name"},"referral_code":{"type":"string","title":"Referral Code"},"referral_url":{"type":"string","title":"Referral Url"},"signup_users":{"type":"integer","title":"Signup Users"},"setup_users":{"type":"integer","title":"Setup Users"},"evidence_inspected_users":{"type":"integer","title":"Evidence Inspected Users"},"explicitly_useful_users":{"type":"integer","title":"Explicitly Useful Users"},"return_eligible_users":{"type":"integer","title":"Return Eligible Users"},"later_day_return_users":{"type":"integer","title":"Later Day Return Users"},"median_hours_to_evidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Hours To Evidence"}},"type":"object","required":["handle","display_name","referral_code","referral_url","signup_users","setup_users","evidence_inspected_users","explicitly_useful_users","return_eligible_users","later_day_return_users","median_hours_to_evidence"],"title":"RecordWriterReferralOut"},"ReleaseRef":{"properties":{"entity_id":{"type":"string","maxLength":320,"minLength":1,"title":"Entity Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["entity_id","version"],"title":"ReleaseRef"},"ReplayDiagnosticsOut":{"properties":{"eligible_terminal_runs":{"type":"integer","minimum":0.0,"title":"Eligible Terminal Runs"},"observed_terminal_runs":{"type":"integer","minimum":0.0,"title":"Observed Terminal Runs"},"legacy_untraced_jobs":{"type":"integer","minimum":0.0,"title":"Legacy Untraced Jobs"},"queued_jobs":{"type":"integer","minimum":0.0,"title":"Queued Jobs"},"running_jobs":{"type":"integer","minimum":0.0,"title":"Running Jobs"},"stalled_jobs":{"type":"integer","minimum":0.0,"title":"Stalled Jobs"},"recent_executions":{"items":{"$ref":"#/components/schemas/ReplayExecutionDiagnosticOut"},"type":"array","maxItems":20,"title":"Recent Executions"}},"additionalProperties":false,"type":"object","required":["eligible_terminal_runs","observed_terminal_runs","legacy_untraced_jobs","queued_jobs","running_jobs","stalled_jobs","recent_executions"],"title":"ReplayDiagnosticsOut"},"ReplayEvaluationJobOut":{"properties":{"id":{"type":"integer","title":"Id"},"window_days":{"type":"integer","enum":[90,365],"title":"Window Days"},"status":{"type":"string","enum":["pending","running","complete","failed"],"title":"Status"},"stage":{"type":"string","enum":["queued","evaluating","complete","failed"],"title":"Stage"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"attempt_count":{"type":"integer","title":"Attempt Count"},"candidate_count":{"type":"integer","title":"Candidate Count"},"completed_count":{"type":"integer","title":"Completed Count"},"created_count":{"type":"integer","title":"Created Count"},"error_code":{"anyOf":[{"type":"string","enum":["dispatch_failed","task_failed","source_unavailable","release_mismatch"]},{"type":"null"}],"title":"Error Code"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","window_days","status","stage","requested_at","started_at","finished_at","attempt_count","candidate_count","completed_count","created_count","updated_at"],"title":"ReplayEvaluationJobOut"},"ReplayExecutionDiagnosticOut":{"properties":{"trace_id":{"type":"string","title":"Trace Id"},"job_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Job Id"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"evaluator_version":{"type":"string","title":"Evaluator Version"},"window_days":{"type":"integer","enum":[90,365],"title":"Window Days"},"status":{"type":"string","enum":["pending","running","complete","failed"],"title":"Status"},"candidate_count":{"type":"integer","minimum":0.0,"title":"Candidate Count"},"completed_count":{"type":"integer","minimum":0.0,"title":"Completed Count"},"created_count":{"type":"integer","minimum":0.0,"title":"Created Count"},"retry_count":{"type":"integer","minimum":0.0,"title":"Retry Count"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"observed":{"type":"boolean","title":"Observed"},"input_identity_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Identity Sha256"},"source_identity_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Identity Sha256"},"output_identity_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Identity Sha256"},"queue_wait_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Queue Wait Ms"},"elapsed_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Elapsed Ms"},"usage_event_count":{"type":"integer","minimum":0.0,"title":"Usage Event Count"},"estimated_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated Cost Usd"}},"additionalProperties":false,"type":"object","required":["trace_id","job_id","requested_at","finished_at","evaluator_version","window_days","status","candidate_count","completed_count","created_count","retry_count","error_code","observed","input_identity_sha256","source_identity_sha256","output_identity_sha256","queue_wait_ms","elapsed_ms","usage_event_count","estimated_cost_usd"],"title":"ReplayExecutionDiagnosticOut"},"ReplayFeedbackIn":{"properties":{"labels":{"items":{"type":"string","enum":["useful","not_useful","relevant","not_relevant","already_known","changed_view","wrong_relationship","wrong_citation"]},"type":"array","maxItems":8,"title":"Labels"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["labels"],"title":"ReplayFeedbackIn"},"ReplayFeedbackOut":{"properties":{"replay_evaluation_id":{"type":"integer","title":"Replay Evaluation Id"},"labels":{"items":{"type":"string","enum":["useful","not_useful","relevant","not_relevant","already_known","changed_view","wrong_relationship","wrong_citation"]},"type":"array","title":"Labels"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["replay_evaluation_id","labels","updated_at"],"title":"ReplayFeedbackOut"},"ReplayWarmupOut":{"properties":{"status":{"type":"string","enum":["not_started","pending","running","complete","partial","failed"],"title":"Status"},"ready":{"type":"boolean","title":"Ready"},"candidate_count":{"type":"integer","title":"Candidate Count","default":0},"added_count":{"type":"integer","title":"Added Count","default":0},"attempt_count":{"type":"integer","title":"Attempt Count","default":0},"requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"}},"type":"object","required":["status","ready"],"title":"ReplayWarmupOut","description":"Tenant-safe status for shared public-evidence preparation."},"ResearchCoverageOut":{"properties":{"dataset":{"type":"string","enum":["consensus","earnings_results","earnings_calendar","ir_presentations"],"title":"Dataset"},"status":{"type":"string","enum":["ready","stale","unavailable","failed","not_refreshed","licensing_required"],"title":"Status"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"last_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempted At"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"record_count":{"type":"integer","title":"Record Count","default":0},"metric_count":{"type":"integer","title":"Metric Count","default":0},"period_count":{"type":"integer","title":"Period Count","default":0},"earliest_period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Earliest Period End"},"latest_period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Latest Period End"},"freshness_sla_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Freshness Sla Hours"},"freshness_lag_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Freshness Lag Hours"}},"type":"object","required":["dataset","status","detail","last_attempted_at","last_success_at"],"title":"ResearchCoverageOut"},"ResearchHistoryClearedOut":{"properties":{"questions_deleted":{"type":"integer","title":"Questions Deleted"},"explanations_deleted":{"type":"integer","title":"Explanations Deleted"}},"type":"object","required":["questions_deleted","explanations_deleted"],"title":"ResearchHistoryClearedOut"},"ResetPasswordRequest":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","title":"Password"}},"type":"object","required":["token","password"],"title":"ResetPasswordRequest"},"Resolution":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"expected_request_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Request Sha256"},"resolution_entry_id":{"type":"string","format":"uuid","title":"Resolution Entry Id"},"expected_resolution_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Resolution Sha256"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_revision","expected_request_sha256","resolution_entry_id","expected_resolution_sha256","reason"],"title":"Resolution"},"ResultThesisImplicationOut":{"properties":{"id":{"type":"integer","title":"Id"},"alert_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Alert Id"},"status":{"type":"string","enum":["pending","relevant","irrelevant","abstained","failed"],"title":"Status"},"conclusion":{"type":"string","enum":["supports","weakens","unrelated","uncertain"],"title":"Conclusion"},"thesis_context_type":{"type":"string","enum":["ticker","shared"],"title":"Thesis Context Type"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"shared_thesis_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared Thesis Title"},"thesis_text":{"type":"string","title":"Thesis Text"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"materiality":{"anyOf":[{"type":"string","enum":["material","immaterial","uncertain"]},{"type":"null"}],"title":"Materiality"},"relationship":{"anyOf":[{"type":"string","enum":["support","contradict","neutral"]},{"type":"null"}],"title":"Relationship"},"thesis_impact":{"anyOf":[{"type":"string","enum":["strengthened","weakened","broken","uncertain"]},{"type":"null"}],"title":"Thesis Impact"},"thesis_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thesis Factor"},"evidence_factor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Factor"},"causal_bridge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Bridge"},"evaluated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Evaluated At"},"is_backfill":{"type":"boolean","title":"Is Backfill","default":false},"thesis_narrative":{"type":"string","title":"Thesis Narrative","readOnly":true},"thesis_components":{"items":{"$ref":"#/components/schemas/ThesisComponentSnapshotOut"},"type":"array","title":"Thesis Components","readOnly":true}},"type":"object","required":["id","status","conclusion","thesis_context_type","thesis_text","thesis_narrative","thesis_components"],"title":"ResultThesisImplicationOut","description":"One private judgment connecting a shared research result to saved reasoning."},"ResultThesisImplicationsOut":{"properties":{"artifact_id":{"type":"integer","title":"Artifact Id"},"source":{"type":"string","enum":["ask","call_drift","filing_diff","price_move"],"title":"Source"},"state":{"type":"string","enum":["not_evaluated","pending","ready"],"title":"State"},"implications":{"items":{"$ref":"#/components/schemas/ResultThesisImplicationOut"},"type":"array","title":"Implications"}},"type":"object","required":["artifact_id","source","state"],"title":"ResultThesisImplicationsOut","description":"Summary-first IA contract for a tenant judgment beneath shared evidence."},"RetrievalBakeoffComparisonIn":{"properties":{"plan":{"additionalProperties":true,"type":"object","title":"Plan"},"summaries":{"items":{"$ref":"#/components/schemas/RetrievalBakeoffSummaryIn"},"type":"array","maxItems":10,"minItems":1,"title":"Summaries"}},"additionalProperties":false,"type":"object","required":["plan","summaries"],"title":"RetrievalBakeoffComparisonIn"},"RetrievalBakeoffReadinessIn":{"properties":{"gold_file_utf8":{"type":"string","maxLength":10000000,"minLength":1,"title":"Gold File Utf8"},"expected_release_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Release Sha"},"expected_corpus_snapshot_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Corpus Snapshot Sha256"}},"additionalProperties":false,"type":"object","required":["gold_file_utf8","expected_release_sha","expected_corpus_snapshot_sha256"],"title":"RetrievalBakeoffReadinessIn"},"RetrievalBakeoffSummaryIn":{"properties":{"arm_id":{"type":"string","maxLength":80,"minLength":1,"title":"Arm Id"},"repeat":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Repeat"},"summary":{"additionalProperties":true,"type":"object","title":"Summary"}},"additionalProperties":false,"type":"object","required":["arm_id","repeat","summary"],"title":"RetrievalBakeoffSummaryIn"},"RetrievalQualityAccountImportOut":{"properties":{"schema_version":{"type":"string","const":"retrieval-quality-account-import/v1","title":"Schema Version"},"status":{"type":"string","const":"account_data_imported_pending_human_adjudication","title":"Status"},"eligible_ask_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Eligible Ask Count"},"imported_case_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Imported Case Count"},"mapped_evidence_count":{"type":"integer","maximum":500.0,"minimum":0.0,"title":"Mapped Evidence Count"},"unresolved_citation_count":{"type":"integer","minimum":0.0,"title":"Unresolved Citation Count"},"untouched_case_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Untouched Case Count"},"selected_tickers":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Selected Tickers"},"provider_or_model_calls":{"type":"integer","const":0,"title":"Provider Or Model Calls"},"server_content_retained":{"type":"boolean","const":false,"title":"Server Content Retained"},"authority":{"type":"string","title":"Authority"}},"additionalProperties":false,"type":"object","required":["schema_version","status","eligible_ask_count","imported_case_count","mapped_evidence_count","unresolved_citation_count","untouched_case_count","selected_tickers","provider_or_model_calls","server_content_retained","authority"],"title":"RetrievalQualityAccountImportOut"},"RetrievalQualityBindingsOut":{"properties":{"source_release_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Source Release Sha"},"corpus_snapshot_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Corpus Snapshot Sha256"},"transcript_policy_version":{"type":"string","title":"Transcript Policy Version"},"provider_code":{"type":"string","const":"earningscalls_dev","title":"Provider Code"},"embedding_model":{"type":"string","const":"voyage-4","title":"Embedding Model"}},"additionalProperties":false,"type":"object","required":["source_release_sha","corpus_snapshot_sha256","transcript_policy_version","provider_code","embedding_model"],"title":"RetrievalQualityBindingsOut"},"RetrievalQualityCoverageTargetsOut":{"properties":{"filing":{"type":"integer","exclusiveMinimum":0.0,"title":"Filing"},"earnings_call":{"type":"integer","exclusiveMinimum":0.0,"title":"Earnings Call"},"cross_corpus":{"type":"integer","exclusiveMinimum":0.0,"title":"Cross Corpus"},"exact_metric":{"type":"integer","exclusiveMinimum":0.0,"title":"Exact Metric"},"multi_condition":{"type":"integer","exclusiveMinimum":0.0,"title":"Multi Condition"},"speaker_section":{"type":"integer","exclusiveMinimum":0.0,"title":"Speaker Section"},"insufficient_evidence":{"type":"integer","exclusiveMinimum":0.0,"title":"Insufficient Evidence"}},"additionalProperties":false,"type":"object","required":["filing","earnings_call","cross_corpus","exact_metric","multi_condition","speaker_section","insufficient_evidence"],"title":"RetrievalQualityCoverageTargetsOut"},"RetrievalQualityDraftAdjudicationOut":{"properties":{"reviewer":{"type":"null","title":"Reviewer"},"reviewed_at":{"type":"null","title":"Reviewed At"},"notes":{"type":"string","const":"","title":"Notes"}},"additionalProperties":false,"type":"object","required":["reviewer","reviewed_at","notes"],"title":"RetrievalQualityDraftAdjudicationOut"},"RetrievalQualityDraftCaseOut":{"properties":{"id":{"type":"string","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"question":{"type":"string","title":"Question"},"primary_category":{"type":"string","enum":["filing","earnings_call","cross_corpus","exact_metric","multi_condition","speaker_section","insufficient_evidence"],"title":"Primary Category"},"evidence_groups":{"items":{"$ref":"#/components/schemas/RetrievalQualityEvidenceGroupOut"},"type":"array","title":"Evidence Groups"},"expect_answerable":{"type":"boolean","title":"Expect Answerable"},"verified":{"type":"boolean","const":false,"title":"Verified"},"verifier_notes":{"type":"string","const":"","title":"Verifier Notes"},"draft_provenance":{"anyOf":[{"$ref":"#/components/schemas/RetrievalQualityDraftProvenanceOut"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","ticker","question","primary_category","evidence_groups","expect_answerable","verified","verifier_notes"],"title":"RetrievalQualityDraftCaseOut"},"RetrievalQualityDraftProvenanceOut":{"properties":{"status":{"type":"string","enum":["untrusted_suggestion","copied_from_account"],"title":"Status"},"origin":{"type":"string","enum":["account_ask","account_thesis","source_generated","editorial_factor"],"title":"Origin"},"source_record_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Source Record Id"},"source_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Run Id"},"source_candidate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Candidate Id"},"source_factor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Factor Id"},"evidence_mode":{"anyOf":[{"type":"string","enum":["direct","proxy","none"]},{"type":"null"}],"title":"Evidence Mode"},"review_hint":{"type":"string","title":"Review Hint"}},"additionalProperties":false,"type":"object","required":["status","origin","review_hint"],"title":"RetrievalQualityDraftProvenanceOut"},"RetrievalQualityEditorialImportOut":{"properties":{"schema_version":{"type":"string","const":"retrieval-quality-editorial-import/v1","title":"Schema Version"},"status":{"type":"string","const":"editorial_factor_packets_imported_pending_human_adjudication","title":"Status"},"source_run_id":{"type":"string","title":"Source Run Id"},"target_candidate_count":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Target Candidate Count"},"accepted_candidate_count":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Accepted Candidate Count"},"selected_candidate_count":{"type":"integer","maximum":200.0,"minimum":0.0,"title":"Selected Candidate Count"},"eligible_factor_count":{"type":"integer","maximum":600.0,"minimum":1.0,"title":"Eligible Factor Count"},"imported_case_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Imported Case Count"},"mapped_evidence_count":{"type":"integer","maximum":500.0,"minimum":0.0,"title":"Mapped Evidence Count"},"direct_factor_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Direct Factor Count"},"proxy_factor_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Proxy Factor Count"},"no_current_match_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"No Current Match Count"},"unresolved_factor_count":{"type":"integer","maximum":600.0,"minimum":0.0,"title":"Unresolved Factor Count"},"untouched_case_count":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Untouched Case Count"},"selected_tickers":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Selected Tickers"},"provider_or_model_calls":{"type":"integer","const":0,"title":"Provider Or Model Calls"},"candidate_generation_repeated":{"type":"boolean","const":false,"title":"Candidate Generation Repeated"},"worksheet_content_retained":{"type":"boolean","const":false,"title":"Worksheet Content Retained"},"authority":{"type":"string","title":"Authority"}},"additionalProperties":false,"type":"object","required":["schema_version","status","source_run_id","target_candidate_count","accepted_candidate_count","selected_candidate_count","eligible_factor_count","imported_case_count","mapped_evidence_count","direct_factor_count","proxy_factor_count","no_current_match_count","unresolved_factor_count","untouched_case_count","selected_tickers","provider_or_model_calls","candidate_generation_repeated","worksheet_content_retained","authority"],"title":"RetrievalQualityEditorialImportOut"},"RetrievalQualityEvidenceCatalogItemOut":{"properties":{"ref":{"$ref":"#/components/schemas/RetrievalQualityEvidenceRefOut"},"ticker":{"type":"string","title":"Ticker"},"section":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Section"},"chunk_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chunk Index"},"filing_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Filing Id"},"form_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form Type"},"fiscal_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiscal Period"},"filed_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filed Date"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"call_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Date"},"call_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Title"},"speaker_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Role"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"},"source_url":{"type":"string","title":"Source Url"},"content_shape":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Shape"},"source_excerpt":{"type":"string","title":"Source Excerpt"},"source_excerpt_truncated":{"type":"boolean","title":"Source Excerpt Truncated"}},"additionalProperties":false,"type":"object","required":["ref","ticker","source_url","source_excerpt","source_excerpt_truncated"],"title":"RetrievalQualityEvidenceCatalogItemOut"},"RetrievalQualityEvidenceGroupOut":{"properties":{"source_type":{"type":"string","enum":["filing","earnings_call"],"title":"Source Type"},"acceptable_ids":{"items":{"type":"integer"},"type":"array","maxItems":12,"minItems":1,"title":"Acceptable Ids"},"expected_section":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Section"},"expected_speaker_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Speaker Role"}},"additionalProperties":false,"type":"object","required":["source_type","acceptable_ids"],"title":"RetrievalQualityEvidenceGroupOut"},"RetrievalQualityEvidenceRefOut":{"properties":{"source_type":{"type":"string","enum":["filing","earnings_call"],"title":"Source Type"},"id":{"type":"integer","exclusiveMinimum":0.0,"title":"Id"}},"additionalProperties":false,"type":"object","required":["source_type","id"],"title":"RetrievalQualityEvidenceRefOut"},"RetrievalQualityImportedDraftOut":{"properties":{"schema_version":{"type":"string","const":"retrieval-quality-gold-set/v1","title":"Schema Version"},"status":{"type":"string","const":"draft_pending_human_adjudication","title":"Status"},"bindings":{"$ref":"#/components/schemas/RetrievalQualityBindingsOut"},"coverage_targets":{"$ref":"#/components/schemas/RetrievalQualityCoverageTargetsOut"},"adjudication":{"$ref":"#/components/schemas/RetrievalQualityDraftAdjudicationOut"},"instructions":{"items":{"type":"string"},"type":"array","title":"Instructions"},"evidence_catalog":{"items":{"$ref":"#/components/schemas/RetrievalQualityEvidenceCatalogItemOut"},"type":"array","maxItems":500,"minItems":1,"title":"Evidence Catalog"},"cases":{"items":{"$ref":"#/components/schemas/RetrievalQualityDraftCaseOut"},"type":"array","maxItems":100,"minItems":100,"title":"Cases"},"account_import":{"anyOf":[{"$ref":"#/components/schemas/RetrievalQualityAccountImportOut"},{"type":"null"}]},"editorial_import":{"anyOf":[{"$ref":"#/components/schemas/RetrievalQualityEditorialImportOut"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["schema_version","status","bindings","coverage_targets","adjudication","instructions","evidence_catalog","cases"],"title":"RetrievalQualityImportedDraftOut"},"ReviewIn":{"properties":{"observed_as_of":{"type":"string","format":"date-time","title":"Observed As Of"}},"additionalProperties":false,"type":"object","required":["observed_as_of"],"title":"ReviewIn"},"RuntimePoolMetricsOut":{"properties":{"pool_min":{"type":"integer","title":"Pool Min"},"pool_max":{"type":"integer","title":"Pool Max"},"pool_size":{"type":"integer","title":"Pool Size"},"pool_available":{"type":"integer","title":"Pool Available"},"checked_out":{"type":"integer","title":"Checked Out"},"utilization_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Utilization Pct"},"requests_waiting":{"type":"integer","title":"Requests Waiting"},"requests_num":{"type":"integer","title":"Requests Num"},"requests_queued":{"type":"integer","title":"Requests Queued"},"queued_request_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Queued Request Pct"},"requests_wait_ms":{"type":"integer","title":"Requests Wait Ms"},"average_queued_wait_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Queued Wait Ms"},"requests_errors":{"type":"integer","title":"Requests Errors"},"request_error_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Request Error Pct"}},"type":"object","required":["pool_min","pool_max","pool_size","pool_available","checked_out","utilization_pct","requests_waiting","requests_num","requests_queued","queued_request_pct","requests_wait_ms","average_queued_wait_ms","requests_errors","request_error_pct"],"title":"RuntimePoolMetricsOut"},"Save":{"properties":{"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"record":{"$ref":"#/components/schemas/Record"}},"additionalProperties":false,"type":"object","required":["expected_revision","record"],"title":"Save"},"SavedRecord":{"properties":{"kind":{"type":"string","enum":["watchlist","company","theme"],"title":"Kind"},"target":{"type":"string","title":"Target"},"target_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Label"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Id"},"changed":{"type":"boolean","title":"Changed"},"monitoring_selected":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Monitoring Selected"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash"}},"additionalProperties":false,"type":"object","required":["kind","target","changed"],"title":"SavedRecord"},"ScreenOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"thesis_shape":{"type":"string","title":"Thesis Shape"},"verdict":{"type":"string","title":"Verdict"},"reasoning":{"type":"string","title":"Reasoning"},"screened_at":{"type":"string","format":"date-time","title":"Screened At"}},"type":"object","required":["id","ticker","thesis_shape","verdict","reasoning","screened_at"],"title":"ScreenOut"},"ScreenRunRequest":{"properties":{"thesis":{"type":"string","maxLength":100,"minLength":1,"title":"Thesis"},"ticker":{"type":"string","maxLength":16,"minLength":1,"title":"Ticker"}},"type":"object","required":["thesis","ticker"],"title":"ScreenRunRequest"},"SectionDiffStat":{"properties":{"section":{"type":"string","title":"Section"},"added":{"type":"integer","title":"Added"},"removed":{"type":"integer","title":"Removed"}},"type":"object","required":["section","added","removed"],"title":"SectionDiffStat"},"SegmentFactOut":{"properties":{"id":{"type":"integer","title":"Id"},"fact_set_id":{"type":"integer","title":"Fact Set Id"},"metric":{"type":"string","title":"Metric"},"value":{"type":"string","title":"Value"},"unit":{"type":"string","title":"Unit"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"dimension":{"type":"string","enum":["business","geography","product","other"],"title":"Dimension"},"period_type":{"type":"string","enum":["quarterly","annual"],"title":"Period Type"},"period_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year"},"fiscal_quarter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Quarter"},"reported_label":{"type":"string","title":"Reported Label"},"reported_total":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reported Total"},"summed_segment_value":{"type":"string","title":"Summed Segment Value"},"reconciliation_status":{"type":"string","enum":["reconciled","unreconciled","not_tested"],"title":"Reconciliation Status"},"reconciliation_difference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reconciliation Difference"},"reconciliation_tolerance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reconciliation Tolerance"},"provider":{"type":"string","title":"Provider"},"provider_display_name":{"type":"string","title":"Provider Display Name"},"source_url":{"type":"string","title":"Source Url"},"source_locator":{"type":"string","title":"Source Locator"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"ingested_at":{"type":"string","format":"date-time","title":"Ingested At"},"superseded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Superseded At"},"is_current":{"type":"boolean","title":"Is Current"}},"type":"object","required":["id","fact_set_id","metric","value","unit","currency","dimension","period_type","period_start","period_end","fiscal_year","fiscal_quarter","reported_label","reported_total","summed_segment_value","reconciliation_status","reconciliation_difference","reconciliation_tolerance","provider","provider_display_name","source_url","source_locator","published_at","observed_at","ingested_at","superseded_at","is_current"],"title":"SegmentFactOut"},"SegmentLabelHistoryOut":{"properties":{"reported_label":{"type":"string","title":"Reported Label"},"normalized_label":{"type":"string","title":"Normalized Label"},"first_observed_at":{"type":"string","format":"date-time","title":"First Observed At"},"last_observed_at":{"type":"string","format":"date-time","title":"Last Observed At"}},"type":"object","required":["reported_label","normalized_label","first_observed_at","last_observed_at"],"title":"SegmentLabelHistoryOut"},"SegmentResearchOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"coverage_status":{"type":"string","enum":["ready","not_available"],"title":"Coverage Status"},"coverage_detail":{"type":"string","title":"Coverage Detail"},"segments":{"items":{"$ref":"#/components/schemas/CompanySegmentOut"},"type":"array","title":"Segments"}},"type":"object","required":["ticker","coverage_status","coverage_detail"],"title":"SegmentResearchOut"},"Send":{"properties":{"expected_recipients":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Expected Recipients"},"max_messages":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Messages","default":10}},"additionalProperties":false,"type":"object","required":["expected_recipients"],"title":"Send"},"SetPasswordRequest":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"SetPasswordRequest"},"SetupBatchOut":{"properties":{"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"label":{"type":"string","title":"Label"},"credential_name":{"type":"string","title":"Credential Name"},"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"state_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"State Hash"},"status":{"type":"string","enum":["prepared","approved","applied","rejected","expired"],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"operations":{"items":{"$ref":"#/components/schemas/Preview"},"type":"array","title":"Operations"},"review_url":{"type":"string","title":"Review Url"},"receipt":{"anyOf":[{"$ref":"#/components/schemas/SetupReceipt"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["batch_id","label","credential_name","payload_hash","state_hash","status","created_at","expires_at","operations","review_url"],"title":"SetupBatchOut"},"SetupReceipt":{"properties":{"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"applied_at":{"type":"string","format":"date-time","title":"Applied At"},"records":{"items":{"$ref":"#/components/schemas/SavedRecord"},"type":"array","title":"Records"},"research_started":{"type":"boolean","const":false,"title":"Research Started","default":false},"monitoring_selection_changed":{"type":"boolean","title":"Monitoring Selection Changed","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0}},"additionalProperties":false,"type":"object","required":["batch_id","payload_hash","applied_at","records"],"title":"SetupReceipt"},"SharedThesisActivationIn":{"properties":{"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["is_active"],"title":"SharedThesisActivationIn"},"SharedThesisFindingOut":{"properties":{"id":{"type":"integer","title":"Id"},"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"shared_thesis_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Version Id"},"shared_thesis_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Version Number"},"shared_thesis_title":{"type":"string","title":"Shared Thesis Title"},"source":{"type":"string","title":"Source"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"materiality":{"type":"string","title":"Materiality","default":"unknown"},"relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship"},"is_backfill":{"type":"boolean","title":"Is Backfill","default":false},"linked_tickers":{"items":{"type":"string"},"type":"array","title":"Linked Tickers"}},"type":"object","required":["id","shared_thesis_id","shared_thesis_title","source","title","summary","detected_at"],"title":"SharedThesisFindingOut","description":"Market-wide evidence judged against a theme, not against a company.\n\nCarries the linked tickers so a company page can show it marked as theme-level.\nIt is context there, never a company alert: the finding is about the view, and the\nreader's own link is what connects it to the holding."},"SharedThesisHistoryOut":{"properties":{"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"versions":{"items":{"$ref":"#/components/schemas/SharedThesisVersionOut"},"type":"array","title":"Versions"},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["shared_thesis_id"],"title":"SharedThesisHistoryOut"},"SharedThesisLinkIn":{"properties":{"effect":{"type":"string","enum":["tailwind","headwind","mixed","uncertain"],"title":"Effect"},"rationale":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Rationale"}},"type":"object","required":["effect"],"title":"SharedThesisLinkIn"},"SharedThesisLinkNotificationIn":{"properties":{"notifications_muted":{"type":"boolean","title":"Notifications Muted"}},"type":"object","required":["notifications_muted"],"title":"SharedThesisLinkNotificationIn"},"SharedThesisLinkOut":{"properties":{"id":{"type":"integer","title":"Id"},"security_id":{"type":"integer","title":"Security Id"},"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"effect":{"type":"string","enum":["tailwind","headwind","mixed","uncertain"],"title":"Effect"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"notifications_muted":{"type":"boolean","title":"Notifications Muted"},"monitoring_eligible":{"type":"boolean","title":"Monitoring Eligible","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","security_id","ticker","company_name","effect","rationale","notifications_muted","created_at","updated_at"],"title":"SharedThesisLinkOut"},"SharedThesisLinkSuggestionOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"effect":{"type":"string","enum":["tailwind","headwind","mixed","uncertain"],"title":"Effect"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"tracked":{"type":"boolean","title":"Tracked","default":true},"evidence_excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Excerpt"},"evidence_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Source"},"evidence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Url"}},"type":"object","required":["ticker","company_name","effect","rationale"],"title":"SharedThesisLinkSuggestionOut"},"SharedThesisOut":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"thesis_text":{"type":"string","title":"Thesis Text"},"preset_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset Key"},"is_active":{"type":"boolean","title":"Is Active"},"monitoring_eligible":{"type":"boolean","title":"Monitoring Eligible","default":true},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"components":{"items":{"$ref":"#/components/schemas/ThesisComponentOut"},"type":"array","title":"Components"},"links":{"items":{"$ref":"#/components/schemas/SharedThesisLinkOut"},"type":"array","title":"Links"},"version_count":{"type":"integer","title":"Version Count"},"is_testable":{"type":"boolean","title":"Is Testable"}},"type":"object","required":["id","title","thesis_text","preset_key","is_active","archived_at","created_at","updated_at","version_count","is_testable"],"title":"SharedThesisOut"},"SharedThesisSaveIn":{"properties":{"components":{"items":{"$ref":"#/components/schemas/ThesisComponentIn"},"type":"array","maxItems":24,"title":"Components"},"title":{"type":"string","maxLength":160,"minLength":3,"title":"Title"},"thesis_text":{"type":"string","maxLength":20000,"minLength":3,"title":"Thesis Text"},"preset_key":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Preset Key"}},"type":"object","required":["title","thesis_text"],"title":"SharedThesisSaveIn"},"SharedThesisVersionOut":{"properties":{"version_number":{"type":"integer","title":"Version Number"},"title":{"type":"string","title":"Title"},"narrative_text":{"type":"string","title":"Narrative Text"},"components":{"items":{"$ref":"#/components/schemas/ThesisVersionComponentOut"},"type":"array","title":"Components"},"links":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Links"},"change_kind":{"type":"string","enum":["initial_snapshot","narrative_saved","structure_saved","links_saved"],"title":"Change Kind"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"is_current":{"type":"boolean","title":"Is Current"},"market_contexts":{"items":{"$ref":"#/components/schemas/ThesisPerformanceLegOut"},"type":"array","title":"Market Contexts"},"record_entry":{"anyOf":[{"$ref":"#/components/schemas/RecordEntrySummaryOut"},{"type":"null"}]},"record_derived_entries":{"items":{"$ref":"#/components/schemas/RecordEntrySummaryOut"},"type":"array","title":"Record Derived Entries"},"revision_note":{"anyOf":[{"$ref":"#/components/schemas/ThesisRevisionNoteOut"},{"type":"null"}]}},"type":"object","required":["version_number","title","narrative_text","change_kind","effective_at","recorded_at","is_current"],"title":"SharedThesisVersionOut"},"SignalFacetsOut":{"properties":{"tickers":{"items":{"type":"string"},"type":"array","title":"Tickers"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources"},"signal_count":{"type":"integer","title":"Signal Count","default":0}},"type":"object","title":"SignalFacetsOut","description":"Unpaged filter choices and count for the unified What changed feed."},"SignalOut":{"properties":{"record_type":{"type":"string","enum":["alert","theme_finding"],"title":"Record Type"},"alert":{"anyOf":[{"$ref":"#/components/schemas/AlertOut"},{"type":"null"}]},"theme_finding":{"anyOf":[{"$ref":"#/components/schemas/SharedThesisFindingOut"},{"type":"null"}]}},"type":"object","required":["record_type"],"title":"SignalOut","description":"One row in the unified What changed feed.\n\nThe payload remains discriminated instead of flattening a market-wide theme\nfinding into an alert-shaped object. In particular, a theme finding has no ticker:\npresenting one would imply a company-level causal judgment the macro evaluator\ndeliberately did not make."},"SignalPreferenceOut":{"properties":{"kind":{"type":"string","enum":["source","ticker"],"title":"Kind"},"value":{"type":"string","title":"Value"},"ratings":{"type":"integer","title":"Ratings"},"usefulness":{"type":"number","title":"Usefulness"},"affects_ranking":{"type":"boolean","title":"Affects Ranking"},"reset_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reset At"}},"type":"object","required":["kind","value","ratings","usefulness","affects_ranking"],"title":"SignalPreferenceOut","description":"What a reader's ratings of one source or one company do to their feed order."},"SignupAttributionOut":{"properties":{"method":{"type":"string","title":"Method"},"acquisition_source":{"type":"string","title":"Acquisition Source"},"cta_placement":{"type":"string","title":"Cta Placement"},"unique_users":{"type":"integer","title":"Unique Users"}},"type":"object","required":["method","acquisition_source","cta_placement","unique_users"],"title":"SignupAttributionOut"},"SignupConfigOut":{"properties":{"email_signups_paused":{"type":"boolean","title":"Email Signups Paused"},"turnstile_site_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Site Key"},"play_integrity_project_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Play Integrity Project Number"}},"type":"object","required":["email_signups_paused"],"title":"SignupConfigOut"},"SignupControlsIn":{"properties":{"email_signups_paused":{"type":"boolean","title":"Email Signups Paused"}},"type":"object","required":["email_signups_paused"],"title":"SignupControlsIn"},"SignupControlsOut":{"properties":{"email_signups_paused":{"type":"boolean","title":"Email Signups Paused"},"paused_changed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paused Changed At"},"spike_alerted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Spike Alerted At"}},"type":"object","required":["email_signups_paused"],"title":"SignupControlsOut"},"SignupRequest":{"properties":{"onboarding_next":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Onboarding Next"},"preview_handoff":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Preview Handoff"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"acquisition_channel":{"anyOf":[{"type":"string","enum":["reddit","instagram","owned_web","x","linkedin","email","substack","direct"]},{"type":"null"}],"title":"Acquisition Channel"},"acquisition_entry":{"anyOf":[{"type":"string","enum":["feed","profile_bio","story_link","landing","review","direct","record_page","record_entry","badge"]},{"type":"null"}],"title":"Acquisition Entry"},"acquisition_medium":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Acquisition Medium"},"acquisition_campaign":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Campaign"},"acquisition_creative":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Acquisition Creative"},"acquisition_source":{"anyOf":[{"type":"string","enum":["landing","editorial_email","editorial_review","record","get_app","assistants"]},{"type":"null"}],"title":"Acquisition Source"},"cta_placement":{"anyOf":[{"type":"string","enum":["header","hero","reason_preview","revision","footer"]},{"type":"null"}],"title":"Cta Placement"},"hero_variant":{"anyOf":[{"type":"string","enum":["record","replay","scope","control"]},{"type":"null"}],"title":"Hero Variant"},"acquisition_token":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Acquisition Token"},"writer_referral_code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Writer Referral Code"},"client":{"type":"string","enum":["web","app"],"title":"Client","default":"web"},"turnstile_token":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Turnstile Token"},"integrity_token":{"anyOf":[{"type":"string","maxLength":16384},{"type":"null"}],"title":"Integrity Token"}},"type":"object","required":["email","password"],"title":"SignupRequest"},"SlateProposalImportIn":{"properties":{"schema_version":{"type":"string","const":"editorial-slate-proposal-import/v1","title":"Schema Version"},"slate_yaml":{"type":"string","maxLength":1000000,"minLength":1,"title":"Slate Yaml"},"source_release_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Source Release Sha"},"source_commit_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Source Commit Sha"},"source_document_path":{"type":"string","maxLength":500,"minLength":1,"title":"Source Document Path","default":"docs/product/public-thesis-slate.yaml"},"author_provenance":{"$ref":"#/components/schemas/AuthorProvenanceIn"},"generator_provenance":{"$ref":"#/components/schemas/GeneratorProvenanceIn"}},"additionalProperties":false,"type":"object","required":["schema_version","slate_yaml","source_release_sha","source_commit_sha","author_provenance","generator_provenance"],"title":"SlateProposalImportIn"},"SlateProposalVersionIn":{"properties":{"schema_version":{"type":"string","const":"editorial-slate-proposal-import/v1","title":"Schema Version"},"slate_yaml":{"type":"string","maxLength":1000000,"minLength":1,"title":"Slate Yaml"},"source_release_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Source Release Sha"},"source_commit_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Source Commit Sha"},"source_document_path":{"type":"string","maxLength":500,"minLength":1,"title":"Source Document Path","default":"docs/product/public-thesis-slate.yaml"},"author_provenance":{"$ref":"#/components/schemas/AuthorProvenanceIn"},"generator_provenance":{"$ref":"#/components/schemas/GeneratorProvenanceIn"},"base_version_number":{"type":"integer","minimum":1.0,"title":"Base Version Number"}},"additionalProperties":false,"type":"object","required":["schema_version","slate_yaml","source_release_sha","source_commit_sha","author_provenance","generator_provenance","base_version_number"],"title":"SlateProposalVersionIn"},"SourceChunk":{"properties":{"source_type":{"type":"string","enum":["filing","earnings_call","disclosure"],"title":"Source Type","default":"filing"},"ticker":{"type":"string","title":"Ticker"},"section":{"type":"string","title":"Section"},"fiscal_period":{"type":"string","title":"Fiscal Period"},"filed_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Filed Date"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"publication_date_known":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Publication Date Known"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"provider_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Code"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"},"speaker_role":{"anyOf":[{"type":"string","enum":["executive","analyst","operator","other","unknown"]},{"type":"null"}],"title":"Speaker Role"},"source_locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Locator"},"source_artifact_version_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Artifact Version Id"},"source_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Segment Id"},"source_chunk_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Chunk Id"},"source_document_chunk_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Document Chunk Id"},"source_document_segment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Document Segment Id"},"form_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form Type"},"char_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Char Start"},"char_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Char End"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Number"},"chunk_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chunk Index"},"source_url":{"type":"string","title":"Source Url"},"company_transcript_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Transcript Url"}},"type":"object","required":["ticker","section","fiscal_period","source_url"],"title":"SourceChunk"},"SourceType":{"type":"string","enum":["filing","earnings_call","ir_presentation","news","market_data","economic_release","other"],"title":"SourceType"},"SubmitProof":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"expected_request_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Request Sha256"},"proof_url":{"type":"string","maxLength":2000,"minLength":1,"title":"Proof Url"}},"additionalProperties":false,"type":"object","required":["expected_revision","expected_request_sha256","proof_url"],"title":"SubmitProof"},"SummarySectionOut":{"properties":{"heading":{"type":"string","title":"Heading"},"body":{"type":"string","title":"Body"}},"type":"object","required":["heading","body"],"title":"SummarySectionOut"},"TaskQueueMetricsOut":{"properties":{"queue":{"type":"string","enum":["critical","background"],"title":"Queue"},"queued_count":{"type":"integer","title":"Queued Count"},"oldest_queued_age_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Oldest Queued Age Seconds"},"running_count":{"type":"integer","title":"Running Count"},"completed_count":{"type":"integer","title":"Completed Count"},"failed_count":{"type":"integer","title":"Failed Count"},"retry_count":{"type":"integer","title":"Retry Count"},"median_duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Duration Seconds"}},"type":"object","required":["queue","queued_count","oldest_queued_age_seconds","running_count","completed_count","failed_count","retry_count","median_duration_seconds"],"title":"TaskQueueMetricsOut"},"ThemeInterviewAmbiguityOut":{"properties":{"ambiguity_id":{"type":"string","title":"Ambiguity Id"},"target":{"$ref":"#/components/schemas/ThemeInterviewTarget"},"question":{"type":"string","title":"Question"}},"type":"object","required":["ambiguity_id","target","question"],"title":"ThemeInterviewAmbiguityOut"},"ThemeInterviewApprovalIn":{"properties":{"narrative":{"type":"string","maxLength":20000,"minLength":3,"title":"Narrative"},"statements":{"items":{"$ref":"#/components/schemas/ApprovedThemeStatementIn"},"type":"array","maxItems":24,"title":"Statements","default":[]},"relationships":{"items":{"$ref":"#/components/schemas/ApprovedThemeRelationshipIn"},"type":"array","maxItems":12,"title":"Relationships","default":[]}},"additionalProperties":false,"type":"object","required":["narrative"],"title":"ThemeInterviewApprovalIn"},"ThemeInterviewApprovalOut":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"shared_thesis_version_id":{"type":"integer","title":"Shared Thesis Version Id"},"shared_thesis_version_number":{"type":"integer","title":"Shared Thesis Version Number"},"component_count":{"type":"integer","title":"Component Count"},"link_count":{"type":"integer","title":"Link Count"},"deferred_company_count":{"type":"integer","title":"Deferred Company Count"},"muted_link_count":{"type":"integer","title":"Muted Link Count"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["session_id","shared_thesis_id","shared_thesis_version_id","shared_thesis_version_number","component_count","link_count","deferred_company_count","muted_link_count","is_active"],"title":"ThemeInterviewApprovalOut"},"ThemeInterviewCapabilityOut":{"properties":{"available":{"type":"boolean","title":"Available"},"voice_available":{"type":"boolean","title":"Voice Available","default":false},"allowance":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Allowance"},"current_session":{"anyOf":[{"$ref":"#/components/schemas/ThemeInterviewSessionOut"},{"type":"null"}]}},"type":"object","required":["available"],"title":"ThemeInterviewCapabilityOut"},"ThemeInterviewCompanyIn":{"properties":{"ticker":{"type":"string","maxLength":10,"minLength":1,"title":"Ticker"}},"additionalProperties":false,"type":"object","required":["ticker"],"title":"ThemeInterviewCompanyIn"},"ThemeInterviewCompanyOut":{"properties":{"company_id":{"type":"integer","title":"Company Id"},"security_id":{"type":"integer","title":"Security Id"},"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"status":{"type":"string","title":"Status"},"model_turns_used":{"type":"integer","title":"Model Turns Used"},"max_model_turns":{"type":"integer","title":"Max Model Turns"},"relationship":{"anyOf":[{"$ref":"#/components/schemas/ThemeInterviewRelationshipOut"},{"type":"null"}]}},"type":"object","required":["company_id","security_id","ticker","company_name","status","model_turns_used","max_model_turns"],"title":"ThemeInterviewCompanyOut"},"ThemeInterviewCompanyStatusIn":{"properties":{"status":{"type":"string","enum":["active","deferred","removed"],"title":"Status"}},"additionalProperties":false,"type":"object","required":["status"],"title":"ThemeInterviewCompanyStatusIn"},"ThemeInterviewMessageIn":{"properties":{"content":{"type":"string","maxLength":4000,"minLength":1,"title":"Content"},"turn_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Turn Key"}},"additionalProperties":false,"type":"object","required":["content"],"title":"ThemeInterviewMessageIn"},"ThemeInterviewRelationshipOut":{"properties":{"relationship_id":{"type":"string","title":"Relationship Id"},"company_id":{"type":"integer","title":"Company Id"},"effect":{"type":"string","enum":["tailwind","headwind","mixed","uncertain"],"title":"Effect"},"rationale":{"type":"string","title":"Rationale"},"is_paraphrase":{"type":"boolean","title":"Is Paraphrase"},"quotes":{"items":{"type":"string"},"type":"array","title":"Quotes"}},"type":"object","required":["relationship_id","company_id","effect","rationale","is_paraphrase","quotes"],"title":"ThemeInterviewRelationshipOut"},"ThemeInterviewSessionOut":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"watchlist_id":{"type":"integer","title":"Watchlist Id"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status"},"model_turns_used":{"type":"integer","title":"Model Turns Used"},"max_model_turns":{"type":"integer","title":"Max Model Turns"},"summary":{"type":"string","title":"Summary"},"next_target":{"anyOf":[{"$ref":"#/components/schemas/ThemeInterviewTarget"},{"type":"null"}]},"next_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Question"},"ready_for_review":{"type":"boolean","title":"Ready For Review"},"statements":{"items":{"$ref":"#/components/schemas/ThemeInterviewStatementOut"},"type":"array","title":"Statements"},"companies":{"items":{"$ref":"#/components/schemas/ThemeInterviewCompanyOut"},"type":"array","title":"Companies"},"ambiguities":{"items":{"$ref":"#/components/schemas/ThemeInterviewAmbiguityOut"},"type":"array","title":"Ambiguities"},"turns":{"items":{"$ref":"#/components/schemas/ThemeInterviewTurnOut"},"type":"array","title":"Turns","default":[]},"last_rejection_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Rejection Code"}},"type":"object","required":["session_id","watchlist_id","title","status","model_turns_used","max_model_turns","summary","next_target","next_question","ready_for_review","statements","companies","ambiguities"],"title":"ThemeInterviewSessionOut"},"ThemeInterviewStartIn":{"properties":{"watchlist_id":{"type":"integer","title":"Watchlist Id"},"title":{"type":"string","maxLength":160,"minLength":3,"title":"Title"}},"additionalProperties":false,"type":"object","required":["watchlist_id","title"],"title":"ThemeInterviewStartIn"},"ThemeInterviewStatementOut":{"properties":{"statement_id":{"type":"string","title":"Statement Id"},"kind":{"type":"string","title":"Kind"},"text":{"type":"string","title":"Text"},"is_paraphrase":{"type":"boolean","title":"Is Paraphrase"},"quotes":{"items":{"type":"string"},"type":"array","title":"Quotes"}},"type":"object","required":["statement_id","kind","text","is_paraphrase","quotes"],"title":"ThemeInterviewStatementOut"},"ThemeInterviewTarget":{"properties":{"kind":{"type":"string","enum":["theme","company"],"title":"Kind"},"company_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Company Id"}},"additionalProperties":false,"type":"object","required":["kind"],"title":"ThemeInterviewTarget"},"ThemeInterviewTurnOut":{"properties":{"role":{"type":"string","enum":["user","assistant"],"title":"Role"},"text":{"type":"string","title":"Text"},"company_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Company Id"}},"type":"object","required":["role","text"],"title":"ThemeInterviewTurnOut","description":"One stored message, so a resumed interview can show what was already said.\n\n``company_id`` carries the child this turn belonged to (``None`` for the overall\ntheme) because the panel interleaves both and a bare transcript would not say which\ncompany an answer was about."},"ThemePulseOut":{"properties":{"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"shared_thesis_version_id":{"type":"integer","title":"Shared Thesis Version Id"},"outcome":{"type":"string","title":"Outcome"},"heading":{"type":"string","title":"Heading"},"explanation":{"type":"string","title":"Explanation"},"requirement":{"type":"string","title":"Requirement"},"policy_version":{"type":"string","title":"Policy Version"},"observation_window_start":{"type":"string","title":"Observation Window Start"},"observation_window_end":{"type":"string","title":"Observation Window End"},"distinct_company_count":{"type":"integer","title":"Distinct Company Count"},"distinct_source_count":{"type":"integer","title":"Distinct Source Count"},"is_backfill":{"type":"boolean","title":"Is Backfill"},"legs":{"items":{"$ref":"#/components/schemas/PulseLegOut"},"type":"array","title":"Legs"}},"type":"object","required":["shared_thesis_id","shared_thesis_version_id","outcome","heading","explanation","requirement","policy_version","observation_window_start","observation_window_end","distinct_company_count","distinct_source_count","is_backfill","legs"],"title":"ThemePulseOut"},"ThemeRevisionCauseIn":{"properties":{"kind":{"type":"string","const":"theme_finding","title":"Kind"},"referent_id":{"type":"integer","title":"Referent Id"}},"type":"object","required":["kind","referent_id"],"title":"ThemeRevisionCauseIn"},"ThesisActivationIn":{"properties":{"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["is_active"],"title":"ThesisActivationIn"},"ThesisAdjudicationIn":{"properties":{"slug":{"type":"string","maxLength":160,"minLength":1,"title":"Slug"},"disposition":{"type":"string","enum":["approve","needs_revision","reject"],"title":"Disposition"},"note":{"type":"string","maxLength":2000,"minLength":8,"title":"Note"},"factors":{"items":{"$ref":"#/components/schemas/FactorAdjudicationIn"},"type":"array","maxItems":100,"title":"Factors"},"suggested_revision":{"anyOf":[{"$ref":"#/components/schemas/ThesisRevisionSuggestionIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["slug","disposition","note","factors"],"title":"ThesisAdjudicationIn"},"ThesisAskAllowanceOut":{"properties":{"action":{"type":"string","const":"query","title":"Action","default":"query"},"unit":{"type":"string","const":"question","title":"Unit","default":"question"},"daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Limit"},"used_today":{"type":"integer","title":"Used Today"},"remaining_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Today"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"used_month":{"type":"integer","title":"Used Month"},"remaining_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Month"},"resets_at":{"type":"string","format":"date-time","title":"Resets At"},"daily_resets_at":{"type":"string","format":"date-time","title":"Daily Resets At"},"admin_bypass":{"type":"boolean","title":"Admin Bypass"}},"type":"object","required":["daily_limit","used_today","remaining_today","monthly_limit","used_month","remaining_month","resets_at","daily_resets_at","admin_bypass"],"title":"ThesisAskAllowanceOut"},"ThesisAskConfirmationIn":{"properties":{"schema_version":{"type":"string","const":"thesis-ask-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_ask","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one question from the monthly allowance to answer this exact question from retained SEC filings and earnings calls.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"retained_company_evidence","title":"Requested Window"},"source_scope":{"type":"string","const":"all","title":"Source Scope"},"transcript_section":{"type":"string","const":"all","title":"Transcript Section"},"speaker_role":{"type":"string","const":"all","title":"Speaker Role"},"top_k":{"type":"integer","const":5,"title":"Top K"},"subject_type":{"type":"string","const":"company_thesis","title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Watchlist Id"},"ticker":{"type":"string","maxLength":16,"minLength":1,"title":"Ticker"},"question":{"type":"string","maxLength":1000,"minLength":3,"title":"Question"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","source_scope","transcript_section","speaker_role","top_k","subject_type","subject_version","watchlist_id","ticker","question"],"title":"ThesisAskConfirmationIn","description":"One explicit confirmation before a single tab-bound Ask execution."},"ThesisAskConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"thesis-ask-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_ask","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one question from the monthly allowance to answer this exact question from retained SEC filings and earnings calls.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"retained_company_evidence","title":"Requested Window"},"source_scope":{"type":"string","const":"all","title":"Source Scope"},"transcript_section":{"type":"string","const":"all","title":"Transcript Section"},"speaker_role":{"type":"string","const":"all","title":"Speaker Role"},"top_k":{"type":"integer","const":5,"title":"Top K"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"question":{"type":"string","title":"Question"},"command_status":{"type":"string","enum":["confirmed","running","complete","failed"],"title":"Command Status"},"reservation_status":{"type":"string","enum":["not_reserved","reserved","admin_bypass"],"title":"Reservation Status"},"request_replayed":{"type":"boolean","title":"Request Replayed"},"usage_reserved":{"type":"boolean","title":"Usage Reserved"},"allowance":{"$ref":"#/components/schemas/ThesisAskAllowanceOut"},"confirmed_at":{"type":"string","format":"date-time","title":"Confirmed At"},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"recovery_path":{"type":"string","title":"Recovery Path"},"ask_history":{"anyOf":[{"$ref":"#/components/schemas/AskHistoryOut"},{"type":"null"}]}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","source_scope","transcript_section","speaker_role","top_k","subject","question","command_status","reservation_status","request_replayed","usage_reserved","allowance","confirmed_at","recovery_path"],"title":"ThesisAskConfirmationOut"},"ThesisAskProposalIn":{"properties":{"schema_version":{"type":"string","const":"thesis-ask-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_ask","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"retained_company_evidence","title":"Requested Window"},"source_scope":{"type":"string","const":"all","title":"Source Scope"},"transcript_section":{"type":"string","const":"all","title":"Transcript Section"},"speaker_role":{"type":"string","const":"all","title":"Speaker Role"},"top_k":{"type":"integer","const":5,"title":"Top K"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"question":{"type":"string","maxLength":1000,"minLength":3,"title":"Question"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","source_scope","transcript_section","speaker_role","top_k","subject_type","subject_version","question"],"title":"ThesisAskProposalIn","description":"One read-only preflight for a question over retained company evidence."},"ThesisAskProposalOut":{"properties":{"schema_version":{"type":"string","const":"thesis-ask-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_ask","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"retained_company_evidence","title":"Requested Window"},"source_scope":{"type":"string","const":"all","title":"Source Scope"},"transcript_section":{"type":"string","const":"all","title":"Transcript Section"},"speaker_role":{"type":"string","const":"all","title":"Speaker Role"},"top_k":{"type":"integer","const":5,"title":"Top K"},"proposal_status":{"type":"string","enum":["confirmation_available","theme_not_supported","allowance_exhausted"],"title":"Proposal Status"},"approval_available":{"type":"boolean","title":"Approval Available"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"question":{"type":"string","title":"Question"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"allowance":{"anyOf":[{"$ref":"#/components/schemas/ThesisAskAllowanceOut"},{"type":"null"}]},"usage_reserved":{"type":"boolean","const":false,"title":"Usage Reserved","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"recovery_path":{"type":"string","title":"Recovery Path"}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","source_scope","transcript_section","speaker_role","top_k","proposal_status","approval_available","subject","question","generated_at","allowance","recovery_path"],"title":"ThesisAskProposalOut"},"ThesisBaselineOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"thesis_text":{"type":"string","title":"Thesis Text"},"assessment":{"type":"string","title":"Assessment"},"sources":{"items":{"$ref":"#/components/schemas/SourceChunk"},"type":"array","title":"Sources"},"model":{"type":"string","title":"Model"},"prompt_version":{"type":"string","title":"Prompt Version"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"monitoring_active":{"type":"boolean","title":"Monitoring Active"}},"type":"object","required":["id","ticker","thesis_text","assessment","sources","model","prompt_version","generated_at","monitoring_active"],"title":"ThesisBaselineOut"},"ThesisChallengeAllowanceOut":{"properties":{"action":{"type":"string","const":"challenge","title":"Action","default":"challenge"},"unit":{"type":"string","const":"challenge","title":"Unit","default":"challenge"},"daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Limit"},"used_today":{"type":"integer","title":"Used Today"},"remaining_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Today"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"used_month":{"type":"integer","title":"Used Month"},"remaining_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Month"},"resets_at":{"type":"string","format":"date-time","title":"Resets At"},"daily_resets_at":{"type":"string","format":"date-time","title":"Daily Resets At"},"admin_bypass":{"type":"boolean","title":"Admin Bypass"}},"type":"object","required":["daily_limit","used_today","remaining_today","monthly_limit","used_month","remaining_month","resets_at","daily_resets_at","admin_bypass"],"title":"ThesisChallengeAllowanceOut"},"ThesisChallengeConfirmationIn":{"properties":{"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"schema_version":{"type":"string","const":"thesis-challenge-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_challenge","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one Challenge from the monthly allowance and the shown maximum model cost to test this exact saved thesis against the retained evidence shown. It will not rewrite my thesis or change any relationships.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"retained_evidence_90_days","title":"Requested Window"},"result_limit":{"type":"integer","const":3,"title":"Result Limit"},"evidence_fingerprint":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Evidence Fingerprint"},"reserved_cost_usd":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Reserved Cost Usd"},"pricing_source":{"type":"string","maxLength":200,"minLength":1,"title":"Pricing Source"}},"additionalProperties":false,"type":"object","required":["subject_type","subject_version","schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","result_limit","evidence_fingerprint","reserved_cost_usd","pricing_source"],"title":"ThesisChallengeConfirmationIn"},"ThesisChallengeConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"thesis-challenge-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_challenge","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one Challenge from the monthly allowance and the shown maximum model cost to test this exact saved thesis against the retained evidence shown. It will not rewrite my thesis or change any relationships.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"retained_evidence_90_days","title":"Requested Window"},"result_limit":{"type":"integer","const":3,"title":"Result Limit"},"evidence_fingerprint":{"type":"string","title":"Evidence Fingerprint"},"reserved_cost_usd":{"type":"string","title":"Reserved Cost Usd"},"pricing_source":{"type":"string","title":"Pricing Source"},"request_replayed":{"type":"boolean","title":"Request Replayed"},"reservation_status":{"type":"string","enum":["reserved","admin_bypass"],"title":"Reservation Status"},"allowance":{"$ref":"#/components/schemas/ThesisChallengeAllowanceOut"},"confirmed_at":{"type":"string","format":"date-time","title":"Confirmed At"},"recovery_path":{"type":"string","title":"Recovery Path"},"run":{"$ref":"#/components/schemas/ThesisChallengeRunOut"}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","result_limit","evidence_fingerprint","reserved_cost_usd","pricing_source","request_replayed","reservation_status","allowance","confirmed_at","recovery_path","run"],"title":"ThesisChallengeConfirmationOut"},"ThesisChallengeEvidenceOut":{"properties":{"record_key":{"type":"string","title":"Record Key"},"record_type":{"type":"string","enum":["alert","theme_finding"],"title":"Record Type"},"title":{"type":"string","title":"Title"},"excerpt":{"type":"string","title":"Excerpt"},"source":{"type":"string","title":"Source"},"source_url":{"type":"string","title":"Source Url"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticker"},"relationship":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationship"},"materiality":{"type":"string","title":"Materiality"}},"type":"object","required":["record_key","record_type","title","excerpt","source","source_url","observed_at","materiality"],"title":"ThesisChallengeEvidenceOut"},"ThesisChallengeItemOut":{"properties":{"affected_assumption":{"type":"string","title":"Affected Assumption"},"counter_evidence":{"type":"string","title":"Counter Evidence"},"why_it_matters":{"type":"string","title":"Why It Matters"},"confidence":{"type":"string","enum":["high","medium","low"],"title":"Confidence"},"evidence":{"items":{"$ref":"#/components/schemas/ThesisChallengeEvidenceOut"},"type":"array","title":"Evidence"}},"type":"object","required":["affected_assumption","counter_evidence","why_it_matters","confidence","evidence"],"title":"ThesisChallengeItemOut"},"ThesisChallengeProposalIn":{"properties":{"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"schema_version":{"type":"string","const":"thesis-challenge-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_challenge","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"retained_evidence_90_days","title":"Requested Window"},"result_limit":{"type":"integer","const":3,"title":"Result Limit"}},"additionalProperties":false,"type":"object","required":["subject_type","subject_version","schema_version","idempotency_key","operation","confirmation_policy","requested_window","result_limit"],"title":"ThesisChallengeProposalIn"},"ThesisChallengeProposalOut":{"properties":{"schema_version":{"type":"string","const":"thesis-challenge-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_challenge","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"retained_evidence_90_days","title":"Requested Window"},"result_limit":{"type":"integer","const":3,"title":"Result Limit"},"proposal_status":{"type":"string","enum":["confirmation_available","subject_inactive","pricing_unavailable","insufficient_evidence","allowance_exhausted"],"title":"Proposal Status"},"approval_available":{"type":"boolean","title":"Approval Available"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"evidence_window_start":{"type":"string","format":"date-time","title":"Evidence Window Start"},"evidence_window_end":{"type":"string","format":"date-time","title":"Evidence Window End"},"candidate_count":{"type":"integer","maximum":12.0,"minimum":0.0,"title":"Candidate Count"},"evidence":{"items":{"$ref":"#/components/schemas/ThesisChallengeEvidenceOut"},"type":"array","title":"Evidence"},"evidence_fingerprint":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Evidence Fingerprint"},"allowance":{"anyOf":[{"$ref":"#/components/schemas/ThesisChallengeAllowanceOut"},{"type":"null"}]},"reserved_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reserved Cost Usd"},"pricing_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Source"},"usage_reserved":{"type":"boolean","const":false,"title":"Usage Reserved","default":false},"model_calls_started":{"type":"integer","const":0,"title":"Model Calls Started","default":0},"thesis_changed":{"type":"boolean","const":false,"title":"Thesis Changed","default":false},"relationships_changed":{"type":"boolean","const":false,"title":"Relationships Changed","default":false},"recovery_path":{"type":"string","title":"Recovery Path","default":"/challenges"}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","result_limit","proposal_status","approval_available","subject","generated_at","evidence_window_start","evidence_window_end","candidate_count","evidence","allowance"],"title":"ThesisChallengeProposalOut"},"ThesisChallengeRunOut":{"properties":{"id":{"type":"integer","title":"Id"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"status":{"type":"string","enum":["pending","running","ready","insufficient_evidence","failed"],"title":"Status"},"stage":{"type":"string","enum":["queued","evaluating","complete","failed"],"title":"Stage"},"evidence_window_days":{"type":"integer","const":90,"title":"Evidence Window Days"},"candidate_count":{"type":"integer","title":"Candidate Count"},"result_limit":{"type":"integer","const":3,"title":"Result Limit"},"reserved_cost_usd":{"type":"string","title":"Reserved Cost Usd"},"settled_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settled Cost Usd"},"pricing_source":{"type":"string","title":"Pricing Source"},"results":{"items":{"$ref":"#/components/schemas/ThesisChallengeItemOut"},"type":"array","title":"Results"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"thesis_changed":{"type":"boolean","const":false,"title":"Thesis Changed","default":false},"relationships_changed":{"type":"boolean","const":false,"title":"Relationships Changed","default":false},"recovery_path":{"type":"string","title":"Recovery Path"}},"type":"object","required":["id","subject","status","stage","evidence_window_days","candidate_count","result_limit","reserved_cost_usd","settled_cost_usd","pricing_source","results","error_code","requested_at","started_at","finished_at","recovery_path"],"title":"ThesisChallengeRunOut"},"ThesisClaimEvidenceOut":{"properties":{"component_id":{"type":"integer","title":"Component Id"},"statement":{"type":"string","title":"Statement"},"evidence":{"items":{"$ref":"#/components/schemas/ThesisEvidenceLinkOut"},"type":"array","title":"Evidence"}},"type":"object","required":["component_id","statement"],"title":"ThesisClaimEvidenceOut"},"ThesisComponentIn":{"properties":{"id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Id"},"kind":{"type":"string","enum":["claim","expectation","invalidation"],"title":"Kind"},"statement":{"type":"string","maxLength":1000,"minLength":3,"title":"Statement"}},"type":"object","required":["kind","statement"],"title":"ThesisComponentIn"},"ThesisComponentOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","enum":["claim","expectation","invalidation"],"title":"Kind"},"statement":{"type":"string","title":"Statement"},"position":{"type":"integer","title":"Position"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","kind","statement","position","created_at","updated_at"],"title":"ThesisComponentOut"},"ThesisComponentSnapshotOut":{"properties":{"kind":{"type":"string","enum":["claim","expectation","invalidation"],"title":"Kind"},"heading":{"type":"string","title":"Heading"},"statement":{"type":"string","title":"Statement"}},"type":"object","required":["kind","heading","statement"],"title":"ThesisComponentSnapshotOut","description":"One user-authored factor as it stood when the judgment was made."},"ThesisDeskObservationCheckIn":{"properties":{"operation":{"type":"string","enum":["recent_effects","source_inspection","current_state","thesis_history","workspace_open","revision_preview","write_refusal"],"title":"Operation"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"completion":{"type":"string","enum":["unassisted","assisted","failed"],"title":"Completion"},"boundary":{"type":"string","enum":["boundary_correct","boundary_incorrect"],"title":"Boundary"},"navigation_turns":{"type":"string","enum":["0","1","2","3_plus"],"title":"Navigation Turns"},"decision":{"type":"string","enum":["continue_review","open_workspace","revise_later","no_action","unclear"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["operation","subject_type","completion","boundary","navigation_turns","decision"],"title":"ThesisDeskObservationCheckIn"},"ThesisDeskObservationCheckOut":{"properties":{"operation":{"type":"string","enum":["recent_effects","source_inspection","current_state","thesis_history","workspace_open","revision_preview","write_refusal"],"title":"Operation"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"completion":{"type":"string","enum":["unassisted","assisted","failed"],"title":"Completion"},"boundary":{"type":"string","enum":["boundary_correct","boundary_incorrect"],"title":"Boundary"},"navigation_turns":{"type":"string","enum":["0","1","2","3_plus"],"title":"Navigation Turns"},"decision":{"type":"string","enum":["continue_review","open_workspace","revise_later","no_action","unclear"],"title":"Decision"},"sequence":{"type":"integer","title":"Sequence"}},"additionalProperties":false,"type":"object","required":["operation","subject_type","completion","boundary","navigation_turns","decision","sequence"],"title":"ThesisDeskObservationCheckOut"},"ThesisDeskObservedGateOut":{"properties":{"required_sessions":{"type":"integer","title":"Required Sessions"},"cohort_sessions_recorded":{"type":"integer","title":"Cohort Sessions Recorded"},"total_sessions_recorded":{"type":"integer","title":"Total Sessions Recorded"},"distinct_participants":{"type":"integer","title":"Distinct Participants"},"read_qualified_sessions":{"type":"integer","title":"Read Qualified Sessions"},"no_write_preserved_sessions":{"type":"integer","title":"No Write Preserved Sessions"},"privacy_passed_sessions":{"type":"integer","title":"Privacy Passed Sessions"},"read_comprehension_gate_met":{"type":"boolean","title":"Read Comprehension Gate Met"},"no_write_boundary_gate_met":{"type":"boolean","title":"No Write Boundary Gate Met"},"telemetry_privacy_gate_met":{"type":"boolean","title":"Telemetry Privacy Gate Met"},"observed_gate_met":{"type":"boolean","title":"Observed Gate Met"}},"type":"object","required":["required_sessions","cohort_sessions_recorded","total_sessions_recorded","distinct_participants","read_qualified_sessions","no_write_preserved_sessions","privacy_passed_sessions","read_comprehension_gate_met","no_write_boundary_gate_met","telemetry_privacy_gate_met","observed_gate_met"],"title":"ThesisDeskObservedGateOut"},"ThesisDeskObservedSessionIn":{"properties":{"design_partner_user_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Design Partner User Id"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"telemetry_privacy_status":{"type":"string","enum":["not_reviewed","passed","failed"],"title":"Telemetry Privacy Status"},"checks":{"items":{"$ref":"#/components/schemas/ThesisDeskObservationCheckIn"},"type":"array","title":"Checks"}},"additionalProperties":false,"type":"object","required":["design_partner_user_id","idempotency_key","observed_at","telemetry_privacy_status","checks"],"title":"ThesisDeskObservedSessionIn"},"ThesisDeskObservedSessionOut":{"properties":{"id":{"type":"integer","title":"Id"},"design_partner_user_id":{"type":"integer","title":"Design Partner User Id"},"design_partner_email":{"type":"string","title":"Design Partner Email"},"schema_version":{"type":"string","const":"ia22-thesis-desk-observation-v1","title":"Schema Version"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"release_sha":{"type":"string","title":"Release Sha"},"telemetry_privacy_status":{"type":"string","enum":["not_reviewed","passed","failed"],"title":"Telemetry Privacy Status"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"cohort_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cohort Position"},"checks":{"items":{"$ref":"#/components/schemas/ThesisDeskObservationCheckOut"},"type":"array","title":"Checks"}},"type":"object","required":["id","design_partner_user_id","design_partner_email","schema_version","observed_at","release_sha","telemetry_privacy_status","recorded_at","cohort_position","checks"],"title":"ThesisDeskObservedSessionOut"},"ThesisDeskObservedSessionsOut":{"properties":{"gate":{"$ref":"#/components/schemas/ThesisDeskObservedGateOut"},"sessions":{"items":{"$ref":"#/components/schemas/ThesisDeskObservedSessionOut"},"type":"array","title":"Sessions"}},"type":"object","required":["gate","sessions"],"title":"ThesisDeskObservedSessionsOut"},"ThesisDeskVoiceCapabilityOut":{"properties":{"available":{"type":"boolean","title":"Available"}},"type":"object","required":["available"],"title":"ThesisDeskVoiceCapabilityOut"},"ThesisDeskVoiceTranscriptionOut":{"properties":{"transcription_id":{"type":"integer","title":"Transcription Id"},"text":{"type":"string","title":"Text"},"model":{"type":"string","title":"Model"},"audio_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Audio Seconds"},"cached":{"type":"boolean","title":"Cached"}},"type":"object","required":["transcription_id","text","model","audio_seconds","cached"],"title":"ThesisDeskVoiceTranscriptionOut"},"ThesisDirectness":{"type":"string","enum":["direct","indirect","none"],"title":"ThesisDirectness"},"ThesisDraftOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"thesis_text":{"type":"string","title":"Thesis Text"},"source_count":{"type":"integer","title":"Source Count"}},"type":"object","required":["ticker","thesis_text","source_count"],"title":"ThesisDraftOut"},"ThesisDraftRequest":{"properties":{"ticker":{"type":"string","title":"Ticker"},"shape":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shape"}},"type":"object","required":["ticker"],"title":"ThesisDraftRequest"},"ThesisEvidenceLinkOut":{"properties":{"id":{"type":"integer","title":"Id"},"component_id":{"type":"integer","title":"Component Id"},"relationship":{"type":"string","enum":["support","contradict"],"title":"Relationship"},"replay_evaluation_id":{"type":"integer","title":"Replay Evaluation Id"},"source_event_id":{"type":"integer","title":"Source Event Id"},"component_statement_snapshot":{"type":"string","title":"Component Statement Snapshot"},"evidence_title":{"type":"string","title":"Evidence Title"},"evidence_excerpt":{"type":"string","title":"Evidence Excerpt"},"evidence_url":{"type":"string","title":"Evidence Url"},"evidence_provider":{"type":"string","enum":["sec_edgar","company_ir","earningscalls_dev"],"title":"Evidence Provider"},"evidence_kind":{"type":"string","enum":["filing","ir_presentation","earnings_call"],"title":"Evidence Kind"},"evidence_content_hash":{"type":"string","title":"Evidence Content Hash"},"evidence_published_at":{"type":"string","format":"date-time","title":"Evidence Published At"},"evidence_observed_at":{"type":"string","format":"date-time","title":"Evidence Observed At"},"evidence_ingested_at":{"type":"string","format":"date-time","title":"Evidence Ingested At"},"evaluator_model":{"type":"string","title":"Evaluator Model"},"evaluator_version":{"type":"string","title":"Evaluator Version"},"evaluator_reasoning":{"type":"string","title":"Evaluator Reasoning"},"causal_bridge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Bridge"},"linked_at":{"type":"string","format":"date-time","title":"Linked At"}},"type":"object","required":["id","component_id","relationship","replay_evaluation_id","source_event_id","component_statement_snapshot","evidence_title","evidence_excerpt","evidence_url","evidence_provider","evidence_kind","evidence_content_hash","evidence_published_at","evidence_observed_at","evidence_ingested_at","evaluator_model","evaluator_version","evaluator_reasoning","causal_bridge","linked_at"],"title":"ThesisEvidenceLinkOut","description":"An immutable provenance snapshot attached to one current thesis claim."},"ThesisEvidenceMapOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"claims":{"items":{"$ref":"#/components/schemas/ThesisClaimEvidenceOut"},"type":"array","title":"Claims"}},"type":"object","required":["ticker"],"title":"ThesisEvidenceMapOut"},"ThesisFormationDateIn":{"properties":{"asserted_formation_date":{"type":"string","format":"date","title":"Asserted Formation Date"}},"type":"object","required":["asserted_formation_date"],"title":"ThesisFormationDateIn"},"ThesisIn":{"properties":{"thesis_text":{"type":"string","maxLength":20000,"title":"Thesis Text"}},"type":"object","required":["thesis_text"],"title":"ThesisIn"},"ThesisMarketPerformanceOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"benchmark_ticker":{"type":"string","title":"Benchmark Ticker"},"benchmark_label":{"type":"string","title":"Benchmark Label"},"status":{"type":"string","enum":["ready","partial","unavailable"],"title":"Status"},"status_reason":{"type":"string","enum":["complete_window","starts_after_context","ticker_history_unavailable","benchmark_history_unavailable","insufficient_shared_sessions"],"title":"Status Reason"},"requested_start_date":{"type":"string","format":"date","title":"Requested Start Date"},"requested_end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Requested End Date"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"trading_sessions":{"type":"integer","title":"Trading Sessions","default":0},"ticker_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ticker Return Pct"},"benchmark_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Benchmark Return Pct"},"relative_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Relative Return Pct"}},"type":"object","required":["ticker","benchmark_ticker","benchmark_label","status","status_reason","requested_start_date"],"title":"ThesisMarketPerformanceOut","description":"Price context around an exact saved interval, never a thesis-quality score."},"ThesisMatchAllowanceOut":{"properties":{"action":{"type":"string","const":"match","title":"Action","default":"match"},"unit":{"type":"string","const":"match","title":"Unit","default":"match"},"daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Limit"},"used_today":{"type":"integer","title":"Used Today"},"remaining_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Today"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"used_month":{"type":"integer","title":"Used Month"},"remaining_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Month"},"resets_at":{"type":"string","format":"date-time","title":"Resets At"},"daily_resets_at":{"type":"string","format":"date-time","title":"Daily Resets At"},"admin_bypass":{"type":"boolean","title":"Admin Bypass"}},"type":"object","required":["daily_limit","used_today","remaining_today","monthly_limit","used_month","remaining_month","resets_at","daily_resets_at","admin_bypass"],"title":"ThesisMatchAllowanceOut"},"ThesisMatchConfirmationIn":{"properties":{"schema_version":{"type":"string","const":"thesis-match-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_match","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one Match from the monthly allowance to find and filing-check up to five companies against this exact saved thesis. No company will be linked or tracked automatically.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"current_match_catalog","title":"Requested Window"},"result_limit":{"type":"integer","const":5,"title":"Result Limit"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","result_limit","subject_type","subject_version"],"title":"ThesisMatchConfirmationIn","description":"One explicit confirmation before the existing private Match boundary."},"ThesisMatchConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"thesis-match-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_match","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one Match from the monthly allowance to find and filing-check up to five companies against this exact saved thesis. No company will be linked or tracked automatically.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"current_match_catalog","title":"Requested Window"},"result_limit":{"type":"integer","const":5,"title":"Result Limit"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"command_status":{"type":"string","enum":["pending","scoring","confirming","ready","failed"],"title":"Command Status"},"reservation_status":{"type":"string","enum":["reserved","existing_run","admin_bypass"],"title":"Reservation Status"},"request_replayed":{"type":"boolean","title":"Request Replayed"},"allowance":{"$ref":"#/components/schemas/ThesisMatchAllowanceOut"},"confirmed_at":{"type":"string","format":"date-time","title":"Confirmed At"},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"relationships_changed":{"type":"boolean","const":false,"title":"Relationships Changed","default":false},"recovery_path":{"type":"string","title":"Recovery Path"},"match":{"$ref":"#/components/schemas/MatchRunOut"}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","result_limit","subject","command_status","reservation_status","request_replayed","allowance","confirmed_at","recovery_path","match"],"title":"ThesisMatchConfirmationOut"},"ThesisMatchProposalIn":{"properties":{"schema_version":{"type":"string","const":"thesis-match-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_match","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"current_match_catalog","title":"Requested Window"},"result_limit":{"type":"integer","const":5,"title":"Result Limit"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","result_limit","subject_type","subject_version"],"title":"ThesisMatchProposalIn","description":"One model-free preflight for a private Match against an exact saved thesis."},"ThesisMatchProposalOut":{"properties":{"schema_version":{"type":"string","const":"thesis-match-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_match","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"current_match_catalog","title":"Requested Window"},"result_limit":{"type":"integer","const":5,"title":"Result Limit"},"proposal_status":{"type":"string","enum":["confirmation_available","subject_inactive","allowance_exhausted","in_progress"],"title":"Proposal Status"},"approval_available":{"type":"boolean","title":"Approval Available"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"allowance":{"anyOf":[{"$ref":"#/components/schemas/ThesisMatchAllowanceOut"},{"type":"null"}]},"usage_reserved":{"type":"boolean","const":false,"title":"Usage Reserved","default":false},"model_evaluations_started":{"type":"integer","const":0,"title":"Model Evaluations Started","default":0},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"relationships_changed":{"type":"boolean","const":false,"title":"Relationships Changed","default":false},"recovery_path":{"type":"string","title":"Recovery Path"},"match":{"anyOf":[{"$ref":"#/components/schemas/MatchRunOut"},{"type":"null"}]}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","result_limit","proposal_status","approval_available","subject","generated_at","allowance","recovery_path"],"title":"ThesisMatchProposalOut"},"ThesisMateriality":{"type":"string","enum":["material","immaterial","uncertain"],"title":"ThesisMateriality"},"ThesisOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"thesis_text":{"type":"string","title":"Thesis Text"},"version_number":{"type":"integer","title":"Version Number"},"is_active":{"type":"boolean","title":"Is Active"},"monitoring_eligible":{"type":"boolean","title":"Monitoring Eligible","default":true},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["ticker","thesis_text","version_number","is_active","archived_at","updated_at"],"title":"ThesisOut"},"ThesisPerformanceLegOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"effect":{"anyOf":[{"type":"string","enum":["tailwind","headwind","mixed","uncertain"]},{"type":"null"}],"title":"Effect"},"context_start_at":{"type":"string","format":"date-time","title":"Context Start At"},"context_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Context End At"},"market_performance":{"$ref":"#/components/schemas/ThesisMarketPerformanceOut"}},"type":"object","required":["ticker","context_start_at","market_performance"],"title":"ThesisPerformanceLegOut"},"ThesisPerformanceOverviewOut":{"properties":{"benchmark_ticker":{"type":"string","title":"Benchmark Ticker"},"benchmark_label":{"type":"string","title":"Benchmark Label"},"price_source":{"type":"string","title":"Price Source"},"price_adjustment":{"type":"string","const":"splits","title":"Price Adjustment"},"price_coverage":{"type":"string","const":"current_symbol","title":"Price Coverage"},"subjects":{"items":{"$ref":"#/components/schemas/ThesisPerformanceSubjectOut"},"type":"array","title":"Subjects"}},"type":"object","required":["benchmark_ticker","benchmark_label","price_source","price_adjustment","price_coverage"],"title":"ThesisPerformanceOverviewOut"},"ThesisPerformanceSubjectOut":{"properties":{"subject_type":{"type":"string","enum":["company","investment_theme"],"title":"Subject Type"},"title":{"type":"string","title":"Title"},"company_ticker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Thesis Id"},"version_number":{"type":"integer","title":"Version Number"},"is_active":{"type":"boolean","title":"Is Active"},"legs":{"items":{"$ref":"#/components/schemas/ThesisPerformanceLegOut"},"type":"array","title":"Legs"}},"type":"object","required":["subject_type","title","version_number","is_active"],"title":"ThesisPerformanceSubjectOut"},"ThesisReadCommandIn":{"properties":{"schema_version":{"type":"string","const":"thesis-read-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","enum":["recent_effects","current_state","thesis_history","source_inspection"],"title":"Operation"},"confirmation_policy":{"type":"string","const":"none","title":"Confirmation Policy"},"requested_window":{"type":"string","enum":["since_previous_market_close","current_saved_version","saved_version_history","retained_source_record"],"title":"Requested Window"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"source_record_type":{"anyOf":[{"type":"string","enum":["alert","theme_finding"]},{"type":"null"}],"title":"Source Record Type"},"source_record_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Source Record Id"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","subject_type","subject_version"],"title":"ThesisReadCommandIn","description":"One allowlisted, model-free read over an exact saved thesis version.\n\nRaw conversation text is deliberately absent. The client may recognize ordinary\nlanguage, but the server accepts only this closed command vocabulary and rejects\nfields it does not know."},"ThesisReadCurrentStateOut":{"properties":{"schema_version":{"type":"string","const":"thesis-read-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"confirmation_policy":{"type":"string","const":"none","title":"Confirmation Policy"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"read_only":{"type":"boolean","const":true,"title":"Read Only","default":true},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"operation":{"type":"string","const":"current_state","title":"Operation"},"requested_window":{"type":"string","const":"current_saved_version","title":"Requested Window"},"coverage_scope":{"type":"string","const":"saved_version","title":"Coverage Scope","default":"saved_version"},"coverage_state":{"type":"string","const":"complete","title":"Coverage State","default":"complete"},"current_version":{"anyOf":[{"$ref":"#/components/schemas/ThesisVersionOut"},{"$ref":"#/components/schemas/SharedThesisVersionOut"}],"title":"Current Version"}},"type":"object","required":["schema_version","idempotency_key","confirmation_policy","subject","as_of","operation","requested_window","current_version"],"title":"ThesisReadCurrentStateOut"},"ThesisReadHistoryOut":{"properties":{"schema_version":{"type":"string","const":"thesis-read-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"confirmation_policy":{"type":"string","const":"none","title":"Confirmation Policy"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"read_only":{"type":"boolean","const":true,"title":"Read Only","default":true},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"operation":{"type":"string","const":"thesis_history","title":"Operation"},"requested_window":{"type":"string","const":"saved_version_history","title":"Requested Window"},"coverage_scope":{"type":"string","const":"saved_history","title":"Coverage Scope","default":"saved_history"},"coverage_state":{"type":"string","enum":["complete","partial"],"title":"Coverage State"},"versions":{"items":{"anyOf":[{"$ref":"#/components/schemas/ThesisVersionOut"},{"$ref":"#/components/schemas/SharedThesisVersionOut"}]},"type":"array","title":"Versions"},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["schema_version","idempotency_key","confirmation_policy","subject","as_of","operation","requested_window","coverage_state"],"title":"ThesisReadHistoryOut"},"ThesisReadRecentEffectsOut":{"properties":{"schema_version":{"type":"string","const":"thesis-read-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"confirmation_policy":{"type":"string","const":"none","title":"Confirmation Policy"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"read_only":{"type":"boolean","const":true,"title":"Read Only","default":true},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"operation":{"type":"string","const":"recent_effects","title":"Operation"},"requested_window":{"type":"string","const":"since_previous_market_close","title":"Requested Window"},"covered_window_started_at":{"type":"string","format":"date-time","title":"Covered Window Started At"},"covered_window_ended_at":{"type":"string","format":"date-time","title":"Covered Window Ended At"},"coverage_scope":{"type":"string","enum":["company_news","investment_theme"],"title":"Coverage Scope"},"coverage_state":{"type":"string","enum":["complete","processing","delayed","paused","partial","not_applicable"],"title":"Coverage State"},"signals":{"items":{"$ref":"#/components/schemas/SignalOut"},"type":"array","title":"Signals"},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["schema_version","idempotency_key","confirmation_policy","subject","as_of","operation","requested_window","covered_window_started_at","covered_window_ended_at","coverage_scope","coverage_state"],"title":"ThesisReadRecentEffectsOut"},"ThesisReadSourceInspectionOut":{"properties":{"schema_version":{"type":"string","const":"thesis-read-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"confirmation_policy":{"type":"string","const":"none","title":"Confirmation Policy"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"as_of":{"type":"string","format":"date-time","title":"As Of"},"read_only":{"type":"boolean","const":true,"title":"Read Only","default":true},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"operation":{"type":"string","const":"source_inspection","title":"Operation"},"requested_window":{"type":"string","const":"retained_source_record","title":"Requested Window"},"coverage_scope":{"type":"string","const":"retained_source","title":"Coverage Scope","default":"retained_source"},"coverage_state":{"type":"string","const":"complete","title":"Coverage State","default":"complete"},"signal":{"$ref":"#/components/schemas/SignalOut"}},"type":"object","required":["schema_version","idempotency_key","confirmation_policy","subject","as_of","operation","requested_window","signal"],"title":"ThesisReadSourceInspectionOut"},"ThesisReadSubjectOut":{"properties":{"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_key":{"type":"string","title":"Subject Key"},"label":{"type":"string","title":"Label"},"narrative":{"type":"string","title":"Narrative"},"version_number":{"type":"integer","title":"Version Number"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"is_active":{"type":"boolean","title":"Is Active"},"workspace_path":{"type":"string","title":"Workspace Path"}},"type":"object","required":["subject_type","subject_key","label","narrative","version_number","updated_at","is_active","workspace_path"],"title":"ThesisReadSubjectOut"},"ThesisRelationship":{"type":"string","enum":["support","contradict","neutral"],"title":"ThesisRelationship"},"ThesisReplayAllowanceOut":{"properties":{"action":{"type":"string","const":"historical_replay","title":"Action","default":"historical_replay"},"unit":{"type":"string","const":"replay","title":"Unit","default":"replay"},"daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Limit"},"used_today":{"type":"integer","title":"Used Today"},"remaining_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Today"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"used_month":{"type":"integer","title":"Used Month"},"remaining_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Month"},"resets_at":{"type":"string","format":"date-time","title":"Resets At"},"daily_resets_at":{"type":"string","format":"date-time","title":"Daily Resets At"},"admin_bypass":{"type":"boolean","title":"Admin Bypass"}},"type":"object","required":["daily_limit","used_today","remaining_today","monthly_limit","used_month","remaining_month","resets_at","daily_resets_at","admin_bypass"],"title":"ThesisReplayAllowanceOut"},"ThesisReplayConfirmationIn":{"properties":{"schema_version":{"type":"string","const":"thesis-replay-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_replay","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one replay from the monthly allowance to test this exact saved Company thesis against retained public evidence.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"recent_90_days","title":"Requested Window"},"window_days":{"type":"integer","const":90,"title":"Window Days"},"subject_type":{"type":"string","const":"company_thesis","title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Watchlist Id"},"ticker":{"type":"string","maxLength":16,"minLength":1,"title":"Ticker"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","window_days","subject_type","subject_version","watchlist_id","ticker"],"title":"ThesisReplayConfirmationIn","description":"One explicit confirmation before the existing Replay reservation boundary."},"ThesisReplayConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"thesis-replay-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"run_replay","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm TickerTrac may reserve one replay from the monthly allowance to test this exact saved Company thesis against retained public evidence.","title":"Confirmation Statement"},"requested_window":{"type":"string","const":"recent_90_days","title":"Requested Window"},"window_days":{"type":"integer","const":90,"title":"Window Days"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"command_status":{"type":"string","enum":["pending","running","complete","failed"],"title":"Command Status"},"reservation_status":{"type":"string","enum":["reserved","existing_job","cached_result","admin_bypass"],"title":"Reservation Status"},"request_replayed":{"type":"boolean","title":"Request Replayed"},"allowance":{"$ref":"#/components/schemas/ThesisReplayAllowanceOut"},"confirmed_at":{"type":"string","format":"date-time","title":"Confirmed At"},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"recovery_path":{"type":"string","title":"Recovery Path"},"replay":{"$ref":"#/components/schemas/HistoricalReplayOut"}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","requested_window","window_days","subject","command_status","reservation_status","request_replayed","allowance","confirmed_at","recovery_path","replay"],"title":"ThesisReplayConfirmationOut"},"ThesisReplayProposalIn":{"properties":{"schema_version":{"type":"string","const":"thesis-replay-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_replay","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"recent_90_days","title":"Requested Window"},"window_days":{"type":"integer","const":90,"title":"Window Days"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","window_days","subject_type","subject_version"],"title":"ThesisReplayProposalIn","description":"One read-only preflight for the existing bounded Replay workflow."},"ThesisReplayProposalOut":{"properties":{"schema_version":{"type":"string","const":"thesis-replay-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_replay","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"recent_90_days","title":"Requested Window"},"window_days":{"type":"integer","const":90,"title":"Window Days"},"proposal_status":{"type":"string","enum":["confirmation_available","theme_not_supported","evidence_preparing","no_retained_evidence","allowance_exhausted","in_progress","result_available","retry_cooldown"],"title":"Proposal Status"},"approval_available":{"type":"boolean","title":"Approval Available"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"candidate_count":{"type":"integer","minimum":0.0,"title":"Candidate Count"},"evaluated_count":{"type":"integer","minimum":0.0,"title":"Evaluated Count"},"unevaluated_count":{"type":"integer","minimum":0.0,"title":"Unevaluated Count"},"allowance":{"anyOf":[{"$ref":"#/components/schemas/ThesisReplayAllowanceOut"},{"type":"null"}]},"usage_reserved":{"type":"boolean","const":false,"title":"Usage Reserved","default":false},"model_evaluations_started":{"type":"integer","const":0,"title":"Model Evaluations Started","default":0},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"recovery_path":{"type":"string","title":"Recovery Path"},"replay":{"anyOf":[{"$ref":"#/components/schemas/HistoricalReplayOut"},{"type":"null"}]}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","window_days","proposal_status","approval_available","subject","generated_at","candidate_count","evaluated_count","unevaluated_count","allowance","recovery_path","replay"],"title":"ThesisReplayProposalOut"},"ThesisRevisionCandidateOut":{"properties":{"kind":{"type":"string","enum":["alert","source_event","theme_finding"],"title":"Kind"},"referent_id":{"type":"integer","title":"Referent Id"},"title":{"type":"string","title":"Title"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"available_at":{"type":"string","format":"date-time","title":"Available At"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"thesis_impact":{"anyOf":[{"type":"string","enum":["strengthened","weakened","broken","uncertain"]},{"type":"null"}],"title":"Thesis Impact"},"relationship":{"anyOf":[{"type":"string","enum":["support","contradict","neutral"]},{"type":"null"}],"title":"Relationship"},"evaluation_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluation Version"}},"type":"object","required":["kind","referent_id","title","occurred_at","available_at"],"title":"ThesisRevisionCandidateOut","description":"Something the investor may cite. Offered, never applied, never inferred."},"ThesisRevisionCandidatesOut":{"properties":{"version_number":{"type":"integer","title":"Version Number"},"candidates":{"items":{"$ref":"#/components/schemas/ThesisRevisionCandidateOut"},"type":"array","title":"Candidates"}},"type":"object","required":["version_number"],"title":"ThesisRevisionCandidatesOut"},"ThesisRevisionCauseIn":{"properties":{"kind":{"type":"string","enum":["alert","source_event"],"title":"Kind"},"referent_id":{"type":"integer","title":"Referent Id"}},"type":"object","required":["kind","referent_id"],"title":"ThesisRevisionCauseIn"},"ThesisRevisionCauseOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","enum":["alert","source_event","theme_finding"],"title":"Kind"},"referent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Referent Id"},"title":{"type":"string","title":"Title"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"available_at":{"type":"string","format":"date-time","title":"Available At"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"thesis_impact":{"anyOf":[{"type":"string","enum":["strengthened","weakened","broken","uncertain"]},{"type":"null"}],"title":"Thesis Impact"},"relationship":{"anyOf":[{"type":"string","enum":["support","contradict","neutral"]},{"type":"null"}],"title":"Relationship"},"evaluation_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluation Version"},"referent_available":{"type":"boolean","title":"Referent Available"},"asserted_by_user":{"type":"boolean","const":true,"title":"Asserted By User","default":true}},"type":"object","required":["id","kind","title","occurred_at","available_at","referent_available"],"title":"ThesisRevisionCauseOut"},"ThesisRevisionConfirmationIn":{"properties":{"schema_version":{"type":"string","const":"thesis-revision-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"save_revision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm this exact wording should become the current saved thesis.","title":"Confirmation Statement"},"proposal_scope":{"type":"string","const":"narrative_only","title":"Proposal Scope"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"proposed_narrative":{"type":"string","maxLength":20000,"minLength":3,"title":"Proposed Narrative"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","proposal_scope","subject_type","subject_version","proposed_narrative"],"title":"ThesisRevisionConfirmationIn","description":"One explicit approval of an exact narrative proposal and base version."},"ThesisRevisionConfirmationOut":{"properties":{"schema_version":{"type":"string","const":"thesis-revision-confirmation-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"proposal_idempotency_key":{"type":"string","format":"uuid","title":"Proposal Idempotency Key"},"operation":{"type":"string","const":"save_revision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"confirmation_statement":{"type":"string","const":"I confirm this exact wording should become the current saved thesis.","title":"Confirmation Statement"},"proposal_scope":{"type":"string","const":"narrative_only","title":"Proposal Scope"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_key":{"type":"string","title":"Subject Key"},"workspace_path":{"type":"string","title":"Workspace Path"},"base_version_number":{"type":"integer","exclusiveMinimum":0.0,"title":"Base Version Number"},"saved_version_number":{"type":"integer","exclusiveMinimum":0.0,"title":"Saved Version Number"},"save_status":{"type":"string","const":"saved","title":"Save Status","default":"saved"},"request_replayed":{"type":"boolean","title":"Request Replayed"},"version_created_by_request":{"type":"boolean","title":"Version Created By Request"},"saved_version":{"anyOf":[{"$ref":"#/components/schemas/ThesisVersionOut"},{"$ref":"#/components/schemas/SharedThesisVersionOut"}],"title":"Saved Version"},"relationships_changed":{"type":"boolean","const":false,"title":"Relationships Changed","default":false},"unchanged_relationship_count":{"type":"integer","minimum":0.0,"title":"Unchanged Relationship Count"},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"confirmed_at":{"type":"string","format":"date-time","title":"Confirmed At"}},"type":"object","required":["schema_version","idempotency_key","proposal_idempotency_key","operation","confirmation_policy","confirmation_statement","proposal_scope","subject_type","subject_key","workspace_path","base_version_number","saved_version_number","request_replayed","version_created_by_request","saved_version","unchanged_relationship_count","confirmed_at"],"title":"ThesisRevisionConfirmationOut","description":"The exact immutable version created by a confirmed revision request."},"ThesisRevisionNoteOut":{"properties":{"version_number":{"type":"integer","title":"Version Number"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"causes":{"items":{"$ref":"#/components/schemas/ThesisRevisionCauseOut"},"type":"array","title":"Causes"}},"type":"object","required":["version_number"],"title":"ThesisRevisionNoteOut"},"ThesisRevisionOrganizeCapabilityOut":{"properties":{"available":{"type":"boolean","title":"Available"},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"max_call_cost_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Call Cost Usd"},"calls_used_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Calls Used Today"},"daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Limit"},"allowance_statement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowance Statement"}},"type":"object","required":["available"],"title":"ThesisRevisionOrganizeCapabilityOut","description":"What the desk must disclose before a dictated revision is organized.\n\nADR-053: a costed workflow states its allowance or reservation boundary before it\ndoes any work, not after.  Every field here is readable without spending anything."},"ThesisRevisionOrganizeIn":{"properties":{"schema_version":{"type":"string","const":"thesis-revision-organize-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"organize_dictated_revision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"transcription_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Transcription Id"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","subject_type","subject_version","transcription_id"],"title":"ThesisRevisionOrganizeIn","description":"Ask for one dictated transcript to be organized into proposed wording.\n\nThe transcript is named, never supplied: the server reads it from the durable voice\nreceipt this user owns.  A client that could post arbitrary text here would be able\nto hand the model words the investor never said and get them back wearing\n\"organized from your words\", which is the exact provenance claim this workflow\nexists to make true.\n\nUnknown fields fail closed so approval, save authority and a proposed narrative\ncannot be smuggled into a boundary whose entire output is a proposal."},"ThesisRevisionOrganizeOut":{"properties":{"schema_version":{"type":"string","const":"thesis-revision-organize-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"organize_dictated_revision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"policy_version":{"type":"string","title":"Policy Version"},"organize_id":{"type":"integer","title":"Organize Id"},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"exact_transcript":{"type":"string","title":"Exact Transcript"},"organized_narrative":{"type":"string","title":"Organized Narrative"},"is_paraphrase":{"type":"boolean","title":"Is Paraphrase"},"supporting_quotes":{"items":{"type":"string"},"type":"array","title":"Supporting Quotes"},"unresolved":{"items":{"$ref":"#/components/schemas/ThesisRevisionOrganizeUnresolvedOut"},"type":"array","title":"Unresolved"},"model":{"type":"string","title":"Model"},"allowance_statement":{"type":"string","title":"Allowance Statement"},"calls_used_today":{"type":"integer","title":"Calls Used Today"},"daily_limit":{"type":"integer","title":"Daily Limit"},"cached":{"type":"boolean","title":"Cached"}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","policy_version","organize_id","subject","generated_at","exact_transcript","organized_narrative","is_paraphrase","supporting_quotes","unresolved","model","allowance_statement","calls_used_today","daily_limit","cached"],"title":"ThesisRevisionOrganizeOut","description":"Proposed wording, plus everything needed to disbelieve it.\n\n``exact_transcript`` and ``supporting_quotes`` are not decoration: ADR-047 requires\nthe investor's own words to stay inspectable next to anything a model wrote from\nthem.  ``organized_narrative`` is a proposal and nothing else -- it becomes thesis\nwording only when the investor approves it, and only through the existing revision\nproposal and confirmation."},"ThesisRevisionOrganizeUnresolvedOut":{"properties":{"unresolved_id":{"type":"string","title":"Unresolved Id"},"question":{"type":"string","title":"Question"}},"type":"object","required":["unresolved_id","question"],"title":"ThesisRevisionOrganizeUnresolvedOut"},"ThesisRevisionProposalIn":{"properties":{"schema_version":{"type":"string","const":"thesis-revision-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_revision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"current_saved_version","title":"Requested Window"},"proposal_scope":{"type":"string","const":"narrative_only","title":"Proposal Scope"},"subject_type":{"type":"string","enum":["company_thesis","investment_theme"],"title":"Subject Type"},"subject_version":{"type":"integer","exclusiveMinimum":0.0,"title":"Subject Version"},"watchlist_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Watchlist Id"},"ticker":{"anyOf":[{"type":"string","maxLength":16,"minLength":1},{"type":"null"}],"title":"Ticker"},"shared_thesis_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Shared Thesis Id"},"proposed_narrative":{"type":"string","maxLength":20000,"minLength":3,"title":"Proposed Narrative"}},"additionalProperties":false,"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","proposal_scope","subject_type","subject_version","proposed_narrative"],"title":"ThesisRevisionProposalIn","description":"One exact, narrative-only proposal against the current saved version.\n\nThe command phrase and surrounding conversation are deliberately absent. The\nproposed narrative is user-authored product input, not a transcript or model\ninstruction. Unknown fields fail closed so components, links, approval and save\nauthority cannot be smuggled into this preview boundary."},"ThesisRevisionProposalOut":{"properties":{"schema_version":{"type":"string","const":"thesis-revision-proposal-v1","title":"Schema Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"operation":{"type":"string","const":"propose_revision","title":"Operation"},"confirmation_policy":{"type":"string","const":"explicit_approval_required","title":"Confirmation Policy"},"requested_window":{"type":"string","const":"current_saved_version","title":"Requested Window"},"proposal_scope":{"type":"string","const":"narrative_only","title":"Proposal Scope"},"mutation_performed":{"type":"boolean","const":false,"title":"Mutation Performed","default":false},"transcript_persisted":{"type":"boolean","const":false,"title":"Transcript Persisted","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0},"model_calls":{"type":"integer","const":0,"title":"Model Calls","default":0},"subject":{"$ref":"#/components/schemas/ThesisReadSubjectOut"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"base_version":{"anyOf":[{"$ref":"#/components/schemas/ThesisVersionOut"},{"$ref":"#/components/schemas/SharedThesisVersionOut"}],"title":"Base Version"},"proposed_narrative":{"type":"string","title":"Proposed Narrative"},"changes":{"$ref":"#/components/schemas/ThesisVersionChangeOut"},"relationships_changed":{"type":"boolean","const":false,"title":"Relationships Changed","default":false},"unchanged_relationship_count":{"type":"integer","minimum":0.0,"title":"Unchanged Relationship Count"}},"type":"object","required":["schema_version","idempotency_key","operation","confirmation_policy","requested_window","proposal_scope","subject","generated_at","base_version","proposed_narrative","changes","unchanged_relationship_count"],"title":"ThesisRevisionProposalOut","description":"An ephemeral comparison that requires separate confirmation before saving."},"ThesisRevisionRationaleIn":{"properties":{"rationale":{"type":"string","maxLength":2000,"minLength":1,"title":"Rationale"}},"type":"object","required":["rationale"],"title":"ThesisRevisionRationaleIn"},"ThesisRevisionSuggestionIn":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":240,"minLength":3},{"type":"null"}],"title":"Title"},"statement":{"anyOf":[{"type":"string","maxLength":4000,"minLength":8},{"type":"null"}],"title":"Statement"},"invalidation_trigger":{"anyOf":[{"type":"string","maxLength":2000,"minLength":8},{"type":"null"}],"title":"Invalidation Trigger"},"factors":{"items":{"$ref":"#/components/schemas/FactorRevisionSuggestionIn"},"type":"array","maxItems":100,"title":"Factors","default":[]}},"additionalProperties":false,"type":"object","title":"ThesisRevisionSuggestionIn"},"ThesisShapeOut":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"starter_thesis":{"type":"string","title":"Starter Thesis"}},"type":"object","required":["key","name","starter_thesis"],"title":"ThesisShapeOut"},"ThesisStructureIn":{"properties":{"components":{"items":{"$ref":"#/components/schemas/ThesisComponentIn"},"type":"array","maxItems":24,"title":"Components"}},"type":"object","title":"ThesisStructureIn"},"ThesisStructureOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"thesis_updated_at":{"type":"string","format":"date-time","title":"Thesis Updated At"},"components":{"items":{"$ref":"#/components/schemas/ThesisComponentOut"},"type":"array","title":"Components"},"has_claims":{"type":"boolean","title":"Has Claims"},"has_expectations":{"type":"boolean","title":"Has Expectations"},"has_invalidations":{"type":"boolean","title":"Has Invalidations"},"is_testable":{"type":"boolean","title":"Is Testable"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["ticker","thesis_updated_at","components","has_claims","has_expectations","has_invalidations","is_testable"],"title":"ThesisStructureOut"},"ThesisTimelineMarkerOut":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["thesis_version","position_decision","alert","source_event","economic_event"],"title":"Kind"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"title":{"type":"string","title":"Title"},"detail":{"type":"string","title":"Detail"},"source_label":{"type":"string","title":"Source Label"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"source_ingestion_origin":{"anyOf":[{"type":"string","enum":["live_monitor","stored_source_projection","historical_provider_backfill","legacy_unknown"]},{"type":"null"}],"title":"Source Ingestion Origin"},"relationship":{"anyOf":[{"type":"string","enum":["support","contradict","neutral"]},{"type":"null"}],"title":"Relationship"},"thesis_impact":{"anyOf":[{"type":"string","enum":["strengthened","weakened","broken","uncertain"]},{"type":"null"}],"title":"Thesis Impact"},"revision_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revision Rationale"},"revision_cause_count":{"type":"integer","title":"Revision Cause Count","default":0},"event_referent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Event Referent Id"},"importance_eligible":{"type":"boolean","title":"Importance Eligible","default":false},"important_to_me":{"type":"boolean","title":"Important To Me","default":false},"importance_marked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Importance Marked At"},"position_decision_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position Decision Id"},"position_decision_supersedes_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position Decision Supersedes Id"},"position_decision_superseded_by_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position Decision Superseded By Id"}},"type":"object","required":["id","kind","occurred_at","title","detail","source_label"],"title":"ThesisTimelineMarkerOut"},"ThesisTimelineOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"},"price_source":{"type":"string","title":"Price Source"},"price_adjustment":{"type":"string","const":"splits","title":"Price Adjustment"},"price_coverage":{"type":"string","const":"current_symbol","title":"Price Coverage"},"prices":{"items":{"$ref":"#/components/schemas/ThesisTimelinePriceOut"},"type":"array","title":"Prices"},"markers":{"items":{"$ref":"#/components/schemas/ThesisTimelineMarkerOut"},"type":"array","title":"Markers"},"source_markers_state":{"type":"string","enum":["populated","complete_empty","warmup_pending","warmup_failed"],"title":"Source Markers State","default":"populated"},"marker_limit_per_kind":{"type":"integer","title":"Marker Limit Per Kind","default":100},"truncated_marker_kinds":{"items":{"type":"string","enum":["thesis_version","position_decision","alert","source_event","economic_event"]},"type":"array","title":"Truncated Marker Kinds"},"market_performance":{"anyOf":[{"$ref":"#/components/schemas/ThesisMarketPerformanceOut"},{"type":"null"}]}},"type":"object","required":["ticker","start_date","end_date","price_source","price_adjustment","price_coverage","prices","markers"],"title":"ThesisTimelineOut"},"ThesisTimelinePriceOut":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"close":{"type":"number","title":"Close"}},"type":"object","required":["date","close"],"title":"ThesisTimelinePriceOut"},"ThesisVersionChangeOut":{"properties":{"narrative_changed":{"type":"boolean","title":"Narrative Changed"},"added_components":{"items":{"$ref":"#/components/schemas/ThesisVersionComponentOut"},"type":"array","title":"Added Components"},"removed_components":{"items":{"$ref":"#/components/schemas/ThesisVersionComponentOut"},"type":"array","title":"Removed Components"},"revised_components":{"items":{"$ref":"#/components/schemas/ThesisVersionComponentRevisionOut"},"type":"array","title":"Revised Components"},"reordered_components":{"items":{"$ref":"#/components/schemas/ThesisVersionComponentRevisionOut"},"type":"array","title":"Reordered Components"}},"type":"object","required":["narrative_changed"],"title":"ThesisVersionChangeOut"},"ThesisVersionComponentOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","enum":["claim","expectation","invalidation"],"title":"Kind"},"statement":{"type":"string","title":"Statement"},"position":{"type":"integer","title":"Position"}},"type":"object","required":["id","kind","statement","position"],"title":"ThesisVersionComponentOut","description":"A component exactly as it appeared in one immutable thesis version."},"ThesisVersionComponentRevisionOut":{"properties":{"before":{"$ref":"#/components/schemas/ThesisVersionComponentOut"},"after":{"$ref":"#/components/schemas/ThesisVersionComponentOut"}},"type":"object","required":["before","after"],"title":"ThesisVersionComponentRevisionOut"},"ThesisVersionHistoryOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"versions":{"items":{"$ref":"#/components/schemas/ThesisVersionOut"},"type":"array","title":"Versions"},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["ticker"],"title":"ThesisVersionHistoryOut"},"ThesisVersionOut":{"properties":{"version_number":{"type":"integer","title":"Version Number"},"narrative_text":{"type":"string","title":"Narrative Text"},"components":{"items":{"$ref":"#/components/schemas/ThesisVersionComponentOut"},"type":"array","title":"Components"},"change_kind":{"type":"string","enum":["initial_snapshot","narrative_saved","structure_saved"],"title":"Change Kind"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"is_current":{"type":"boolean","title":"Is Current"},"changes":{"$ref":"#/components/schemas/ThesisVersionChangeOut"},"revision_note":{"anyOf":[{"$ref":"#/components/schemas/ThesisRevisionNoteOut"},{"type":"null"}]},"market_context_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Market Context End At"},"market_performance":{"anyOf":[{"$ref":"#/components/schemas/ThesisMarketPerformanceOut"},{"type":"null"}]},"record_entry":{"anyOf":[{"$ref":"#/components/schemas/RecordEntrySummaryOut"},{"type":"null"}]},"record_derived_entries":{"items":{"$ref":"#/components/schemas/RecordEntrySummaryOut"},"type":"array","title":"Record Derived Entries"}},"type":"object","required":["version_number","narrative_text","change_kind","effective_at","recorded_at","is_current","changes"],"title":"ThesisVersionOut"},"ThresholdIn":{"properties":{"alert_threshold_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alert Threshold Pct"}},"type":"object","required":["alert_threshold_pct"],"title":"ThresholdIn"},"ThresholdOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"alert_threshold_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alert Threshold Pct"},"is_custom":{"type":"boolean","title":"Is Custom"},"threshold_source":{"type":"string","enum":["override","company_default","calibrating"],"title":"Threshold Source"},"company_default_threshold_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Company Default Threshold Pct"},"company_default_threshold_basis":{"type":"string","title":"Company Default Threshold Basis"},"muted":{"type":"boolean","title":"Muted"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"day_change_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Day Change Pct"},"quote_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Quote As Of"},"quote_provider_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Provider Code"},"quote_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Unavailable Reason"},"news_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"News Checked At"},"pe_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pe Ratio"},"dividend_yield_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dividend Yield Pct"},"week52_high":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Week52 High"},"week52_low":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Week52 Low"}},"type":"object","required":["ticker","alert_threshold_pct","is_custom","threshold_source","company_default_threshold_pct","company_default_threshold_basis","muted"],"title":"ThresholdOut"},"TickerAdd":{"properties":{"ticker":{"type":"string","maxLength":16,"minLength":1,"title":"Ticker"},"portfolio_weight":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Portfolio Weight"}},"type":"object","required":["ticker"],"title":"TickerAdd"},"TickerCoverageOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"universe_status":{"type":"string","enum":["supported","unsupported"],"title":"Universe Status"},"universe_detail":{"type":"string","title":"Universe Detail"},"overall_status":{"type":"string","enum":["ready","onboarding","partial","unsupported"],"title":"Overall Status"},"sources":{"items":{"$ref":"#/components/schemas/TickerSourceCoverageOut"},"type":"array","title":"Sources"}},"type":"object","required":["ticker","universe_status","universe_detail","overall_status","sources"],"title":"TickerCoverageOut"},"TickerHistoryArchiveOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"ask_count":{"type":"integer","title":"Ask Count"},"explain_count":{"type":"integer","title":"Explain Count"},"last_activity_at":{"type":"string","format":"date-time","title":"Last Activity At"}},"type":"object","required":["ticker","ask_count","explain_count","last_activity_at"],"title":"TickerHistoryArchiveOut"},"TickerSearchResult":{"properties":{"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"cik":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cik"},"is_tracked":{"type":"boolean","title":"Is Tracked"},"filings_status":{"type":"string","enum":["not_started","pending","ready","unavailable","failed"],"title":"Filings Status"},"price_history_status":{"type":"string","enum":["not_started","pending","ready","unavailable","failed"],"title":"Price History Status"}},"type":"object","required":["ticker","company_name","cik","is_tracked","filings_status","price_history_status"],"title":"TickerSearchResult"},"TickerSharedThesisLabelOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"shared_thesis_id":{"type":"integer","title":"Shared Thesis Id"},"title":{"type":"string","title":"Title"},"preset_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset Key"},"effect":{"type":"string","enum":["tailwind","headwind","mixed","uncertain"],"title":"Effect"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"notifications_muted":{"type":"boolean","title":"Notifications Muted"},"monitoring_eligible":{"type":"boolean","title":"Monitoring Eligible","default":true}},"type":"object","required":["ticker","shared_thesis_id","title","preset_key","effect","rationale","notifications_muted"],"title":"TickerSharedThesisLabelOut"},"TickerSourceCoverageOut":{"properties":{"source":{"type":"string","enum":["filings","price_history","consensus","earnings_results","earnings_calendar","ir_presentations","segments","issuer_annual_reports","issuer_interim_reports"],"title":"Source"},"status":{"type":"string","enum":["partial","disabled","not_started","pending","ready","stale","unavailable","failed","not_refreshed","licensing_required"],"title":"Status"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"last_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempted At"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"record_count":{"type":"integer","title":"Record Count","default":0},"metric_count":{"type":"integer","title":"Metric Count","default":0},"period_count":{"type":"integer","title":"Period Count","default":0},"earliest_period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Earliest Period End"},"latest_period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Latest Period End"}},"type":"object","required":["source","status","detail"],"title":"TickerSourceCoverageOut"},"TickerStatusOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"filings_status":{"type":"string","enum":["pending","ready","unavailable","failed"],"title":"Filings Status"},"filings_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filings Error"},"price_history_status":{"type":"string","enum":["pending","ready","unavailable","failed"],"title":"Price History Status"},"price_history_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price History Error"},"earnings_calls_status":{"type":"string","enum":["pending","ready","unavailable","failed"],"title":"Earnings Calls Status","default":"pending"},"earnings_calls_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earnings Calls Error"},"earnings_call_count":{"type":"integer","title":"Earnings Call Count","default":0},"earnings_call_embedded_count":{"type":"integer","title":"Earnings Call Embedded Count","default":0},"issuer_reports":{"items":{"$ref":"#/components/schemas/TickerSourceCoverageOut"},"type":"array","title":"Issuer Reports"}},"type":"object","required":["ticker","filings_status","filings_error","price_history_status","price_history_error"],"title":"TickerStatusOut"},"TimelineEventImportanceOut":{"properties":{"watchlist_id":{"type":"integer","title":"Watchlist Id"},"ticker":{"type":"string","title":"Ticker"},"kind":{"type":"string","enum":["alert","source_event","economic_event"],"title":"Kind"},"referent_id":{"type":"integer","title":"Referent Id"},"important_to_me":{"type":"boolean","title":"Important To Me"},"marked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Marked At"},"canonical_event_mutated":{"type":"boolean","const":false,"title":"Canonical Event Mutated","default":false},"ranking_mutated":{"type":"boolean","const":false,"title":"Ranking Mutated","default":false}},"type":"object","required":["watchlist_id","ticker","kind","referent_id","important_to_me"],"title":"TimelineEventImportanceOut"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}},"type":"object","required":["access_token"],"title":"TokenResponse"},"TrackRecordBoundaryOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"asserted_formation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Asserted Formation Date"},"asserted_formation_recorded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Asserted Formation Recorded At"},"asserted_source":{"type":"string","const":"user_claim","title":"Asserted Source","default":"user_claim"},"witnessed_since":{"type":"string","format":"date-time","title":"Witnessed Since"},"witnessed_since_source":{"type":"string","enum":["version_history","thesis_updated_at"],"title":"Witnessed Since Source"},"reconstructed_days":{"type":"integer","title":"Reconstructed Days","default":0}},"type":"object","required":["ticker","witnessed_since","witnessed_since_source"],"title":"TrackRecordBoundaryOut","description":"IA-11. Where the investor's claim ends and TickerTrac's observation begins.\n\n``asserted_source`` is fixed rather than inferred so no client can render the\ndate as anything but the user's own claim. ``witnessed_since`` is the first\nmoment the product actually monitored this thesis; everything before it is\nreconstructed after the fact and must be labeled that way."},"TrackedConfirmation":{"properties":{"draft":{"$ref":"#/components/schemas/TrackedDraft"},"expected_payload_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Payload Sha256"},"expected_preview_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Preview Sha256"},"confirmation":{"type":"string","const":"I reviewed the source identity, original summaries, exact quotes, interpretation, source-use rights and current outreach eligibility for this exact editorial record.","title":"Confirmation"}},"additionalProperties":false,"type":"object","required":["draft","expected_payload_sha256","expected_preview_sha256","confirmation"],"title":"TrackedConfirmation"},"TrackedDisputeStatusOut":{"properties":{"status":{"type":"string","enum":["disputed","resolved"],"title":"Status"},"target_entry_id":{"type":"string","format":"uuid","title":"Target Entry Id"},"target_entry_sha256":{"type":"string","title":"Target Entry Sha256"},"writer_verified":{"type":"boolean","title":"Writer Verified"},"accepted_at":{"type":"string","format":"date-time","title":"Accepted At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"resolution_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resolution Entry Id"}},"type":"object","required":["status","target_entry_id","target_entry_sha256","writer_verified","accepted_at"],"title":"TrackedDisputeStatusOut"},"TrackedDraft":{"properties":{"tracking_id":{"type":"string","format":"uuid","title":"Tracking Id"},"previous_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Previous Entry Id"},"event":{"type":"string","enum":["initial","correction","evidence_update","withdrawal"],"title":"Event","default":"initial"},"writer_name":{"type":"string","maxLength":120,"minLength":1,"title":"Writer Name"},"writer_url":{"type":"string","maxLength":2000,"minLength":1,"title":"Writer Url"},"ticker":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9.\\-]{0,19}$","title":"Ticker"},"title":{"type":"string","maxLength":240,"minLength":3,"title":"Title"},"interpretation":{"type":"string","maxLength":3000,"minLength":8,"title":"Interpretation"},"invalidation":{"type":"string","maxLength":1600,"minLength":8,"title":"Invalidation"},"horizon":{"type":"string","maxLength":400,"minLength":3,"title":"Horizon"},"coverage_limits":{"type":"string","maxLength":1600,"minLength":8,"title":"Coverage Limits"},"change_note":{"type":"string","maxLength":1000,"minLength":8,"title":"Change Note"},"sources":{"items":{"$ref":"#/components/schemas/TrackedSource"},"type":"array","maxItems":10,"minItems":1,"title":"Sources"},"outreach_eligibility":{"$ref":"#/components/schemas/OutreachEligibility"}},"additionalProperties":false,"type":"object","required":["tracking_id","writer_name","writer_url","ticker","title","interpretation","invalidation","horizon","coverage_limits","change_note","sources","outreach_eligibility"],"title":"TrackedDraft"},"TrackedSource":{"properties":{"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"url":{"type":"string","maxLength":2000,"minLength":1,"title":"Url"},"publisher":{"type":"string","maxLength":120,"minLength":1,"title":"Publisher"},"role":{"type":"string","enum":["writer_statement","later_evidence"],"title":"Role"},"summary":{"type":"string","maxLength":1600,"minLength":8,"title":"Summary"},"quote":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Quote"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"access_basis":{"type":"string","enum":["original_summary_and_link","limited_attributed_quote","permission","license"],"title":"Access Basis"}},"additionalProperties":false,"type":"object","required":["title","url","publisher","role","summary","observed_at","access_basis"],"title":"TrackedSource"},"Upload":{"properties":{"base64":{"type":"string","maxLength":11184812,"title":"Base64"}},"additionalProperties":false,"type":"object","required":["base64"],"title":"Upload"},"UserOut":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"email":{"type":"string","title":"Email"},"is_admin":{"type":"boolean","title":"Is Admin"},"email_verified":{"type":"boolean","title":"Email Verified"},"alerts_paused":{"type":"boolean","title":"Alerts Paused"},"email_delivery_suppressed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Email Delivery Suppressed At"},"email_delivery_suppression_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Delivery Suppression Reason"},"onboarding_preferences_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Onboarding Preferences Confirmed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"guidance_preference":{"anyOf":[{"type":"string","enum":["guided","experienced"]},{"type":"null"}],"title":"Guidance Preference"},"example_thesis_hidden_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Example Thesis Hidden At"},"has_password":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Password"}},"type":"object","required":["email","is_admin","email_verified","alerts_paused","email_delivery_suppressed_at","email_delivery_suppression_reason","onboarding_preferences_confirmed_at","created_at"],"title":"UserOut"},"UserSettingsIn":{"properties":{"alerts_paused":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Alerts Paused"},"guidance_preference":{"anyOf":[{"type":"string","enum":["guided","experienced"]},{"type":"null"}],"title":"Guidance Preference"},"example_thesis_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Example Thesis Hidden"}},"type":"object","title":"UserSettingsIn","description":"Partial update: only the fields present in the request are written."},"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"},"ValuationCompanyOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"company_name":{"type":"string","title":"Company Name"},"role":{"type":"string","enum":["target","peer"],"title":"Role"},"selection_source":{"type":"string","enum":["target","investment_theme","user"],"title":"Selection Source"},"selection_reason":{"type":"string","title":"Selection Reason"},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rationale"},"observation_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Observation Id"},"observation_status":{"type":"string","enum":["retained","legacy_cache","unavailable"],"title":"Observation Status"},"observation_detail":{"type":"string","title":"Observation Detail"},"last_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempted At"},"last_attempt_succeeded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Last Attempt Succeeded"},"metrics":{"items":{"$ref":"#/components/schemas/ValuationMetricOut"},"type":"array","title":"Metrics"}},"type":"object","required":["ticker","company_name","role","selection_source","selection_reason","observation_id","observation_status","observation_detail","last_attempted_at","last_attempt_succeeded","metrics"],"title":"ValuationCompanyOut"},"ValuationMetricOut":{"properties":{"key":{"type":"string","enum":["trailing_pe","earnings_yield","dividend_yield"],"title":"Key"},"label":{"type":"string","title":"Label"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","enum":["x","%"],"title":"Unit"},"formula":{"type":"string","title":"Formula"},"calculation":{"type":"string","enum":["provider_reported","tickertrac_derived"],"title":"Calculation"},"source_provider":{"type":"string","title":"Source Provider"},"source_url":{"type":"string","title":"Source Url"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"currency_note":{"type":"string","title":"Currency Note"},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason"}},"type":"object","required":["key","label","value","unit","formula","calculation","source_provider","source_url","as_of","currency","currency_note"],"title":"ValuationMetricOut"},"ValuationObservationOut":{"properties":{"id":{"type":"integer","title":"Id"},"ticker":{"type":"string","title":"Ticker"},"dataset":{"type":"string","title":"Dataset"},"provider_code":{"type":"string","title":"Provider Code"},"provider_name":{"type":"string","title":"Provider Name"},"provider_record_id":{"type":"string","title":"Provider Record Id"},"source_symbol":{"type":"string","title":"Source Symbol"},"source_url":{"type":"string","title":"Source Url"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"ingested_at":{"type":"string","format":"date-time","title":"Ingested At"},"superseded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Superseded At"},"supersedes_observation_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supersedes Observation Id"},"content_hash":{"type":"string","title":"Content Hash"},"pe_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pe Ratio"},"dividend_yield_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dividend Yield Pct"},"week52_high":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Week52 High"},"week52_low":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Week52 Low"}},"type":"object","required":["id","ticker","dataset","provider_code","provider_name","provider_record_id","source_symbol","source_url","effective_at","observed_at","ingested_at","superseded_at","supersedes_observation_id","content_hash","pe_ratio","dividend_yield_pct","week52_high","week52_low"],"title":"ValuationObservationOut"},"ValuationPeerIn":{"properties":{"ticker":{"type":"string","maxLength":12,"minLength":1,"title":"Ticker"},"rationale":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Rationale"}},"type":"object","required":["ticker"],"title":"ValuationPeerIn"},"ValuationPeerSetIn":{"properties":{"peers":{"items":{"$ref":"#/components/schemas/ValuationPeerIn"},"type":"array","maxItems":8,"title":"Peers"}},"type":"object","title":"ValuationPeerSetIn"},"ValuationResearchOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"peer_set_source":{"type":"string","enum":["investment_theme_suggestions","custom","empty"],"title":"Peer Set Source"},"peer_set_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Peer Set Updated At"},"peer_set_detail":{"type":"string","title":"Peer Set Detail"},"max_peers":{"type":"integer","title":"Max Peers"},"target":{"$ref":"#/components/schemas/ValuationCompanyOut"},"peers":{"items":{"$ref":"#/components/schemas/ValuationCompanyOut"},"type":"array","title":"Peers"}},"type":"object","required":["ticker","peer_set_source","peer_set_updated_at","peer_set_detail","max_peers","target"],"title":"ValuationResearchOut"},"ValueProgressOut":{"properties":{"setup_users":{"type":"integer","title":"Setup Users"},"evidence_inspected_users":{"type":"integer","title":"Evidence Inspected Users"},"explicitly_useful_users":{"type":"integer","title":"Explicitly Useful Users"},"return_eligible_users":{"type":"integer","title":"Return Eligible Users"},"later_day_return_users":{"type":"integer","title":"Later Day Return Users"},"median_hours_to_evidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Hours To Evidence"},"by_acquisition_source":{"items":{"$ref":"#/components/schemas/ValueProgressSourceOut"},"type":"array","title":"By Acquisition Source"}},"type":"object","required":["setup_users","evidence_inspected_users","explicitly_useful_users","return_eligible_users","later_day_return_users","median_hours_to_evidence","by_acquisition_source"],"title":"ValueProgressOut"},"ValueProgressSourceOut":{"properties":{"setup_users":{"type":"integer","title":"Setup Users"},"evidence_inspected_users":{"type":"integer","title":"Evidence Inspected Users"},"explicitly_useful_users":{"type":"integer","title":"Explicitly Useful Users"},"return_eligible_users":{"type":"integer","title":"Return Eligible Users"},"later_day_return_users":{"type":"integer","title":"Later Day Return Users"},"median_hours_to_evidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Hours To Evidence"},"source":{"type":"string","title":"Source"}},"type":"object","required":["setup_users","evidence_inspected_users","explicitly_useful_users","return_eligible_users","later_day_return_users","median_hours_to_evidence","source"],"title":"ValueProgressSourceOut"},"VerifyEmailIn":{"properties":{"token":{"type":"string","maxLength":200,"minLength":1,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"VerifyEmailIn"},"VerifyProof":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"expected_request_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Request Sha256"},"proof_url":{"type":"string","maxLength":2000,"minLength":1,"title":"Proof Url"},"identity_url":{"type":"string","maxLength":2000,"minLength":1,"title":"Identity Url"},"observed_nonce":{"type":"string","maxLength":160,"minLength":20,"title":"Observed Nonce"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"proof_kind":{"type":"string","enum":["profile","original_post"],"title":"Proof Kind"},"confirmation":{"type":"string","const":"I opened the public proof, verified the exact writer identity and observed the current challenge in that writer’s own profile or original post.","title":"Confirmation"}},"additionalProperties":false,"type":"object","required":["expected_revision","expected_request_sha256","proof_url","identity_url","observed_nonce","proof_kind","confirmation"],"title":"VerifyProof"},"VersionedRef":{"properties":{"entity_id":{"type":"string","maxLength":160,"minLength":1,"title":"Entity Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["entity_id","version"],"title":"VersionedRef"},"VisualSubjectReadinessIn":{"properties":{"subjects":{"items":{"$ref":"#/components/schemas/VisualSubjectReadinessItem"},"type":"array","maxItems":500,"minItems":1,"title":"Subjects"}},"additionalProperties":false,"type":"object","required":["subjects"],"title":"VisualSubjectReadinessIn","description":"One boolean per ticker, and deliberately nothing else.\n\nEditorial holds scene direction, palette and concept assets for each subject. None of\nthat belongs here; what this side needs is only whether a candidate on that ticker can\nbe rendered, so that a weekly admin reminder stops counting impossible work as pending.\n`extra=\"forbid\"` is what keeps a well-meaning future field from widening that."},"VisualSubjectReadinessItem":{"properties":{"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9.]{0,9}$","title":"Ticker"},"has_visual_subject":{"type":"boolean","title":"Has Visual Subject"}},"additionalProperties":false,"type":"object","required":["ticker","has_visual_subject"],"title":"VisualSubjectReadinessItem"},"VisualSubjectReadinessOut":{"properties":{"recorded":{"type":"integer","minimum":0.0,"title":"Recorded"}},"additionalProperties":false,"type":"object","required":["recorded"],"title":"VisualSubjectReadinessOut"},"VoiceTranscriptionOut":{"properties":{"transcription_id":{"type":"integer","title":"Transcription Id"},"text":{"type":"string","title":"Text"},"model":{"type":"string","title":"Model"},"audio_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Audio Seconds"},"cached":{"type":"boolean","title":"Cached"}},"type":"object","required":["transcription_id","text","model","audio_seconds","cached"],"title":"VoiceTranscriptionOut"},"WatchlistCreate":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name","default":"Default"}},"type":"object","title":"WatchlistCreate"},"WatchlistOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"tickers":{"items":{"type":"string"},"type":"array","title":"Tickers"},"positions":{"items":{"$ref":"#/components/schemas/WatchlistTickerOut"},"type":"array","title":"Positions"}},"type":"object","required":["id","name","tickers"],"title":"WatchlistOut"},"WatchlistTickerOut":{"properties":{"ticker":{"type":"string","title":"Ticker"},"portfolio_weight":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Portfolio Weight"}},"type":"object","required":["ticker"],"title":"WatchlistTickerOut"},"WatchlistTickerWeightIn":{"properties":{"portfolio_weight":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Portfolio Weight"}},"type":"object","title":"WatchlistTickerWeightIn"},"WriteReceipt":{"properties":{"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"applied_at":{"type":"string","format":"date-time","title":"Applied At"},"records":{"items":{"$ref":"#/components/schemas/SavedRecord"},"type":"array","title":"Records"},"research_started":{"type":"boolean","const":false,"title":"Research Started","default":false},"monitoring_selection_changed":{"type":"boolean","const":false,"title":"Monitoring Selection Changed","default":false},"provider_calls":{"type":"integer","const":0,"title":"Provider Calls","default":0}},"additionalProperties":false,"type":"object","required":["batch_id","payload_hash","applied_at","records"],"title":"WriteReceipt"},"WriterInvitationViewIn":{"properties":{"token":{"type":"string","maxLength":128,"title":"Token"},"session_id":{"type":"string","format":"uuid","title":"Session Id"}},"additionalProperties":false,"type":"object","required":["token","session_id"],"title":"WriterInvitationViewIn"},"tickerrag__api__routers__editorial_newsletter__Action":{"properties":{"action":{"type":"string","enum":["prepare","save","approved","revoked"],"title":"Action"},"sha256":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Sha256"},"recipe":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Recipe"}},"additionalProperties":false,"type":"object","required":["action"],"title":"Action"},"tickerrag__api__routers__editorial_x__Action":{"properties":{"action":{"type":"string","enum":["prepare","save","approve","handoff","published","not_posted","revoke"],"title":"Action"},"operation_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{7,159}$","title":"Operation Key"},"release_ref":{"anyOf":[{"$ref":"#/components/schemas/ReleaseRef"},{"type":"null"}]},"sha256":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Sha256"},"body":{"anyOf":[{"type":"string","maxLength":4000,"minLength":1},{"type":"null"}],"title":"Body"},"permalink":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Permalink"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"additionalProperties":false,"type":"object","required":["action","operation_key"],"title":"Action"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}