{"openapi":"3.1.0","info":{"title":"Video Summary Service","version":"0.1.411"},"paths":{"/api/v1/audio/{summary_id}":{"get":{"tags":["audio"],"summary":"Get Audio","operationId":"get_audio_api_v1_audio__summary_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Summary Id"}},{"name":"translation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Translation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_AudioManifest_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["audio"],"summary":"Play Audio","operationId":"play_audio_api_v1_audio__summary_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Summary Id"}},{"name":"translation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Translation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_AudioManifest_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audit":{"post":{"tags":["audit"],"summary":"Log Client Action","operationId":"log_client_action_api_v1_audit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify":{"get":{"tags":["auth"],"summary":"Verify Email","description":"Verify email via link from verification email.","operationId":"verify_email_api_v1_auth_verify_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"}}}}}}},"/api/v1/auth/resend-verification":{"post":{"tags":["auth"],"summary":"Resend Verification","description":"Resend verification email. Requires email + password to prevent abuse.","operationId":"resend_verification_api_v1_auth_resend_verification_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_v1_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/ResponseEnvelope_TokenResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_TokenResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_v1_auth_logout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/oauth":{"post":{"tags":["auth"],"summary":"Oauth Login","operationId":"oauth_login_api_v1_auth_oauth_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_TokenResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/accept-terms":{"post":{"tags":["auth"],"summary":"Accept Terms","description":"Exchange the terms_token from a 403 for real tokens.\n\nDeliberately not behind CurrentUser: the caller has no access token\nyet — that's precisely what the gate withheld.","operationId":"accept_terms_api_v1_auth_accept_terms_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptTermsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_TokenResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/channels/{yt_channel_id}/follow":{"post":{"tags":["channels"],"summary":"Follow Channel","operationId":"follow_channel_api_v1_channels__yt_channel_id__follow_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"yt_channel_id","in":"path","required":true,"schema":{"type":"string","title":"Yt Channel Id"}},{"name":"collection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Collection Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_FollowedChannelResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["channels"],"summary":"Unfollow Channel","operationId":"unfollow_channel_api_v1_channels__yt_channel_id__follow_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"yt_channel_id","in":"path","required":true,"schema":{"type":"string","title":"Yt Channel Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["channels"],"summary":"Toggle Follow","operationId":"toggle_follow_api_v1_channels__yt_channel_id__follow_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"yt_channel_id","in":"path","required":true,"schema":{"type":"string","title":"Yt Channel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowToggleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_FollowedChannelResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/channels":{"get":{"tags":["channels"],"summary":"List Channels","operationId":"list_channels_api_v1_channels_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_FollowedChannelResponse__"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/channels/suggestions":{"get":{"tags":["channels"],"summary":"Suggested Channels","description":"Channels worth following that this user doesn't follow yet.\n\nOrdering is best-match-first but deliberately not stable across\ncalls: the list samples from a wider slice so it rotates rather\nthan showing the same five channels forever.","operationId":"suggested_channels_api_v1_channels_suggestions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_SuggestedChannelResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/channels/{yt_channel_id}":{"get":{"tags":["channels"],"summary":"Get Channel Detail","operationId":"get_channel_detail_api_v1_channels__yt_channel_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"yt_channel_id","in":"path","required":true,"schema":{"type":"string","title":"Yt Channel Id"}},{"name":"video_page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Page Token"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ChannelDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/channel-collections":{"post":{"tags":["channel-collections"],"summary":"Mint Collection","operationId":"mint_collection_api_v1_channel_collections_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MintCollectionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_MintCollectionResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/channel-collections/{collection_id}":{"get":{"tags":["channel-collections"],"summary":"Get Collection","operationId":"get_collection_api_v1_channel_collections__collection_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string","title":"Collection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_CollectionResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/videos/{video_id}/chat":{"post":{"tags":["chat"],"summary":"Send Chat Message","operationId":"send_chat_message_api_v1_videos__video_id__chat_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ChatResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["chat"],"summary":"Get Chat History","operationId":"get_chat_history_api_v1_videos__video_id__chat_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_ChatMessageResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["chat"],"summary":"Clear Chat","operationId":"clear_chat_api_v1_videos__video_id__chat_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}},{"name":"confirm","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Confirm"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/client-config":{"get":{"tags":["client-config"],"summary":"Get Client Config","operationId":"get_client_config_api_v1_client_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}}}}},"/api/v1/feed":{"get":{"tags":["feed"],"summary":"Get Feed","operationId":"get_feed_api_v1_feed_get","security":[{"HTTPBearer":[]}],"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":20,"title":"Limit"}},{"name":"with_reports","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Reports"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_FeedResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feed/offline-reads":{"post":{"tags":["feed"],"summary":"Record Offline Reads","operationId":"record_offline_reads_api_v1_feed_offline_reads_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfflineReadsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_OfflineReadsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/feed/videos/{video_id}":{"get":{"tags":["feed"],"summary":"Get Video Detail","operationId":"get_video_detail_api_v1_feed_videos__video_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}},{"name":"prefetch","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Prefetch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_VideoDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["feed"],"summary":"Hide Video","operationId":"hide_video_api_v1_feed_videos__video_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}},{"name":"confirm","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Confirm"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feed/channels/{channel_id}/no-more-picks":{"post":{"tags":["feed"],"summary":"Stop Picks From Channel","operationId":"stop_picks_from_channel_api_v1_feed_channels__channel_id__no_more_picks_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Channel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_PicksStoppedResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feed/reports/{report_id}":{"delete":{"tags":["feed"],"summary":"Hide Report","operationId":"hide_report_api_v1_feed_reports__report_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feed/videos/{video_id}/related":{"get":{"tags":["feed"],"summary":"Get Related Videos","operationId":"get_related_videos_api_v1_feed_videos__video_id__related_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/resolve-link":{"get":{"summary":"Resolve Link","operationId":"resolve_link_api_v1_resolve_link_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","maxLength":500,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ResolvedLink_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/shares":{"post":{"tags":["shares"],"summary":"Mint Share Token","operationId":"mint_share_token_api_v1_shares_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MintShareRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_MintShareResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/notes":{"post":{"tags":["notes"],"summary":"Create Note","operationId":"create_note_api_v1_notes_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NoteResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["notes"],"summary":"List Notes","operationId":"list_notes_api_v1_notes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"summary_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Summary Id"}},{"name":"translation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Translation Id"}},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Include"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_NoteResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{highlight_id}":{"patch":{"tags":["notes"],"summary":"Update Note","operationId":"update_note_api_v1_notes__highlight_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"highlight_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Highlight Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NoteResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notes"],"summary":"Delete Note","operationId":"delete_note_api_v1_notes__highlight_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"highlight_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Highlight Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}/like":{"put":{"tags":["notes"],"summary":"Like Note","operationId":"like_note_api_v1_notes__note_id__like_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notes"],"summary":"Unlike Note","operationId":"unlike_note_api_v1_notes__note_id__like_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}/likes":{"get":{"tags":["notes"],"summary":"Get Note Likers","operationId":"get_note_likers_api_v1_notes__note_id__likes_get","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}/bookmark":{"put":{"tags":["notes"],"summary":"Bookmark Note","operationId":"bookmark_note_api_v1_notes__note_id__bookmark_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notes"],"summary":"Unbookmark Note","operationId":"unbookmark_note_api_v1_notes__note_id__bookmark_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}/comments":{"post":{"tags":["notes"],"summary":"Create Comment","operationId":"create_comment_api_v1_notes__note_id__comments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["notes"],"summary":"Get Comments","operationId":"get_comments_api_v1_notes__note_id__comments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/comments/{comment_id}/replies":{"get":{"tags":["notes"],"summary":"Get Replies","operationId":"get_replies_api_v1_notes_comments__comment_id__replies_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/comments/{comment_id}":{"delete":{"tags":["notes"],"summary":"Delete Comment","operationId":"delete_comment_api_v1_notes_comments__comment_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/comments/{comment_id}/like":{"put":{"tags":["notes"],"summary":"Like Comment","operationId":"like_comment_api_v1_notes_comments__comment_id__like_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notes"],"summary":"Unlike Comment","operationId":"unlike_comment_api_v1_notes_comments__comment_id__like_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}/hide":{"post":{"tags":["notes"],"summary":"Hide Note","description":"Personal, immediate, permanent removal of a post from the\ncaller's feed — no moderation involvement (App Store 1.2).","operationId":"hide_note_api_v1_notes__note_id__hide_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}/report":{"post":{"tags":["notes"],"summary":"Report Note","description":"Report a published note (App Store 1.2 / Play UGC policy).","operationId":"report_note_api_v1_notes__note_id__report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/comments/{comment_id}/report":{"post":{"tags":["notes"],"summary":"Report Comment","description":"Report a comment or reply.","operationId":"report_comment_api_v1_notes_comments__comment_id__report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/feed/video-count/{video_id}":{"get":{"tags":["notes"],"summary":"Public Notes Count For Video","description":"Count published notes for a video (excluding the current user's).","operationId":"public_notes_count_for_video_api_v1_notes_feed_video_count__video_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_int_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/feed":{"get":{"tags":["notes"],"summary":"Public Feed","description":"Public feed of published notes.\n\nfollowing=true: only notes from users the current user follows.\nbookmarked=true: only notes bookmarked by the current user.\nOtherwise (default): published notes chronological by publication,\nfiltered to the user's followed categories when they follow any\n(the Settings \"Discover preferences\" picker; none followed = all).","operationId":"public_feed_api_v1_notes_feed_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"following","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Following"}},{"name":"bookmarked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Bookmarked"}},{"name":"video_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Video Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"}},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Include"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/conversation/{video_id}":{"get":{"tags":["notes"],"summary":"Conversation","operationId":"conversation_api_v1_notes_conversation__video_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ConversationResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/bookmarks":{"get":{"tags":["notes"],"summary":"Bookmarks","operationId":"bookmarks_api_v1_notes_bookmarks_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NotePageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/page":{"get":{"tags":["notes"],"summary":"My Notes Page","operationId":"my_notes_page_api_v1_notes_page_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NoteListPage_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/feed/page":{"get":{"tags":["notes"],"summary":"Public Feed Page","operationId":"public_feed_page_api_v1_notes_feed_page_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tab","in":"query","required":true,"schema":{"enum":["following","discover"],"type":"string","title":"Tab"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NoteListPage_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/following/unseen-count":{"get":{"tags":["notes"],"summary":"Following Unseen Count","operationId":"following_unseen_count_api_v1_notes_following_unseen_count_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Include"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UnseenCountResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/following/seen":{"post":{"tags":["notes"],"summary":"Mark Following Seen","operationId":"mark_following_seen_api_v1_notes_following_seen_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/notes/categories":{"get":{"tags":["notes"],"summary":"List Categories","operationId":"list_categories_api_v1_notes_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_CategoryResponse__"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["notes"],"summary":"Create Category","operationId":"create_category_api_v1_notes_categories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_CategoryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/notes/categories/followed":{"get":{"tags":["notes"],"summary":"List Followed Categories","description":"Get IDs of categories the user follows.","operationId":"list_followed_categories_api_v1_notes_categories_followed_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_UUID__"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/notes/categories/{category_id}/follow":{"put":{"tags":["notes"],"summary":"Follow Category","operationId":"follow_category_api_v1_notes_categories__category_id__follow_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Category Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notes"],"summary":"Unfollow Category","operationId":"unfollow_category_api_v1_notes_categories__category_id__follow_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Category Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/categories/{category_id}":{"delete":{"tags":["notes"],"summary":"Delete Category","operationId":"delete_category_api_v1_notes_categories__category_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Category Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{note_id}":{"get":{"tags":["notes"],"summary":"Get Note","description":"Get a single note by ID with like/comment counts.","operationId":"get_note_api_v1_notes__note_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NoteResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/purchases":{"post":{"tags":["purchases"],"summary":"Create Intent","description":"Record a client's intent to purchase.\n\nAcquires a per-user advisory lock so two concurrent Subscribe taps\ncan't both create intents — second one gets the same 409 the first\none would on a serial-then-conflict path.","operationId":"create_intent_api_v1_users_me_purchases_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseIntentRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_PurchaseIntentResponse_"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseConflictResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/purchases/{seimai_tx_id}/sdk-result":{"post":{"tags":["purchases"],"summary":"Report Sdk Result","description":"Record the SDK's outcome from ``Purchases.purchasePackage()``.\n\nValidates auth + ownership of the tx synchronously, then enqueues\nthe actual append as an ARQ job and returns **202 immediately**.\nThe mobile app fire-and-forgets this call (every call site has\n``.catch(() => {})`` and never reads the response body), so an\nasync append doesn't change observable behaviour — but it means\nthe endpoint can't be lock-contended by a webhook mid-flight,\nand SDK reports survive API restarts.\n\nState transitions inside the worker are governed by\n``compute_state_after`` — inconsistencies (SDK reports error\nafter webhook reported success, or vice versa) escalate to\n``needs_intervention``. SDK confirm is informational while\nwaiting for the webhook (state stays ``pending``); SDK error is\nterminal (state becomes ``failed``).","operationId":"report_sdk_result_api_v1_users_me_purchases__seimai_tx_id__sdk_result_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"seimai_tx_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Seimai Tx Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseSdkResultRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/purchases/{seimai_tx_id}":{"get":{"tags":["purchases"],"summary":"Get State","description":"Return the current state of a purchase transaction.\n\nUsed by the client to poll while a purchase is in flight. Cheap:\none indexed read of all events for the tx + one in-memory state\nderivation.\n\n404 for unknown or cross-user tx — no info leak about whose tx\nit is.","operationId":"get_state_api_v1_users_me_purchases__seimai_tx_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"seimai_tx_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Seimai Tx Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_PurchaseStateResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feedback":{"post":{"tags":["feedback"],"summary":"Submit Feedback","operationId":"submit_feedback_api_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/research/suggestions":{"post":{"tags":["research"],"summary":"Suggestions","operationId":"suggestions_api_v1_research_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestionsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SuggestionsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/research/suggestions/other":{"post":{"tags":["research"],"summary":"Other Channels","operationId":"other_channels_api_v1_research_suggestions_other_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtherChannelsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_OtherChannelsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/research/subjects":{"get":{"tags":["research"],"summary":"List Subjects","operationId":"list_subjects_api_v1_research_subjects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SubjectListResponse_"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["research"],"summary":"Create Subject","operationId":"create_subject_api_v1_research_subjects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubjectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SubjectCreatedResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/research/unread":{"get":{"tags":["research"],"summary":"Research Unread","operationId":"research_unread_api_v1_research_unread_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ResearchUnreadResponse_"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/research/subjects/{subject_id}/read":{"post":{"tags":["research"],"summary":"Mark Subject Read","operationId":"mark_subject_read_api_v1_research_subjects__subject_id__read_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_MarkReadResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/subjects/{subject_id}":{"get":{"tags":["research"],"summary":"Get Subject","operationId":"get_subject_api_v1_research_subjects__subject_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SubjectResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["research"],"summary":"Update Subject","operationId":"update_subject_api_v1_research_subjects__subject_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SubjectResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["research"],"summary":"Delete Subject","operationId":"delete_subject_api_v1_research_subjects__subject_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/subjects/{subject_id}/reports":{"get":{"tags":["research"],"summary":"List Subject Reports","operationId":"list_subject_reports_api_v1_research_subjects__subject_id__reports_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ReportListResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["research"],"summary":"Create Report","operationId":"create_report_api_v1_research_subjects__subject_id__reports_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NewReportRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_NewReportResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/reports/{report_id}":{"get":{"tags":["research"],"summary":"Get Report","operationId":"get_report_api_v1_research_reports__report_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"prefetch","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Prefetch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ReportResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/reports/{report_id}/share":{"post":{"tags":["research"],"summary":"Share Report","operationId":"share_report_api_v1_research_reports__report_id__share_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ShareLinkResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/reports/{report_id}/passages/{ref}/translation":{"get":{"tags":["research"],"summary":"Passage Translation","operationId":"passage_translation_api_v1_research_reports__report_id__passages__ref__translation_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_PassageTranslationResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/shared/{report_id}":{"get":{"tags":["research"],"summary":"Get Shared Report","operationId":"get_shared_report_api_v1_research_shared__report_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ReportResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/shared/{report_id}/flag":{"post":{"tags":["research"],"summary":"Flag Shared Report","operationId":"flag_shared_report_api_v1_research_shared__report_id__flag_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/research/reports/{report_id}/chat":{"get":{"tags":["research"],"summary":"Get Report Chat","operationId":"get_report_chat_api_v1_research_reports__report_id__chat_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ResearchChatHistoryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["research"],"summary":"Send Report Chat","operationId":"send_report_chat_api_v1_research_reports__report_id__chat_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchChatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_ResearchChatReplyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["research"],"summary":"Clear Report Chat","operationId":"clear_report_chat_api_v1_research_reports__report_id__chat_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search":{"get":{"tags":["search"],"summary":"Search","operationId":"search_api_v1_search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":500,"title":"Q"}},{"name":"video_page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Page Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SearchResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search/feed":{"get":{"tags":["search"],"summary":"Search Feed","operationId":"search_feed_api_v1_search_feed_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_FeedSearchResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings":{"get":{"tags":["settings"],"summary":"Get Settings","operationId":"get_settings_api_v1_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UserSettingsResponse_"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["settings"],"summary":"Update Settings","operationId":"update_settings_api_v1_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSettingsUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UserSettingsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/summaries/s/{summary_id}":{"get":{"tags":["summaries"],"summary":"Get Summary View","description":"Load a specific Summary by id, regardless of viewer's UserSummary.\n\nUsed when arriving at a video via a shared note whose source is\nthe original (non-translated) summary.","operationId":"get_summary_view_api_v1_summaries_s__summary_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Summary Id"}},{"name":"ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ref"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_VideoDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/summaries/t/{translation_id}":{"get":{"tags":["summaries"],"summary":"Get Translation View","description":"Load a specific SummaryTranslation by id, regardless of viewer's\nUserSummary. Used when arriving via a shared note whose source is\na translation of the summary.","operationId":"get_translation_view_api_v1_summaries_t__translation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"translation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Translation Id"}},{"name":"ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ref"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_VideoDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/summaries/s/{summary_id}/add-to-feed":{"post":{"tags":["summaries"],"summary":"Add Summary To Feed","description":"Link the caller's account to an existing Summary as a\nUserSummary row (visible=true). Used by the shared-note\n\"Add to feed\" action so the viewer adopts the author's exact\nsummary — no fresh generation, no level conversion.","operationId":"add_summary_to_feed_api_v1_summaries_s__summary_id__add_to_feed_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Summary Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AddToFeedRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/summaries/t/{translation_id}/add-to-feed":{"post":{"tags":["summaries"],"summary":"Add Translation To Feed","description":"Link the caller's account to an existing Translation as a\nUserSummary row pointing at the translation's parent Summary\nwith translation_id set. Companion to the /s/{id}/add-to-feed\nendpoint for translation-anchored shared notes.","operationId":"add_translation_to_feed_api_v1_summaries_t__translation_id__add_to_feed_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"translation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Translation Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AddToFeedRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/summary-requests":{"get":{"tags":["summary-requests"],"summary":"List Summary Requests","operationId":"list_summary_requests_api_v1_summary_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_SummaryRequestResponse__"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["summary-requests"],"summary":"Create Summary Request","operationId":"create_summary_request_api_v1_summary_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryRequestCreate"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_SummaryRequestResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/summary-requests/{request_id}":{"get":{"tags":["summary-requests"],"summary":"Get Summary Request","operationId":"get_summary_request_api_v1_summary_requests__request_id__get","security":[{"HTTPBearer":[]}],"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/ResponseEnvelope_SummaryRequestResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/surveys/pending":{"get":{"tags":["surveys"],"summary":"Pending Survey","operationId":"pending_survey_api_v1_surveys_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/surveys/{survey_id}/shown":{"post":{"tags":["surveys"],"summary":"Survey Shown","operationId":"survey_shown_api_v1_surveys__survey_id__shown_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"survey_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Survey Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/surveys/{survey_id}/later":{"post":{"tags":["surveys"],"summary":"Survey Later","operationId":"survey_later_api_v1_surveys__survey_id__later_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"survey_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Survey Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/surveys/{survey_id}/decline":{"post":{"tags":["surveys"],"summary":"Survey Decline","operationId":"survey_decline_api_v1_surveys__survey_id__decline_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"survey_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Survey Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/surveys/{survey_id}/answer":{"post":{"tags":["surveys"],"summary":"Survey Answer","operationId":"survey_answer_api_v1_surveys__survey_id__answer_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"survey_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Survey Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurveyAnswerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/devices":{"get":{"tags":["devices"],"summary":"List Devices","operationId":"list_devices_api_v1_devices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_DeviceResponse__"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["devices"],"summary":"Register Device","operationId":"register_device_api_v1_devices_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceRegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_DeviceResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/devices/{device_id}":{"delete":{"tags":["devices"],"summary":"Unregister Device","operationId":"unregister_device_api_v1_devices__device_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me":{"get":{"tags":["users"],"summary":"Get Profile","operationId":"get_profile_api_v1_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UserResponse_"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["users"],"summary":"Delete Account","operationId":"delete_account_api_v1_users_me_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["users"],"summary":"Update Profile","operationId":"update_profile_api_v1_users_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/handle":{"patch":{"tags":["users"],"summary":"Update Handle","description":"Change the caller's public handle.\n\nValidation + availability enforcement lives in app/services/handle.py.\nClaiming the user's own current handle is a no-op; claiming a\npreviously-held handle reuses the existing handles_history row.","operationId":"update_handle_api_v1_users_me_handle_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandleUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/search":{"get":{"tags":["users"],"summary":"Search Users","description":"Search users by handle prefix or display_name substring.\n\nCase-insensitive. Excludes the caller from results. Results are\nsorted by: exact handle match first, then handle-prefix hits,\nthen display_name substring hits; ties broken by follower count\n(most-followed first).","operationId":"search_users_api_v1_users_search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":50,"title":"Q"}},{"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/ResponseEnvelope_UserSearchResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/tier":{"get":{"tags":["users"],"summary":"Get Tier Info","operationId":"get_tier_info_api_v1_users_me_tier_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_TierInfoResponse_"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/sync-rc-aliases":{"post":{"tags":["users"],"summary":"Sync Rc Aliases","description":"Populate ``users.inherited_usage_from_user_ids`` from RC's\nalias chain on first authenticated launch.\n\nMobile invokes this after ``Purchases.logIn(user.id)`` resolves\nso RC has had a chance to bind the new app_user_id to any\nexisting Play-account-level subscriber. We then read the\nsubscriber's aliases (= every app_user_id ever bound to that\nsubscriber), persist the predecessors (excluding self), and the\ninheritance carryover machinery in tier_service picks them up.\n\nIdempotent: short-circuits if the column is already populated.\nSafe to call on every authenticated launch.\n\nFailures (RC API down, key not configured, malformed response)\nare logged but never block — the user's session shouldn't fail\nbecause of an optional bookkeeping step.","operationId":"sync_rc_aliases_api_v1_users_me_sync_rc_aliases_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/acknowledge-trial-expiry":{"post":{"tags":["users"],"summary":"Acknowledge Trial Expiry","operationId":"acknowledge_trial_expiry_api_v1_users_me_acknowledge_trial_expiry_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/usage/summaries":{"get":{"tags":["users"],"summary":"Get Summary Usage","operationId":"get_summary_usage_api_v1_users_me_usage_summaries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UsageSummariesResponse_"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/usage/summaries/channels/{channel_id}":{"get":{"tags":["users"],"summary":"Get Channel Summary Usage","operationId":"get_channel_summary_usage_api_v1_users_me_usage_summaries_channels__channel_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Channel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UsageChannelSummariesResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/usage/chats":{"get":{"tags":["users"],"summary":"Get Chat Usage","operationId":"get_chat_usage_api_v1_users_me_usage_chats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UsageChatsResponse_"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/notifications":{"get":{"tags":["users"],"summary":"Get Notifications","operationId":"get_notifications_api_v1_users_me_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/me/notifications/page":{"get":{"tags":["users"],"summary":"Get Notifications Page","operationId":"get_notifications_page_api_v1_users_me_notifications_page_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cursor"}},{"name":"with_reports","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Reports"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/notifications/unread-count":{"get":{"tags":["users"],"summary":"Get Unread Notification Count","operationId":"get_unread_notification_count_api_v1_users_me_notifications_unread_count_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"with_reports","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Reports"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/notifications/mark-read":{"post":{"tags":["users"],"summary":"Mark Notifications Read","operationId":"mark_notifications_read_api_v1_users_me_notifications_mark_read_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/{user_id}/profile":{"get":{"tags":["users"],"summary":"Get User Profile","description":"Get a user's public profile.","operationId":"get_user_profile_api_v1_users__user_id__profile_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_UserProfileResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/{user_id}/follow":{"put":{"tags":["users"],"summary":"Follow User","operationId":"follow_user_api_v1_users__user_id__follow_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Unfollow User","operationId":"unfollow_user_api_v1_users__user_id__follow_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/{user_id}/followers":{"get":{"tags":["users"],"summary":"Get Followers","description":"Get list of users who follow this user.","operationId":"get_followers_api_v1_users__user_id__followers_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_UserProfileResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/{user_id}/following":{"get":{"tags":["users"],"summary":"Get Following","description":"Get list of users this user follows.","operationId":"get_following_api_v1_users__user_id__following_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_list_UserProfileResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/{user_id}/notes":{"get":{"tags":["users"],"summary":"Get User Notes","description":"Get a user's published notes.","operationId":"get_user_notes_api_v1_users__user_id__notes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Include"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/blocked":{"get":{"tags":["users"],"summary":"Get Blocked Users","description":"Users the caller has blocked — for the settings management list.","operationId":"get_blocked_users_api_v1_users_me_blocked_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/users/{user_id}/block":{"put":{"tags":["users"],"summary":"Block User","description":"Block a user (viewer-side: their content disappears for the\ncaller). Idempotent.","operationId":"block_user_api_v1_users__user_id__block_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Unblock User","description":"Remove a block. Idempotent.","operationId":"unblock_user_api_v1_users__user_id__block_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/videos/title-translations":{"post":{"tags":["videos"],"summary":"Translate Titles","operationId":"translate_titles_api_v1_videos_title_translations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TitleTranslationsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_TitleTranslationsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/webhooks/websub":{"get":{"tags":["webhooks"],"summary":"Websub Verify","description":"WebSub challenge-response verification.","operationId":"websub_verify_api_v1_webhooks_websub_get","parameters":[{"name":"hub.topic","in":"query","required":true,"schema":{"type":"string","title":"Hub.Topic"}},{"name":"hub.challenge","in":"query","required":true,"schema":{"type":"string","title":"Hub.Challenge"}},{"name":"hub.mode","in":"query","required":true,"schema":{"type":"string","title":"Hub.Mode"}},{"name":"hub.lease_seconds","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hub.Lease Seconds"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["webhooks"],"summary":"Websub Notification","description":"Receive new video notifications from YouTube via WebSub.","operationId":"websub_notification_api_v1_webhooks_websub_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/webhooks/revenuecat":{"post":{"tags":["webhooks"],"summary":"Revenuecat Webhook","description":"Receive subscription event notifications from RevenueCat.\n\nAuth via shared secret in the Authorization header (configured\nin the RC dashboard → Integrations → Webhooks). The handler\nvalidates auth + parses the body and returns **200 immediately**\nonce those pass. The actual event processing is enqueued as an\nARQ job (``process_rc_webhook``) so events survive API restarts\nand can't be silently dropped on lock contention.\n\nWhy return 200 fast: per RC's docs, anything that isn't a 2xx\ntriggers their retry schedule (5/10/20/40/80 minutes), which is\ntoo slow to be useful as a recovery mechanism for transient RC\nAPI failures. Internal retries inside\n``revenuecat_api.fetch_subscriber`` handle transient blips\nwithin seconds; persistent failures get logged at ERROR for\nfollow-up.","operationId":"revenuecat_webhook_api_v1_webhooks_revenuecat_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"get":{"summary":"Logout","operationId":"logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"summary":"Admin Root","description":"Default landing redirects to the LLM & costs page.","operationId":"admin_root_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/dashboard":{"get":{"summary":"Admin Dashboard Legacy","description":"Backwards-compat redirect for old bookmarks.","operationId":"admin_dashboard_legacy_admin_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/llm":{"get":{"summary":"Admin Llm Page","operationId":"admin_llm_page_admin_llm_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/billing":{"get":{"summary":"Admin Billing Page","operationId":"admin_billing_page_admin_billing_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/youtube-quota":{"get":{"summary":"Admin Youtube Quota Page","operationId":"admin_youtube_quota_page_admin_youtube_quota_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/shelf-life":{"get":{"summary":"Admin Shelf Life Page","operationId":"admin_shelf_life_page_admin_shelf_life_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/interests":{"get":{"summary":"Admin Interests Page","operationId":"admin_interests_page_admin_interests_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/catalogue":{"get":{"summary":"Admin Catalogue Page","operationId":"admin_catalogue_page_admin_catalogue_get","parameters":[{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"run","title":"View"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/catalogue/{channel_id}/status":{"post":{"summary":"Admin Catalogue Override","operationId":"admin_catalogue_override_admin_catalogue__channel_id__status_post","parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Channel Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_catalogue_override_admin_catalogue__channel_id__status_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/moderation":{"get":{"summary":"Admin Moderation Page","operationId":"admin_moderation_page_admin_moderation_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/moderation/{report_id}/dismiss":{"post":{"summary":"Admin Dismiss Report","operationId":"admin_dismiss_report_admin_moderation__report_id__dismiss_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_dismiss_report_admin_moderation__report_id__dismiss_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/moderation/{report_id}/hide":{"post":{"summary":"Admin Hide Content","operationId":"admin_hide_content_admin_moderation__report_id__hide_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_hide_content_admin_moderation__report_id__hide_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/moderation/{report_id}/ban":{"post":{"summary":"Admin Ban Author","operationId":"admin_ban_author_admin_moderation__report_id__ban_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_ban_author_admin_moderation__report_id__ban_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/purchases/{seimai_tx_id}/reconcile":{"post":{"summary":"Admin Reconcile Purchase","description":"Trigger an immediate RC API reconciliation for a specific tx.\nSame logic as the cron sweep, but bypasses the backoff filter and\n72h auto-escalation. Used when an admin wants to push a known\nreal purchase to completion without waiting for the cron.","operationId":"admin_reconcile_purchase_admin_purchases__seimai_tx_id__reconcile_post","parameters":[{"name":"seimai_tx_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Seimai Tx Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/purchases/{seimai_tx_id}/resolve":{"post":{"summary":"Admin Resolve Purchase","description":"Manually resolve a stuck tx by inserting a manually_resolved\nevent with the chosen terminal state.\n\nPure state-machine cleanup — does NOT touch the user's tier. If\nthe operator also wants to grant a tier (real purchase missed by\nwebhook, support comp, etc.), use the separate ``Grant tier``\nform (POST /admin/users/{user_id}/grant-tier). Two explicit\noperations rather than the old coupled \"Completed + tier\"\naction.","operationId":"admin_resolve_purchase_admin_purchases__seimai_tx_id__resolve_post","parameters":[{"name":"seimai_tx_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Seimai Tx Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_resolve_purchase_admin_purchases__seimai_tx_id__resolve_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/grant-tier":{"post":{"summary":"Admin Grant Tier","description":"Grant a tier to a user via an admin-store period row that\noverrides any concurrent real billing. Revoke later via\nPOST /admin/admin-grants/{period_id}/revoke (rendered as a\nbutton on the grants list).","operationId":"admin_grant_tier_admin_grant_tier_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_grant_tier_admin_grant_tier_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/list-admin-grants":{"post":{"summary":"Admin List Admin Grants","description":"Render admin-grant rows on the billing page.\n\n``email`` is treated as a case-insensitive substring filter\n(``ILIKE '%<value>%'``) rather than an exact lookup, so partial\naddresses or domain matches work. Blank email → every user.\n``include_inactive`` flips the default that hides expired\nperiods.","operationId":"admin_list_admin_grants_admin_list_admin_grants_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_list_admin_grants_admin_list_admin_grants_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/admin-grants/{period_id}/revoke":{"post":{"summary":"Admin Revoke Grant","description":"Revoke an active admin grant. Clamps expires_at to now and\nappends a revoke event to the period's mutations log. Real\nbilling (if any) immediately takes over via the read query.","operationId":"admin_revoke_grant_admin_admin_grants__period_id__revoke_post","parameters":[{"name":"period_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Period Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_revoke_grant_admin_admin_grants__period_id__revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/inspect-rc":{"post":{"summary":"Admin Inspect Rc","description":"Read-only operator tool: fetch RC's view of a user and render\na structured report inline on the billing page. Does NOT mutate\nany local state — use ``/admin/sync-subscription-state`` if you\nactually want to write the RC view back to local DB.","operationId":"admin_inspect_rc_admin_inspect_rc_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_inspect_rc_admin_inspect_rc_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/sync-subscription-state":{"post":{"summary":"Admin Sync Subscription State","description":"Operator escape hatch: poll RC API for the user's current\nsubscription state and reconcile local DB (writes a row to\nuser_subscription_states + upserts user_subscription_periods).\n\nUse when a CANCELLATION or EXPIRATION webhook was missed and the\nuser's local state is stuck — most visibly when they can't\nproceed past the Account-screen Delete gate.\n\nNo role guard: this is a manual operator action and the operator\nis responsible for picking the right user.","operationId":"admin_sync_subscription_state_admin_sync_subscription_state_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_sync_subscription_state_admin_sync_subscription_state_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/maintenance":{"post":{"summary":"Toggle Maintenance","description":"Toggle maintenance mode on/off. Redirects back to the dashboard.","operationId":"toggle_maintenance_admin_maintenance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/surveys":{"get":{"summary":"Admin Surveys Page","operationId":"admin_surveys_page_admin_surveys_get","parameters":[{"name":"sent","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sent"}},{"name":"skipped","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skipped"}},{"name":"unknown","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unknown"}},{"name":"translated","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Translated"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/surveys/send":{"post":{"summary":"Admin Send Survey","operationId":"admin_send_survey_admin_surveys_send_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_send_survey_admin_surveys_send_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/surveys/translate":{"post":{"summary":"Admin Translate Survey Answers","operationId":"admin_translate_survey_answers_admin_surveys_translate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/agent/catalogue/last-run":{"get":{"tags":["catalogue-agent"],"summary":"Last Run","operationId":"last_run_admin_agent_catalogue_last_run_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/brief":{"get":{"tags":["catalogue-agent"],"summary":"Brief","operationId":"brief_admin_agent_catalogue_brief_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/review-queue":{"get":{"tags":["catalogue-agent"],"summary":"Review Queue","operationId":"review_queue_admin_agent_catalogue_review_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/proposals":{"post":{"tags":["catalogue-agent"],"summary":"Proposals","operationId":"proposals_admin_agent_catalogue_proposals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/verdicts":{"post":{"tags":["catalogue-agent"],"summary":"Verdicts","operationId":"verdicts_admin_agent_catalogue_verdicts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerdictsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/blurb-queue":{"get":{"tags":["catalogue-agent"],"summary":"Blurb Queue","operationId":"blurb_queue_admin_agent_catalogue_blurb_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/blurbs":{"post":{"tags":["catalogue-agent"],"summary":"Blurbs","operationId":"blurbs_admin_agent_catalogue_blurbs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlurbsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/agent/catalogue/runs/{run_id}/finish":{"post":{"tags":["catalogue-agent"],"summary":"Finish","operationId":"finish_admin_agent_catalogue_runs__run_id__finish_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseEnvelope_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/delete-account":{"get":{"summary":"Delete Account","description":"Play requires a web URL where users can request account deletion,\nreachable without the app installed — an in-app path alone is not\nenough. Declared in Play Console: Data safety -> Data deletion.","operationId":"delete_account_delete_account_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/contact":{"get":{"summary":"Contact","operationId":"contact_contact_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/s/{id}":{"get":{"summary":"Share Summary","operationId":"share_summary_s__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/t/{translation_id}":{"get":{"summary":"Share Translation","operationId":"share_translation_t__translation_id__get","parameters":[{"name":"translation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Translation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/h/{highlight_id}":{"get":{"summary":"Share Highlight","description":"Render the full summary page with the highlighted quote visible and scrolled to.\n\nUnauthenticated and crawlable, so every visibility rule the in-app\nsurfaces enforce has to hold here too: an unpublished note, one a\nmoderator has hidden, or one whose author is banned or deleted must\n404. Without this a hidden note stayed reachable at its share URL —\nmoderation that removes content from the feed but not from the open\nweb isn't moderation.","operationId":"share_highlight_h__highlight_id__get","parameters":[{"name":"highlight_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Highlight Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p/{post_id}":{"get":{"summary":"Share Post Legacy","description":"Legacy post share URL — posts merged into highlights/notes.","operationId":"share_post_legacy_p__post_id__get","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/c/{ident}":{"get":{"summary":"Share Channel","operationId":"share_channel_c__ident__get","parameters":[{"name":"ident","in":"path","required":true,"schema":{"type":"string","title":"Ident"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cl/{collection_id}":{"get":{"summary":"Share Channel Collection","operationId":"share_channel_collection_cl__collection_id__get","parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string","title":"Collection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{report_id}":{"get":{"summary":"Share Research Report","operationId":"share_research_report_r__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{report_id}/preview.jpg":{"get":{"summary":"Share Research Report Preview","operationId":"share_research_report_preview_r__report_id__preview_jpg_get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"k","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"K"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","description":"Basic health check for uptime monitors.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health/detailed":{"get":{"summary":"Health Detailed","description":"Detailed health check with DB, Redis, and queue stats.","operationId":"health_detailed_health_detailed_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health/openrouter":{"get":{"summary":"Health Openrouter","operationId":"health_openrouter_health_openrouter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health/purchases":{"get":{"summary":"Health Purchases","description":"Pending purchase tx health for monitoring.\n\nReturns counts that uptime monitors (Uptime Kuma) can JSON-Query\nand alert on. ``attention_required`` rolls up \"stuck pending\ntoo long\" + \"escalated to needs_intervention\" — one number to\nmonitor; alert when > 0.\n\nThreshold is the age cutoff (in minutes) for \"stuck pending\".\nDefault 15 — webhook latency is normally seconds; a tx still\npending after 15 min indicates either a deferred-change rollover\nyet to fire or a deeper issue worth a glance.","operationId":"health_purchases_health_purchases_get","parameters":[{"name":"threshold_minutes","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Threshold Minutes"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AcceptTermsRequest":{"properties":{"terms_token":{"type":"string","title":"Terms Token"}},"type":"object","required":["terms_token"],"title":"AcceptTermsRequest"},"AddToFeedRequest":{"properties":{"note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Note Id"},"via_link":{"type":"boolean","title":"Via Link","default":false},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"}},"type":"object","title":"AddToFeedRequest"},"AudioManifest":{"properties":{"status":{"type":"string","title":"Status"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"sections":{"items":{"$ref":"#/components/schemas/AudioSection"},"type":"array","title":"Sections"},"outro_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outro Url"}},"type":"object","required":["status","voice","duration_seconds","sections"],"title":"AudioManifest"},"AudioSection":{"properties":{"index":{"type":"integer","title":"Index"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"subsections":{"items":{"$ref":"#/components/schemas/AudioSubsection"},"type":"array","title":"Subsections"},"estimated_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Seconds"},"estimated_subsections":{"items":{"$ref":"#/components/schemas/AudioSubsection"},"type":"array","title":"Estimated Subsections","default":[]}},"type":"object","required":["index","title","status","url","duration_seconds","subsections"],"title":"AudioSection"},"AudioSubsection":{"properties":{"index":{"type":"integer","title":"Index"},"offset_seconds":{"type":"number","title":"Offset Seconds"}},"type":"object","required":["index","offset_seconds"],"title":"AudioSubsection"},"AuditRequest":{"properties":{"action":{"type":"string","title":"Action"},"args":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Args"},"event_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Event Id"}},"type":"object","required":["action"],"title":"AuditRequest"},"BillingIssueDTO":{"properties":{"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"grace_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Grace Ends At"}},"type":"object","required":["detected_at"],"title":"BillingIssueDTO"},"BlurbItem":{"properties":{"channel_id":{"type":"string","title":"Channel Id"},"texts":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Texts"}},"type":"object","required":["channel_id"],"title":"BlurbItem"},"BlurbsBody":{"properties":{"blurbs":{"items":{"$ref":"#/components/schemas/BlurbItem"},"type":"array","title":"Blurbs"}},"type":"object","required":["blurbs"],"title":"BlurbsBody"},"Body_admin_ban_author_admin_moderation__report_id__ban_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_admin_ban_author_admin_moderation__report_id__ban_post"},"Body_admin_catalogue_override_admin_catalogue__channel_id__status_post":{"properties":{"status":{"type":"string","title":"Status"},"view":{"type":"string","title":"View","default":"run"}},"type":"object","required":["status"],"title":"Body_admin_catalogue_override_admin_catalogue__channel_id__status_post"},"Body_admin_dismiss_report_admin_moderation__report_id__dismiss_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_admin_dismiss_report_admin_moderation__report_id__dismiss_post"},"Body_admin_grant_tier_admin_grant_tier_post":{"properties":{"email":{"type":"string","title":"Email"},"target_tier":{"type":"string","title":"Target Tier"},"duration_seconds":{"type":"integer","title":"Duration Seconds"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["email","target_tier","duration_seconds"],"title":"Body_admin_grant_tier_admin_grant_tier_post"},"Body_admin_hide_content_admin_moderation__report_id__hide_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_admin_hide_content_admin_moderation__report_id__hide_post"},"Body_admin_inspect_rc_admin_inspect_rc_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_admin_inspect_rc_admin_inspect_rc_post"},"Body_admin_list_admin_grants_admin_list_admin_grants_post":{"properties":{"email":{"type":"string","title":"Email","default":""},"include_inactive":{"type":"boolean","title":"Include Inactive","default":false}},"type":"object","title":"Body_admin_list_admin_grants_admin_list_admin_grants_post"},"Body_admin_resolve_purchase_admin_purchases__seimai_tx_id__resolve_post":{"properties":{"target_state":{"type":"string","title":"Target State"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["target_state"],"title":"Body_admin_resolve_purchase_admin_purchases__seimai_tx_id__resolve_post"},"Body_admin_revoke_grant_admin_admin_grants__period_id__revoke_post":{"properties":{"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"Body_admin_revoke_grant_admin_admin_grants__period_id__revoke_post"},"Body_admin_send_survey_admin_surveys_send_post":{"properties":{"survey":{"type":"string","title":"Survey"},"emails":{"type":"string","title":"Emails","default":""},"subscribers":{"type":"boolean","title":"Subscribers","default":false},"any_time":{"type":"boolean","title":"Any Time","default":false}},"type":"object","required":["survey"],"title":"Body_admin_send_survey_admin_surveys_send_post"},"Body_admin_sync_subscription_state_admin_sync_subscription_state_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_admin_sync_subscription_state_admin_sync_subscription_state_post"},"Body_login_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Body_login_login_post"},"CategoryCreateRequest":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"CategoryCreateRequest"},"CategoryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"is_system":{"type":"boolean","title":"Is System","default":false}},"type":"object","required":["id","name"],"title":"CategoryResponse"},"ChannelBrief":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"}},"type":"object","required":["id","youtube_channel_id","title","thumbnail_url"],"title":"ChannelBrief"},"ChannelDetailResponse":{"properties":{"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"subscriber_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscriber Count"},"is_subscribed":{"type":"boolean","title":"Is Subscribed"},"videos":{"items":{"$ref":"#/components/schemas/ChannelVideoItem"},"type":"array","title":"Videos"},"video_next_page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Next Page Token"},"share_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Url"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"translated_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Description"},"translation_pending":{"type":"boolean","title":"Translation Pending","default":true}},"type":"object","required":["youtube_channel_id","title","description","thumbnail_url","subscriber_count","is_subscribed","videos","video_next_page_token"],"title":"ChannelDetailResponse"},"ChannelResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"subscriber_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscriber Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","youtube_channel_id","title","description","thumbnail_url","subscriber_count","created_at"],"title":"ChannelResponse"},"ChannelSearchResultWithSub":{"properties":{"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"subscriber_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscriber Count"},"is_subscribed":{"type":"boolean","title":"Is Subscribed"}},"type":"object","required":["youtube_channel_id","title","description","thumbnail_url","subscriber_count","is_subscribed"],"title":"ChannelSearchResultWithSub"},"ChannelVideoItem":{"properties":{"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"feed_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Status"},"video_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Id"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"},"held":{"type":"boolean","title":"Held","default":false}},"type":"object","required":["youtube_video_id","title","thumbnail_url","published_at","duration_seconds"],"title":"ChannelVideoItem"},"ChatCitation":{"properties":{"ref":{"type":"string","title":"Ref"},"video_id":{"type":"string","format":"uuid","title":"Video Id"},"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"channel_title":{"type":"string","title":"Channel Title"},"video_title":{"type":"string","title":"Video Title"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"start_seconds":{"type":"integer","title":"Start Seconds"},"end_seconds":{"type":"integer","title":"End Seconds"},"channel_thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Thumbnail Url"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"type":"object","required":["ref","video_id","youtube_video_id","youtube_channel_id","channel_title","video_title","published_at","start_seconds","end_seconds"],"title":"ChatCitation"},"ChatMessageRequest":{"properties":{"message":{"type":"string","maxLength":500,"minLength":1,"title":"Message"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["message"],"title":"ChatMessageRequest"},"ChatMessageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","role","content","created_at"],"title":"ChatMessageResponse"},"ChatResponse":{"properties":{"reply":{"$ref":"#/components/schemas/ChatMessageResponse"},"history":{"items":{"$ref":"#/components/schemas/ChatMessageResponse"},"type":"array","title":"History"}},"type":"object","required":["reply","history"],"title":"ChatResponse"},"CollectionChannelItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"subscriber_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscriber Count"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]},"is_subscribed":{"type":"boolean","title":"Is Subscribed"}},"type":"object","required":["id","youtube_channel_id","title","description","thumbnail_url","subscriber_count","is_subscribed"],"title":"CollectionChannelItem"},"CollectionResponse":{"properties":{"id":{"type":"string","title":"Id"},"shared_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared By"},"channels":{"items":{"$ref":"#/components/schemas/CollectionChannelItem"},"type":"array","title":"Channels"}},"type":"object","required":["id","shared_by","channels"],"title":"CollectionResponse"},"ConversationResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NoteResponse"},"type":"array","title":"Items"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"count":{"type":"integer","title":"Count","default":0}},"type":"object","required":["items"],"title":"ConversationResponse"},"CreateSubjectRequest":{"properties":{"draft_id":{"type":"string","maxLength":64,"title":"Draft Id"},"channels":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Channels"},"digest_every_days":{"anyOf":[{"type":"integer","enum":[1,3,7]},{"type":"null"}],"title":"Digest Every Days"},"detail":{"type":"string","enum":["normal","detailed"],"title":"Detail","default":"normal"}},"type":"object","required":["draft_id","channels"],"title":"CreateSubjectRequest"},"DeleteAccountRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"title":"Reason","default":""}},"type":"object","title":"DeleteAccountRequest"},"DeviceRegisterRequest":{"properties":{"expo_push_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expo Push Token"},"apns_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apns Token"},"device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Name"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"}},"type":"object","title":"DeviceRegisterRequest"},"DeviceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"expo_push_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expo Push Token"},"apns_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apns Token"},"device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Name"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"},"is_active":{"type":"boolean","title":"Is Active"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","is_active","created_at"],"title":"DeviceResponse"},"FeedItem":{"properties":{"video":{"anyOf":[{"$ref":"#/components/schemas/VideoResponse"},{"type":"null"}]},"channel":{"anyOf":[{"$ref":"#/components/schemas/ChannelBrief"},{"type":"null"}]},"summary":{"anyOf":[{"$ref":"#/components/schemas/SummaryResponse"},{"type":"null"}]},"translation_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translation Status"},"is_new":{"type":"boolean","title":"Is New","default":false},"is_unlocked":{"type":"boolean","title":"Is Unlocked","default":true},"share_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Url"},"discovered_via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovered Via"},"discussion_count":{"type":"integer","title":"Discussion Count","default":0},"held":{"type":"boolean","title":"Held","default":false},"can_summarise":{"type":"boolean","title":"Can Summarise","default":false},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"},"kind":{"type":"string","title":"Kind","default":"video"},"report":{"anyOf":[{"$ref":"#/components/schemas/ReportCard"},{"type":"null"}]}},"type":"object","required":["video","channel","summary"],"title":"FeedItem"},"FeedResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/FeedItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More","default":false},"quota_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quota Remaining"}},"type":"object","required":["items"],"title":"FeedResponse"},"FeedSearchResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VideoSearchResult"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"FeedSearchResponse"},"FeedbackRequest":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"FeedbackRequest"},"FollowToggleRequest":{"properties":{"is_enabled":{"type":"boolean","title":"Is Enabled"}},"type":"object","required":["is_enabled"],"title":"FollowToggleRequest"},"FollowedChannelResponse":{"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse"},"is_enabled":{"type":"boolean","title":"Is Enabled"},"followed_at":{"type":"string","format":"date-time","title":"Followed At"}},"type":"object","required":["channel","is_enabled","followed_at"],"title":"FollowedChannelResponse"},"FrameInfo":{"properties":{"url":{"type":"string","title":"Url"},"timestamp_seconds":{"type":"number","title":"Timestamp Seconds"}},"type":"object","required":["url","timestamp_seconds"],"title":"FrameInfo"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HandleUpdateRequest":{"properties":{"handle":{"type":"string","maxLength":20,"minLength":3,"title":"Handle"}},"type":"object","required":["handle"],"title":"HandleUpdateRequest"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"LogoutRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"LogoutRequest"},"MarkReadResponse":{"properties":{"marked":{"type":"integer","title":"Marked"}},"type":"object","required":["marked"],"title":"MarkReadResponse"},"MintCollectionRequest":{"properties":{"youtube_channel_ids":{"items":{"type":"string"},"type":"array","title":"Youtube Channel Ids"}},"type":"object","required":["youtube_channel_ids"],"title":"MintCollectionRequest"},"MintCollectionResponse":{"properties":{"id":{"type":"string","title":"Id"},"share_url":{"type":"string","title":"Share Url"}},"type":"object","required":["id","share_url"],"title":"MintCollectionResponse"},"MintShareRequest":{"properties":{"target_type":{"type":"string","title":"Target Type"},"target_id":{"type":"string","format":"uuid","title":"Target Id"}},"type":"object","required":["target_type","target_id"],"title":"MintShareRequest"},"MintShareResponse":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"MintShareResponse"},"NewReportRequest":{"properties":{"draft_id":{"type":"string","maxLength":64,"title":"Draft Id"},"channels":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Channels"},"detail":{"type":"string","enum":["normal","detailed"],"title":"Detail","default":"normal"}},"type":"object","required":["draft_id","channels"],"title":"NewReportRequest"},"NewReportResponse":{"properties":{"report":{"$ref":"#/components/schemas/ReportCard"}},"type":"object","required":["report"],"title":"NewReportResponse"},"NoteCreateRequest":{"properties":{"summary_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Summary Id"},"translation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Translation Id"},"chat_message_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Chat Message Id"},"kind":{"type":"string","enum":["note","comment"],"title":"Kind","default":"note"},"highlighted_text":{"type":"string","title":"Highlighted Text","default":""},"section_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Section Index"},"subsection_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subsection Index"},"char_offset":{"type":"integer","title":"Char Offset","default":0},"char_count":{"type":"integer","title":"Char Count","default":0},"cuts":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteCut"},"type":"array"},{"type":"null"}],"title":"Cuts"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"is_published":{"type":"boolean","title":"Is Published","default":false}},"type":"object","title":"NoteCreateRequest"},"NoteListPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NoteResponse"},"type":"array","title":"Items"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"categories":{"anyOf":[{"items":{"$ref":"#/components/schemas/CategoryResponse"},"type":"array"},{"type":"null"}],"title":"Categories"}},"type":"object","required":["items"],"title":"NoteListPage"},"NotePageResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NoteResponse"},"type":"array","title":"Items"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items"],"title":"NotePageResponse"},"NoteResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"category_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Name"},"summary_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Summary Id"},"translation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Translation Id"},"chat_message_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Chat Message Id"},"highlighted_text":{"type":"string","title":"Highlighted Text"},"section_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Section Index"},"subsection_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subsection Index"},"char_offset":{"type":"integer","title":"Char Offset"},"char_count":{"type":"integer","title":"Char Count"},"cuts":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteCut"},"type":"array"},{"type":"null"}],"title":"Cuts"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"kind":{"type":"string","title":"Kind","default":"note"},"is_published":{"type":"boolean","title":"Is Published","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"video_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Video Id"},"video_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Title"},"video_thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Thumbnail Url"},"channel_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Title"},"channel_thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Thumbnail Url"},"source_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Label"},"share_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Url"},"author_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Name"},"author_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Handle"},"author_is_ai":{"type":"boolean","title":"Author Is Ai","default":false},"like_count":{"type":"integer","title":"Like Count","default":0},"comment_count":{"type":"integer","title":"Comment Count","default":0},"is_liked":{"type":"boolean","title":"Is Liked","default":false},"is_bookmarked":{"type":"boolean","title":"Is Bookmarked","default":false},"quote_detail_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Detail Level"},"quote_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Language"}},"type":"object","required":["id","user_id","category_id","summary_id","translation_id","chat_message_id","highlighted_text","section_index","subsection_index","char_offset","char_count","created_at"],"title":"NoteResponse"},"NoteUpdateRequest":{"properties":{"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"is_published":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Published"},"quote":{"anyOf":[{"$ref":"#/components/schemas/QuoteChange"},{"type":"null"}]}},"type":"object","title":"NoteUpdateRequest"},"OAuthRequest":{"properties":{"provider":{"type":"string","title":"Provider"},"id_token":{"type":"string","title":"Id Token"},"device_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Fingerprint"},"device_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Platform"},"device_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Locale"},"install_referrer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Install Referrer"},"terms_accepted":{"type":"boolean","title":"Terms Accepted","default":false}},"type":"object","required":["provider","id_token"],"title":"OAuthRequest"},"OfflineRead":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"read_at":{"type":"string","format":"date-time","title":"Read At"},"read_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Read Id"}},"type":"object","required":["video_id","read_at"],"title":"OfflineRead"},"OfflineReadsRequest":{"properties":{"reads":{"items":{"$ref":"#/components/schemas/OfflineRead"},"type":"array","maxItems":200,"title":"Reads"}},"type":"object","required":["reads"],"title":"OfflineReadsRequest"},"OfflineReadsResponse":{"properties":{"recorded":{"type":"integer","title":"Recorded"}},"type":"object","required":["recorded"],"title":"OfflineReadsResponse"},"OtherChannelsRequest":{"properties":{"draft_id":{"type":"string","maxLength":64,"title":"Draft Id"}},"type":"object","required":["draft_id"],"title":"OtherChannelsRequest"},"OtherChannelsResponse":{"properties":{"draft_id":{"type":"string","title":"Draft Id"},"channels":{"items":{"$ref":"#/components/schemas/SuggestedChannel"},"type":"array","title":"Channels"}},"type":"object","required":["draft_id","channels"],"title":"OtherChannelsResponse"},"PassageTranslationResponse":{"properties":{"text":{"type":"string","title":"Text"},"language":{"type":"string","title":"Language"},"source_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Language"}},"type":"object","required":["text","language","source_language"],"title":"PassageTranslationResponse"},"PendingPurchaseDTO":{"properties":{"seimai_tx_id":{"type":"string","format":"uuid","title":"Seimai Tx Id"},"intended_tier":{"type":"string","title":"Intended Tier"},"state":{"type":"string","title":"State"},"started_at":{"type":"string","format":"date-time","title":"Started At"}},"type":"object","required":["seimai_tx_id","intended_tier","state","started_at"],"title":"PendingPurchaseDTO","description":"Embedded in ``UserResponse.pending_purchase`` when the user has\na non-terminal tx in flight.\n\nLets the client (on app bootstrap or any user-state refresh)\ndiscover an in-flight purchase without separately querying the\npurchase endpoint."},"PicksStoppedResponse":{"properties":{"channel_id":{"type":"string","format":"uuid","title":"Channel Id"},"picks_stopped":{"type":"boolean","title":"Picks Stopped"}},"type":"object","required":["channel_id","picks_stopped"],"title":"PicksStoppedResponse"},"ProposalItem":{"properties":{"name":{"type":"string","title":"Name","default":""},"url":{"type":"string","title":"Url","default":""},"language":{"type":"string","title":"Language","default":""},"for":{"type":"string","title":"For","default":""},"interest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"}},"type":"object","title":"ProposalItem"},"ProposalsBody":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"proposals":{"items":{"$ref":"#/components/schemas/ProposalItem"},"type":"array","title":"Proposals"}},"type":"object","required":["run_id","proposals"],"title":"ProposalsBody"},"PurchaseConflictResponse":{"properties":{"code":{"type":"string","const":"purchase_in_progress","title":"Code","default":"purchase_in_progress"},"seimai_tx_id":{"type":"string","format":"uuid","title":"Seimai Tx Id"},"intended_tier":{"type":"string","title":"Intended Tier"}},"type":"object","required":["seimai_tx_id","intended_tier"],"title":"PurchaseConflictResponse","description":"Returned when a non-terminal pending tx already exists for the user.\n\nLets the client resume polling the existing tx instead of starting\na new one."},"PurchaseIntentRequest":{"properties":{"tier":{"type":"string","enum":["lite","pro","max"],"title":"Tier"},"product_id":{"type":"string","maxLength":200,"minLength":1,"title":"Product Id"},"kind":{"anyOf":[{"type":"string","enum":["initial","upgrade","downgrade"]},{"type":"null"}],"title":"Kind"}},"type":"object","required":["tier","product_id"],"title":"PurchaseIntentRequest","description":"Sent by client when the user taps Subscribe.\n\n`tier` is the package identifier in the RC offering (matches our\nentitlement names). `product_id` is the Play product identifier\n(e.g. ``seimai_lite:monthly``). `kind` distinguishes initial\npurchase from upgrade vs deferred downgrade so the server doesn't\nhave to infer it later — see ``PurchaseKind``."},"PurchaseIntentResponse":{"properties":{"seimai_tx_id":{"type":"string","format":"uuid","title":"Seimai Tx Id"}},"type":"object","required":["seimai_tx_id"],"title":"PurchaseIntentResponse","description":"Returned on successful intent creation.\n\nThe client uses ``seimai_tx_id`` for subsequent calls\n(sdk-result, polling)."},"PurchaseSdkResultRequest":{"properties":{"result":{"type":"string","enum":["confirmed","error"],"title":"Result"},"play_transaction_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Play Transaction Id"},"product_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Product Id"},"error_message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Error Message"},"detail":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["result"],"title":"PurchaseSdkResultRequest","description":"Sent by client after the SDK's purchasePackage promise resolves\nor rejects.\n\nOn ``confirmed``: ``play_transaction_id`` and ``product_id`` are\noptional. They allow the webhook handler to match the eventual\nwebhook by Play transaction id (most precise). When missing —\nreact-native-purchases v10 doesn't directly expose the Play\ntransaction id on the purchase result — the webhook handler\nfalls back to matching by user's currently-pending tx, which is\nsufficient for the single-tx-per-user case enforced by the\nintent endpoint.\n\nOn ``error``: only ``error_message`` (free-form) is meaningful.\nThe SDK's userCancelled path is reported as ``error`` with\n``error_message='user_cancelled'`` so the tx becomes terminal\nserver-side — saves the cron from chasing an abandoned intent."},"PurchaseStateResponse":{"properties":{"seimai_tx_id":{"type":"string","format":"uuid","title":"Seimai Tx Id"},"intended_tier":{"type":"string","title":"Intended Tier"},"state":{"type":"string","title":"State"},"queued_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Queued Tier"},"kind":{"anyOf":[{"type":"string","enum":["initial","upgrade","downgrade"]},{"type":"null"}],"title":"Kind"}},"type":"object","required":["seimai_tx_id","intended_tier","state"],"title":"PurchaseStateResponse","description":"Returned by the polling endpoint.\n\n``queued_tier`` is the authoritative deferred-change destination,\nsourced from a server-side rollover watcher (created when RC\ndelivers PRODUCT_CHANGE = Play accepted the queued change). When\nset, the success modal renders \"X queued for your next renewal\"\nrather than \"You're on X now\". Null for upgrades and initial\npurchases (no deferred queue).\n\n``kind`` is retained as the client's self-reported intent at\nintent-creation time — useful for diagnostics, but the modal copy\nno longer depends on it."},"QuoteChange":{"properties":{"highlighted_text":{"type":"string","title":"Highlighted Text"},"char_offset":{"type":"integer","title":"Char Offset"},"char_count":{"type":"integer","title":"Char Count"},"cuts":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteCut"},"type":"array"},{"type":"null"}],"title":"Cuts"}},"type":"object","required":["highlighted_text","char_offset","char_count"],"title":"QuoteChange"},"QuoteCut":{"properties":{"offset":{"type":"integer","title":"Offset"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["offset","count"],"title":"QuoteCut"},"RefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshRequest"},"RegisterRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"device_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Fingerprint"},"device_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Platform"},"device_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Locale"},"install_referrer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Install Referrer"},"terms_accepted":{"type":"boolean","title":"Terms Accepted","default":false}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"ReportAnswers":{"properties":{"yes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Yes"},"no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"No"}},"type":"object","title":"ReportAnswers"},"ReportBlock":{"properties":{"kind":{"type":"string","enum":["side","points","differ","dissent","reported","stories","also","picks","advice","steps","approaches","mistakes","tips","liked","disliked","split"],"title":"Kind"},"side":{"anyOf":[{"type":"string","enum":["yes","no","neither"]},{"type":"null"}],"title":"Side"},"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"cards":{"items":{"type":"string"},"type":"array","title":"Cards"},"lines":{"items":{"type":"string"},"type":"array","title":"Lines"}},"type":"object","required":["kind","side","question","cards","lines"],"title":"ReportBlock"},"ReportBody":{"properties":{"headline":{"type":"string","title":"Headline"},"overview":{"type":"string","title":"Overview"},"sections":{"items":{"$ref":"#/components/schemas/ReportSection"},"type":"array","title":"Sections"},"suggested_questions":{"items":{"type":"string"},"type":"array","title":"Suggested Questions"}},"type":"object","required":["headline","overview","sections","suggested_questions"],"title":"ReportBody"},"ReportCard":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"subject":{"type":"string","title":"Subject"},"kind":{"type":"string","title":"Kind"},"status":{"type":"string","title":"Status"},"progress":{"$ref":"#/components/schemas/ReportProgress"},"detail":{"type":"string","enum":["normal","detailed"],"title":"Detail","default":"normal"},"window":{"anyOf":[{"type":"string","enum":["day","3days","week","2weeks","month","3months","6months","year","any"]},{"type":"null"}],"title":"Window"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline"},"window_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Window Start"},"window_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Window End"},"read_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Read Seconds"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"is_new":{"type":"boolean","title":"Is New"},"video_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Seconds"},"cover":{"items":{"type":"string"},"type":"array","title":"Cover","default":[]},"first":{"type":"boolean","title":"First","default":false},"cover_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Url"}},"type":"object","required":["id","subject_id","subject","kind","status","progress","headline","window_start","window_end","read_seconds","created_at","completed_at","is_new"],"title":"ReportCard"},"ReportExcerptRef":{"properties":{"ref":{"type":"string","title":"Ref"},"video_id":{"type":"string","format":"uuid","title":"Video Id"},"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"start_seconds":{"type":"integer","title":"Start Seconds"},"end_seconds":{"type":"integer","title":"End Seconds"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},"type":"object","required":["ref","video_id","youtube_video_id","youtube_channel_id","start_seconds","end_seconds"],"title":"ReportExcerptRef"},"ReportFrame":{"properties":{"url":{"type":"string","title":"Url"},"ref":{"type":"string","title":"Ref"}},"type":"object","required":["url","ref"],"title":"ReportFrame"},"ReportLayout":{"properties":{"format":{"type":"string","enum":["sides","explain","news","picks","howto","reception"],"title":"Format"},"headline":{"type":"string","title":"Headline"},"bottom_line":{"type":"string","title":"Bottom Line"},"answers":{"anyOf":[{"$ref":"#/components/schemas/ReportAnswers"},{"type":"null"}]},"split":{"anyOf":[{"$ref":"#/components/schemas/ReportSplit"},{"type":"null"}]},"voices":{"items":{"$ref":"#/components/schemas/ReportVoice"},"type":"array","title":"Voices","default":[]},"blocks":{"items":{"$ref":"#/components/schemas/ReportBlock"},"type":"array","title":"Blocks"},"points":{"items":{"$ref":"#/components/schemas/ReportPoint"},"type":"array","title":"Points"},"lean":{"anyOf":[{"$ref":"#/components/schemas/ReportLean"},{"type":"null"}]},"verdict":{"anyOf":[{"$ref":"#/components/schemas/ReportVerdict"},{"type":"null"}]},"questions":{"items":{"type":"string"},"type":"array","title":"Questions","default":[]},"update":{"anyOf":[{"$ref":"#/components/schemas/ReportUpdate"},{"type":"null"}]}},"type":"object","required":["format","headline","bottom_line","answers","blocks","points"],"title":"ReportLayout"},"ReportLean":{"properties":{"side":{"anyOf":[{"type":"string","enum":["yes","no"]},{"type":"null"}],"title":"Side"},"strength":{"type":"string","enum":["most","more","divided","unclear"],"title":"Strength"}},"type":"object","required":["side","strength"],"title":"ReportLean"},"ReportListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReportCard"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"}},"type":"object","required":["items"],"title":"ReportListResponse"},"ReportPoint":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"side":{"anyOf":[{"type":"string","enum":["yes","no","neither"]},{"type":"null"}],"title":"Side"},"voices":{"items":{"type":"string"},"type":"array","title":"Voices","default":[]},"refs":{"items":{"type":"string"},"type":"array","title":"Refs"},"quote":{"anyOf":[{"$ref":"#/components/schemas/ReportQuote"},{"type":"null"}]},"frame":{"anyOf":[{"$ref":"#/components/schemas/ReportFrame"},{"type":"null"}]},"videos":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Videos"},"first_reported":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"First Reported"},"differ":{"anyOf":[{"$ref":"#/components/schemas/ReportStoryDiffer"},{"type":"null"}]},"recommended":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recommended"},"warned":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Warned"},"stage":{"anyOf":[{"type":"string","const":"before"},{"type":"null"}],"title":"Stage"},"praised":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Praised"},"criticised":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Criticised"}},"type":"object","required":["id","title","text","side","refs","quote"],"title":"ReportPoint"},"ReportProgress":{"properties":{"new_channels":{"type":"integer","title":"New Channels","default":0},"videos":{"type":"integer","title":"Videos","default":0},"ready":{"type":"integer","title":"Ready","default":0}},"type":"object","title":"ReportProgress"},"ReportQuote":{"properties":{"ref":{"type":"string","title":"Ref"},"text":{"type":"string","title":"Text"},"translation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translation"},"speaker":{"$ref":"#/components/schemas/ReportSpeaker"}},"type":"object","required":["ref","text","translation","speaker"],"title":"ReportQuote"},"ReportRequest":{"properties":{"reason":{"type":"string","title":"Reason"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["reason"],"title":"ReportRequest"},"ReportResponse":{"properties":{"report":{"$ref":"#/components/schemas/ReportCard"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"body":{"anyOf":[{"$ref":"#/components/schemas/ReportBody"},{"type":"null"}]},"excerpts":{"items":{"$ref":"#/components/schemas/ReportExcerptRef"},"type":"array","title":"Excerpts"},"sources":{"items":{"$ref":"#/components/schemas/SourceChannel"},"type":"array","title":"Sources"},"layout":{"anyOf":[{"$ref":"#/components/schemas/ReportLayout"},{"type":"null"}]},"videos_checked":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Videos Checked"},"cover":{"items":{"type":"string"},"type":"array","title":"Cover","default":[]}},"type":"object","required":["report","language","body","excerpts","sources"],"title":"ReportResponse"},"ReportSection":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"subsections":{"items":{"$ref":"#/components/schemas/ReportSubsection"},"type":"array","title":"Subsections"}},"type":"object","required":["title","description","subsections"],"title":"ReportSection"},"ReportSpeaker":{"properties":{"kind":{"type":"string","enum":["named","host","guest","channel"],"title":"Kind"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["kind","name"],"title":"ReportSpeaker"},"ReportSplit":{"properties":{"yes":{"type":"integer","title":"Yes"},"no":{"type":"integer","title":"No"},"neither":{"type":"integer","title":"Neither"}},"type":"object","required":["yes","no","neither"],"title":"ReportSplit"},"ReportStoryDiffer":{"properties":{"question":{"type":"string","title":"Question"},"sides":{"items":{"$ref":"#/components/schemas/ReportStorySide"},"type":"array","title":"Sides"}},"type":"object","required":["question","sides"],"title":"ReportStoryDiffer"},"ReportStorySide":{"properties":{"label":{"type":"string","title":"Label"},"text":{"type":"string","title":"Text"}},"type":"object","required":["label","text"],"title":"ReportStorySide"},"ReportSubsection":{"properties":{"title":{"type":"string","title":"Title"},"content":{"type":"string","title":"Content"}},"type":"object","required":["title","content"],"title":"ReportSubsection"},"ReportUpdate":{"properties":{"since":{"type":"string","format":"date","title":"Since"},"lean_before":{"anyOf":[{"$ref":"#/components/schemas/ReportLean"},{"type":"null"}]},"new":{"items":{"type":"string"},"type":"array","title":"New"},"follow_ups":{"items":{"type":"string"},"type":"array","title":"Follow Ups","default":[]},"repeated":{"items":{"$ref":"#/components/schemas/ReportUpdateRepeat"},"type":"array","title":"Repeated","default":[]}},"type":"object","required":["since","new"],"title":"ReportUpdate"},"ReportUpdateRepeat":{"properties":{"id":{"type":"string","title":"Id"},"earlier":{"type":"string","title":"Earlier"},"videos":{"type":"integer","title":"Videos"}},"type":"object","required":["id","earlier","videos"],"title":"ReportUpdateRepeat"},"ReportVerdict":{"properties":{"side":{"anyOf":[{"type":"string","enum":["positive","negative"]},{"type":"null"}],"title":"Side"},"strength":{"type":"string","enum":["most","more","divided","unclear"],"title":"Strength"}},"type":"object","required":["side","strength"],"title":"ReportVerdict"},"ReportVoice":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["named","host","guest"],"title":"Kind"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"channel_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Channel Id"},"via":{"type":"boolean","title":"Via"},"side":{"anyOf":[{"type":"string","enum":["yes","no","neither"]},{"type":"null"}],"title":"Side"}},"type":"object","required":["id","kind","name","channel_id","via","side"],"title":"ReportVoice"},"ResearchChatHistoryResponse":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/ResearchChatMessageResponse"},"type":"array","title":"Messages"}},"type":"object","required":["messages"],"title":"ResearchChatHistoryResponse"},"ResearchChatMessageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"citations":{"items":{"$ref":"#/components/schemas/ChatCitation"},"type":"array","title":"Citations"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","role","content","citations","created_at"],"title":"ResearchChatMessageResponse"},"ResearchChatReplyResponse":{"properties":{"reply":{"$ref":"#/components/schemas/ResearchChatMessageResponse"},"messages":{"items":{"$ref":"#/components/schemas/ResearchChatMessageResponse"},"type":"array","title":"Messages"}},"type":"object","required":["reply","messages"],"title":"ResearchChatReplyResponse"},"ResearchChatRequest":{"properties":{"message":{"type":"string","maxLength":500,"minLength":1,"title":"Message"},"source":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Source"}},"type":"object","required":["message"],"title":"ResearchChatRequest"},"ResearchUnreadResponse":{"properties":{"subjects":{"type":"integer","title":"Subjects"},"reports":{"type":"integer","title":"Reports"}},"type":"object","required":["subjects","reports"],"title":"ResearchUnreadResponse"},"ResolvedLink":{"properties":{"type":{"type":"string","title":"Type"},"id":{"type":"string","title":"Id"},"video_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Video Id"}},"type":"object","required":["type","id"],"title":"ResolvedLink"},"ResponseEnvelope_AudioManifest_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/AudioManifest"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[AudioManifest]"},"ResponseEnvelope_CategoryResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/CategoryResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[CategoryResponse]"},"ResponseEnvelope_ChannelDetailResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ChannelDetailResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ChannelDetailResponse]"},"ResponseEnvelope_ChatResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ChatResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ChatResponse]"},"ResponseEnvelope_CollectionResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/CollectionResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[CollectionResponse]"},"ResponseEnvelope_ConversationResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ConversationResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ConversationResponse]"},"ResponseEnvelope_DeviceResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/DeviceResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[DeviceResponse]"},"ResponseEnvelope_FeedResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/FeedResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[FeedResponse]"},"ResponseEnvelope_FeedSearchResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/FeedSearchResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[FeedSearchResponse]"},"ResponseEnvelope_FollowedChannelResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/FollowedChannelResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[FollowedChannelResponse]"},"ResponseEnvelope_MarkReadResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/MarkReadResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[MarkReadResponse]"},"ResponseEnvelope_MintCollectionResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/MintCollectionResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[MintCollectionResponse]"},"ResponseEnvelope_MintShareResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/MintShareResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[MintShareResponse]"},"ResponseEnvelope_NewReportResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/NewReportResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[NewReportResponse]"},"ResponseEnvelope_NoteListPage_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/NoteListPage"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[NoteListPage]"},"ResponseEnvelope_NotePageResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/NotePageResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[NotePageResponse]"},"ResponseEnvelope_NoteResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/NoteResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[NoteResponse]"},"ResponseEnvelope_OfflineReadsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/OfflineReadsResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[OfflineReadsResponse]"},"ResponseEnvelope_OtherChannelsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/OtherChannelsResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[OtherChannelsResponse]"},"ResponseEnvelope_PassageTranslationResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/PassageTranslationResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[PassageTranslationResponse]"},"ResponseEnvelope_PicksStoppedResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/PicksStoppedResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[PicksStoppedResponse]"},"ResponseEnvelope_PurchaseIntentResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/PurchaseIntentResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[PurchaseIntentResponse]"},"ResponseEnvelope_PurchaseStateResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/PurchaseStateResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[PurchaseStateResponse]"},"ResponseEnvelope_ReportListResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ReportListResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ReportListResponse]"},"ResponseEnvelope_ReportResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ReportResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ReportResponse]"},"ResponseEnvelope_ResearchChatHistoryResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ResearchChatHistoryResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ResearchChatHistoryResponse]"},"ResponseEnvelope_ResearchChatReplyResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ResearchChatReplyResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ResearchChatReplyResponse]"},"ResponseEnvelope_ResearchUnreadResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ResearchUnreadResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ResearchUnreadResponse]"},"ResponseEnvelope_ResolvedLink_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ResolvedLink"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ResolvedLink]"},"ResponseEnvelope_SearchResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SearchResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[SearchResponse]"},"ResponseEnvelope_ShareLinkResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ShareLinkResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[ShareLinkResponse]"},"ResponseEnvelope_SubjectCreatedResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SubjectCreatedResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[SubjectCreatedResponse]"},"ResponseEnvelope_SubjectListResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SubjectListResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[SubjectListResponse]"},"ResponseEnvelope_SubjectResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SubjectResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[SubjectResponse]"},"ResponseEnvelope_SuggestionsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SuggestionsResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[SuggestionsResponse]"},"ResponseEnvelope_SummaryRequestResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/SummaryRequestResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[SummaryRequestResponse]"},"ResponseEnvelope_TierInfoResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/TierInfoResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[TierInfoResponse]"},"ResponseEnvelope_TitleTranslationsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/TitleTranslationsResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[TitleTranslationsResponse]"},"ResponseEnvelope_TokenResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/TokenResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[TokenResponse]"},"ResponseEnvelope_UnseenCountResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UnseenCountResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UnseenCountResponse]"},"ResponseEnvelope_UsageChannelSummariesResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UsageChannelSummariesResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UsageChannelSummariesResponse]"},"ResponseEnvelope_UsageChatsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UsageChatsResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UsageChatsResponse]"},"ResponseEnvelope_UsageSummariesResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UsageSummariesResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UsageSummariesResponse]"},"ResponseEnvelope_UserProfileResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UserProfileResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UserProfileResponse]"},"ResponseEnvelope_UserResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UserResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UserResponse]"},"ResponseEnvelope_UserSearchResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UserSearchResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UserSearchResponse]"},"ResponseEnvelope_UserSettingsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/UserSettingsResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[UserSettingsResponse]"},"ResponseEnvelope_VideoDetailResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/VideoDetailResponse"},{"type":"null"}]},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[VideoDetailResponse]"},"ResponseEnvelope_dict_":{"properties":{"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[dict]"},"ResponseEnvelope_int_":{"properties":{"data":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[int]"},"ResponseEnvelope_list_CategoryResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/CategoryResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[CategoryResponse]]"},"ResponseEnvelope_list_ChatMessageResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/ChatMessageResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[ChatMessageResponse]]"},"ResponseEnvelope_list_DeviceResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/DeviceResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[DeviceResponse]]"},"ResponseEnvelope_list_FollowedChannelResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/FollowedChannelResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[FollowedChannelResponse]]"},"ResponseEnvelope_list_NoteResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/NoteResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[NoteResponse]]"},"ResponseEnvelope_list_SuggestedChannelResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/SuggestedChannelResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[SuggestedChannelResponse]]"},"ResponseEnvelope_list_SummaryRequestResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/SummaryRequestResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[SummaryRequestResponse]]"},"ResponseEnvelope_list_UUID__":{"properties":{"data":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[UUID]]"},"ResponseEnvelope_list_UserProfileResponse__":{"properties":{"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserProfileResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ResponseEnvelope[list[UserProfileResponse]]"},"SearchResponse":{"properties":{"channels":{"items":{"$ref":"#/components/schemas/ChannelSearchResultWithSub"},"type":"array","title":"Channels"},"videos":{"items":{"$ref":"#/components/schemas/VideoSearchResult"},"type":"array","title":"Videos"},"video_next_page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Next Page Token"}},"type":"object","required":["channels","videos","video_next_page_token"],"title":"SearchResponse"},"SectionResponse":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"subsections":{"items":{"$ref":"#/components/schemas/SubsectionResponse"},"type":"array","title":"Subsections"}},"type":"object","required":["title","description","subsections"],"title":"SectionResponse"},"ShareLinkResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"ShareLinkResponse"},"SourceChannel":{"properties":{"channel_id":{"type":"string","format":"uuid","title":"Channel Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"videos":{"items":{"$ref":"#/components/schemas/SourceVideo"},"type":"array","title":"Videos"}},"type":"object","required":["channel_id","youtube_channel_id","title","thumbnail_url","videos"],"title":"SourceChannel"},"SourceVideo":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"cited_seconds":{"type":"integer","title":"Cited Seconds"},"feed_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Status"},"held":{"type":"boolean","title":"Held","default":false},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"type":"object","required":["video_id","youtube_video_id","title","thumbnail_url","published_at","duration_seconds","cited_seconds","feed_status"],"title":"SourceVideo"},"SubjectBrief":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"text":{"type":"string","title":"Text"},"channel_count":{"type":"integer","title":"Channel Count"},"digest_every_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digest Every Days"},"last_report_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Report At"},"has_unread":{"type":"boolean","title":"Has Unread"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"next_digest_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Digest At"}},"type":"object","required":["id","text","channel_count","digest_every_days","last_report_at","has_unread","created_at"],"title":"SubjectBrief"},"SubjectChannel":{"properties":{"channel_id":{"type":"string","format":"uuid","title":"Channel Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"history":{"type":"string","title":"History"}},"type":"object","required":["channel_id","youtube_channel_id","title","thumbnail_url","history"],"title":"SubjectChannel"},"SubjectCreatedResponse":{"properties":{"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"report_id":{"type":"string","format":"uuid","title":"Report Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["subject_id","report_id","status"],"title":"SubjectCreatedResponse"},"SubjectListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubjectBrief"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"SubjectListResponse"},"SubjectResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"text":{"type":"string","title":"Text"},"time_frame":{"type":"string","enum":["month","year","any"],"title":"Time Frame"},"window":{"type":"string","enum":["day","3days","week","2weeks","month","3months","6months","year","any"],"title":"Window"},"digest_every_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digest Every Days"},"next_digest_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Digest At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"channels":{"items":{"$ref":"#/components/schemas/SubjectChannel"},"type":"array","title":"Channels"},"detail":{"type":"string","enum":["normal","detailed"],"title":"Detail","default":"normal"},"last_report_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Report At"},"unread_reports":{"type":"integer","title":"Unread Reports","default":0}},"type":"object","required":["id","text","time_frame","window","digest_every_days","next_digest_at","created_at","channels"],"title":"SubjectResponse"},"SubsectionResponse":{"properties":{"title":{"type":"string","title":"Title"},"content":{"type":"string","title":"Content"}},"type":"object","required":["title","content"],"title":"SubsectionResponse"},"SuggestedChannel":{"properties":{"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"type":"string","title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"subscriber_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscriber Count"},"matching_videos":{"type":"integer","title":"Matching Videos"},"latest_video_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Video At"},"videos":{"items":{"$ref":"#/components/schemas/SuggestedVideo"},"type":"array","title":"Videos"},"preselected":{"type":"boolean","title":"Preselected","default":false},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},"type":"object","required":["youtube_channel_id","title","thumbnail_url","subscriber_count","matching_videos","latest_video_at","videos"],"title":"SuggestedChannel"},"SuggestedChannelResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"short_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"subscriber_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscriber Count"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]}},"type":"object","required":["id","youtube_channel_id","title","description","thumbnail_url","subscriber_count"],"title":"SuggestedChannelResponse","description":"A channel offered to a user who doesn't follow it yet. Carries\nthe same card fields as any channel list plus its categories, which\nthe client can show as chips."},"SuggestedVideo":{"properties":{"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"type":"string","title":"Title"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"type":"object","required":["youtube_video_id","title","published_at","thumbnail_url","duration_seconds"],"title":"SuggestedVideo"},"SuggestionsRequest":{"properties":{"subject":{"type":"string","maxLength":200,"minLength":2,"title":"Subject"},"time_frame":{"anyOf":[{"type":"string","enum":["month","year","any"]},{"type":"null"}],"title":"Time Frame"},"window":{"anyOf":[{"type":"string","enum":["day","3days","week","2weeks","month","3months","6months","year","any"]},{"type":"null"}],"title":"Window"},"draft_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Draft Id"},"subject_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Subject Id"}},"type":"object","required":["subject"],"title":"SuggestionsRequest"},"SuggestionsResponse":{"properties":{"draft_id":{"type":"string","title":"Draft Id"},"time_frame":{"type":"string","enum":["month","year","any"],"title":"Time Frame"},"time_frame_guess":{"type":"string","enum":["month","year","any"],"title":"Time Frame Guess"},"window":{"type":"string","enum":["day","3days","week","2weeks","month","3months","6months","year","any"],"title":"Window"},"window_guess":{"type":"string","enum":["day","3days","week","2weeks","month","3months","6months","year","any"],"title":"Window Guess"},"feed":{"items":{"$ref":"#/components/schemas/SuggestedChannel"},"type":"array","title":"Feed"},"pool":{"items":{"$ref":"#/components/schemas/SuggestedChannel"},"type":"array","title":"Pool"},"max_channels":{"type":"integer","title":"Max Channels"},"language_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Group"},"current":{"items":{"$ref":"#/components/schemas/SuggestedChannel"},"type":"array","title":"Current","default":[]}},"type":"object","required":["draft_id","time_frame","time_frame_guess","window","window_guess","feed","pool","max_channels"],"title":"SuggestionsResponse"},"SummaryRequestCreate":{"properties":{"youtube_url":{"type":"string","title":"Youtube Url"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"research_report_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Research Report Id"},"source":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Source"}},"type":"object","required":["youtube_url"],"title":"SummaryRequestCreate"},"SummaryRequestResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"youtube_url":{"type":"string","title":"Youtube Url"},"youtube_video_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Youtube Video Id"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"status":{"type":"string","title":"Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"video_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Video Id"},"summary_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Summary Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","youtube_url","youtube_video_id","language","status","error_message","video_id","summary_id","created_at","updated_at"],"title":"SummaryRequestResponse"},"SummaryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"detail_level":{"type":"string","title":"Detail Level"},"status":{"type":"string","title":"Status"},"sections":{"anyOf":[{"items":{"$ref":"#/components/schemas/SectionResponse"},"type":"array"},{"type":"null"}],"title":"Sections"},"suggested_questions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Suggested Questions"},"frames":{"anyOf":[{"items":{"$ref":"#/components/schemas/FrameInfo"},"type":"array"},{"type":"null"}],"title":"Frames"},"transcript_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transcript Language"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"read_time_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Read Time Seconds"},"translation":{"anyOf":[{"$ref":"#/components/schemas/TranslationResponse"},{"type":"null"}]},"audio_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Status"}},"type":"object","required":["id","detail_level","status","transcript_language","completed_at"],"title":"SummaryResponse"},"SurveyAnswerRequest":{"properties":{"answers":{"additionalProperties":{"$ref":"#/components/schemas/SurveyQuestionAnswer"},"type":"object","maxProperties":10,"title":"Answers"}},"type":"object","required":["answers"],"title":"SurveyAnswerRequest"},"SurveyQuestionAnswer":{"properties":{"choices":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Choices"},"text":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Text"}},"type":"object","required":["choices"],"title":"SurveyQuestionAnswer"},"TierInfoResponse":{"properties":{"tier":{"type":"string","title":"Tier"},"effective_tier":{"type":"string","title":"Effective Tier"},"trial_active":{"type":"boolean","title":"Trial Active"},"trial_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial Expires At"},"limits":{"$ref":"#/components/schemas/TierLimitsResponse"},"next_reset_at":{"type":"string","format":"date-time","title":"Next Reset At"},"usage":{"anyOf":[{"$ref":"#/components/schemas/UsageMeterResponse"},{"type":"null"}]}},"type":"object","required":["tier","effective_tier","trial_active","trial_expires_at","limits","next_reset_at"],"title":"TierInfoResponse"},"TierLimitsResponse":{"properties":{"monthly_summaries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Summaries"},"monthly_summaries_used":{"type":"integer","title":"Monthly Summaries Used"},"max_channels":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Channels"},"channels_used":{"type":"integer","title":"Channels Used"},"max_video_duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Video Duration Seconds"},"monthly_chat_messages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Chat Messages"},"monthly_chat_messages_used":{"type":"integer","title":"Monthly Chat Messages Used"},"allowed_detail_levels":{"items":{"type":"string"},"type":"array","title":"Allowed Detail Levels"}},"type":"object","required":["monthly_summaries","monthly_summaries_used","max_channels","channels_used","max_video_duration_seconds","monthly_chat_messages","monthly_chat_messages_used","allowed_detail_levels"],"title":"TierLimitsResponse"},"TitleItemIn":{"properties":{"youtube_video_id":{"type":"string","maxLength":32,"title":"Youtube Video Id"},"title":{"type":"string","maxLength":1000,"title":"Title"}},"type":"object","required":["youtube_video_id","title"],"title":"TitleItemIn"},"TitleTranslationsRequest":{"properties":{"youtube_channel_id":{"type":"string","maxLength":64,"title":"Youtube Channel Id"},"items":{"items":{"$ref":"#/components/schemas/TitleItemIn"},"type":"array","maxItems":50,"title":"Items"},"description":{"type":"boolean","title":"Description","default":false}},"type":"object","required":["youtube_channel_id","items"],"title":"TitleTranslationsRequest"},"TitleTranslationsResponse":{"properties":{"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"source_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Language"},"titles":{"additionalProperties":{"type":"string"},"type":"object","title":"Titles"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["language","titles"],"title":"TitleTranslationsResponse"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token","refresh_token"],"title":"TokenResponse"},"TranslationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"language":{"type":"string","title":"Language"},"status":{"type":"string","title":"Status"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"sections":{"anyOf":[{"items":{"$ref":"#/components/schemas/SectionResponse"},"type":"array"},{"type":"null"}],"title":"Sections"},"suggested_questions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Suggested Questions"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","language","status","completed_at"],"title":"TranslationResponse"},"UnseenCountResponse":{"properties":{"count":{"type":"integer","title":"Count"}},"type":"object","required":["count"],"title":"UnseenCountResponse"},"UpdateSubjectRequest":{"properties":{"draft_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Draft Id"},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1},{"type":"null"}],"title":"Channels"},"digest_every_days":{"anyOf":[{"type":"integer","enum":[1,3,7]},{"type":"null"}],"title":"Digest Every Days"},"digest_from":{"type":"string","enum":["last_report","now"],"title":"Digest From","default":"last_report"},"detail":{"anyOf":[{"type":"string","enum":["normal","detailed"]},{"type":"null"}],"title":"Detail"},"next_update":{"anyOf":[{"type":"string","const":"now"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Update"}},"type":"object","title":"UpdateSubjectRequest"},"UsageChannel":{"properties":{"channel_id":{"type":"string","title":"Channel Id"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"title":{"type":"string","title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"count":{"type":"integer","title":"Count"},"requested_count":{"type":"integer","title":"Requested Count"},"percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percent"}},"type":"object","required":["channel_id","youtube_channel_id","title","thumbnail_url","count","requested_count"],"title":"UsageChannel"},"UsageChannelSummariesResponse":{"properties":{"period_start":{"type":"string","format":"date-time","title":"Period Start"},"items":{"items":{"$ref":"#/components/schemas/UsageSummaryItem"},"type":"array","title":"Items"}},"type":"object","required":["period_start","items"],"title":"UsageChannelSummariesResponse"},"UsageChatItem":{"properties":{"video_id":{"type":"string","title":"Video Id"},"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"type":"string","title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"channel_title":{"type":"string","title":"Channel Title"},"count":{"type":"integer","title":"Count"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"}},"type":"object","required":["video_id","youtube_video_id","title","thumbnail_url","channel_title","count"],"title":"UsageChatItem"},"UsageChatsResponse":{"properties":{"period_start":{"type":"string","format":"date-time","title":"Period Start"},"total":{"type":"integer","title":"Total"},"previous_account":{"type":"integer","title":"Previous Account"},"items":{"items":{"$ref":"#/components/schemas/UsageChatItem"},"type":"array","title":"Items"},"research":{"type":"integer","title":"Research","default":0}},"type":"object","required":["period_start","total","previous_account","items"],"title":"UsageChatsResponse"},"UsageMeterResponse":{"properties":{"month_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month Percent"},"month_resets_at":{"type":"string","format":"date-time","title":"Month Resets At"},"week_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Week Percent"},"week_resets_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Week Resets At"},"can_summarise":{"type":"boolean","title":"Can Summarise"},"waiting":{"type":"integer","title":"Waiting"}},"type":"object","required":["month_percent","month_resets_at","can_summarise","waiting"],"title":"UsageMeterResponse"},"UsageSubject":{"properties":{"subject_id":{"type":"string","title":"Subject Id"},"text":{"type":"string","title":"Text"},"count":{"type":"integer","title":"Count"},"percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percent"}},"type":"object","required":["subject_id","text","count"],"title":"UsageSubject"},"UsageSummariesResponse":{"properties":{"period_start":{"type":"string","format":"date-time","title":"Period Start"},"total":{"type":"integer","title":"Total"},"previous_account":{"type":"integer","title":"Previous Account"},"channels":{"items":{"$ref":"#/components/schemas/UsageChannel"},"type":"array","title":"Channels"},"percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percent"},"previous_account_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous Account Percent"},"subjects":{"items":{"$ref":"#/components/schemas/UsageSubject"},"type":"array","title":"Subjects","default":[]},"deleted_subject_reports":{"type":"integer","title":"Deleted Subject Reports","default":0},"deleted_subject_reports_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deleted Subject Reports Percent"}},"type":"object","required":["period_start","total","previous_account","channels"],"title":"UsageSummariesResponse"},"UsageSummaryItem":{"properties":{"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"channel_title":{"type":"string","title":"Channel Title"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"channel_thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Thumbnail Url"},"feed_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Status"},"video_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Id"},"held":{"type":"boolean","title":"Held","default":false},"requested":{"type":"boolean","title":"Requested"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"}},"type":"object","required":["youtube_video_id","title","description","thumbnail_url","channel_title","youtube_channel_id","published_at","duration_seconds","requested","requested_at"],"title":"UsageSummaryItem"},"UserProfileResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"handle":{"type":"string","title":"Handle"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"is_ai":{"type":"boolean","title":"Is Ai","default":false},"is_blocked":{"type":"boolean","title":"Is Blocked","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"published_notes_count":{"type":"integer","title":"Published Notes Count","default":0},"followers_count":{"type":"integer","title":"Followers Count","default":0},"following_count":{"type":"integer","title":"Following Count","default":0},"is_following":{"type":"boolean","title":"Is Following","default":false},"followed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Followed At"}},"type":"object","required":["id","display_name","handle","created_at"],"title":"UserProfileResponse","description":"Public profile — no email or tier info."},"UserResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"handle":{"type":"string","title":"Handle"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"is_active":{"type":"boolean","title":"Is Active"},"tier":{"type":"string","title":"Tier"},"effective_tier":{"type":"string","title":"Effective Tier"},"trial_active":{"type":"boolean","title":"Trial Active"},"trial_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial Expires At"},"trial_expiry_acknowledged":{"type":"boolean","title":"Trial Expiry Acknowledged","default":false},"pending_purchase":{"anyOf":[{"$ref":"#/components/schemas/PendingPurchaseDTO"},{"type":"null"}]},"sign_in_methods":{"items":{"type":"string"},"type":"array","title":"Sign In Methods"},"subscription_will_renew":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Subscription Will Renew"},"subscription_renews_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscription Renews At"},"tier_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier Source"},"pending_tier_change":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pending Tier Change"},"subscription_billing_issue":{"anyOf":[{"$ref":"#/components/schemas/BillingIssueDTO"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"research_enabled":{"type":"boolean","title":"Research Enabled","default":false},"server_time":{"type":"string","format":"date-time","title":"Server Time"}},"type":"object","required":["id","email","email_verified","display_name","handle","is_active","tier","effective_tier","trial_active","trial_expires_at","created_at"],"title":"UserResponse"},"UserSearchResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/UserSearchResult"},"type":"array","title":"Results"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More","default":false}},"type":"object","required":["results"],"title":"UserSearchResponse"},"UserSearchResult":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"handle":{"type":"string","title":"Handle"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"published_notes_count":{"type":"integer","title":"Published Notes Count","default":0}},"type":"object","required":["id","handle","display_name"],"title":"UserSearchResult","description":"One row in GET /users/search results. Lighter than the full\nprofile — just the info needed to render a search card."},"UserSettingsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"detail_level":{"type":"string","title":"Detail Level"},"translate_enabled":{"type":"boolean","title":"Translate Enabled"},"translate_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translate To"},"translate_keep_languages":{"items":{"type":"string"},"type":"array","title":"Translate Keep Languages"},"min_video_duration_minutes":{"type":"integer","title":"Min Video Duration Minutes"},"hide_short_videos_minutes":{"type":"integer","title":"Hide Short Videos Minutes"},"push_enabled":{"type":"boolean","title":"Push Enabled"},"explore_picks_enabled":{"type":"boolean","title":"Explore Picks Enabled"}},"type":"object","required":["id","detail_level","translate_enabled","translate_to","translate_keep_languages","min_video_duration_minutes","hide_short_videos_minutes","push_enabled","explore_picks_enabled"],"title":"UserSettingsResponse"},"UserSettingsUpdateRequest":{"properties":{"detail_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail Level"},"translate_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Translate Enabled"},"translate_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translate To"},"translate_keep_languages":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Translate Keep Languages"},"min_video_duration_minutes":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Min Video Duration Minutes"},"hide_short_videos_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Hide Short Videos Minutes"},"push_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Push Enabled"},"explore_picks_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Explore Picks Enabled"}},"type":"object","title":"UserSettingsUpdateRequest"},"UserUpdateRequest":{"properties":{"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"}},"type":"object","title":"UserUpdateRequest"},"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"},"VerdictItem":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id"},"verdict":{"type":"string","title":"Verdict","default":""},"reason":{"type":"string","title":"Reason","default":""},"safety":{"type":"string","title":"Safety","default":""},"substance":{"type":"string","title":"Substance","default":""},"timeliness":{"type":"string","title":"Timeliness","default":""},"max_age_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Age Days"}},"type":"object","required":["candidate_id"],"title":"VerdictItem"},"VerdictsBody":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"verdicts":{"items":{"$ref":"#/components/schemas/VerdictItem"},"type":"array","title":"Verdicts"}},"type":"object","required":["run_id","verdicts"],"title":"VerdictsBody"},"VideoDetailResponse":{"properties":{"video":{"$ref":"#/components/schemas/VideoResponse"},"channel":{"$ref":"#/components/schemas/ChannelBrief"},"summary":{"anyOf":[{"$ref":"#/components/schemas/SummaryResponse"},{"type":"null"}]},"translation_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translation Status"},"share_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Url"},"is_in_feed":{"type":"boolean","title":"Is In Feed","default":true},"is_unlocked":{"type":"boolean","title":"Is Unlocked","default":true},"monthly_summaries_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Summaries Limit"},"viewer_summary":{"anyOf":[{"$ref":"#/components/schemas/ViewerSummaryRef"},{"type":"null"}]},"channel_is_subscribed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Channel Is Subscribed"},"discussion_count":{"type":"integer","title":"Discussion Count","default":0},"discovered_via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovered Via"},"shared_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shared By"},"held":{"type":"boolean","title":"Held","default":false},"can_summarise":{"type":"boolean","title":"Can Summarise","default":false},"picks_stopped":{"type":"boolean","title":"Picks Stopped","default":false}},"type":"object","required":["video","channel","summary"],"title":"VideoDetailResponse"},"VideoResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"}},"type":"object","required":["id","youtube_video_id","title","description","thumbnail_url","duration_seconds","published_at"],"title":"VideoResponse"},"VideoSearchResult":{"properties":{"youtube_video_id":{"type":"string","title":"Youtube Video Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"channel_title":{"type":"string","title":"Channel Title"},"youtube_channel_id":{"type":"string","title":"Youtube Channel Id"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"channel_thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Thumbnail Url"},"feed_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Status"},"video_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Id"},"held":{"type":"boolean","title":"Held","default":false}},"type":"object","required":["youtube_video_id","title","description","thumbnail_url","channel_title","youtube_channel_id","published_at","duration_seconds"],"title":"VideoSearchResult"},"ViewerSummaryRef":{"properties":{"summary_id":{"type":"string","format":"uuid","title":"Summary Id"},"translation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Translation Id"},"detail_level":{"type":"string","title":"Detail Level"},"language":{"type":"string","title":"Language"}},"type":"object","required":["summary_id","detail_level","language"],"title":"ViewerSummaryRef","description":"Coords of viewer's existing UserSummary for the video being\ndisplayed. Populated when the viewer arrived at someone else's\nsummary (via the /summaries/s/{id} or /t/{id} endpoints) and\nalready has their own summary for the same video — drives the\n\"view your [level] [lang] summary →\" banner state."}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}