{"openapi":"3.1.0","info":{"title":"Scene Sentry","description":"AI-powered cinema intelligence platform","version":"2.0.0"},"paths":{"/":{"get":{"summary":"Index","description":"Landing page","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/health":{"get":{"summary":"Health Check","description":"Health check endpoint","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/favicon.ico":{"get":{"summary":"Favicon","description":"Serve favicon or return 204 No Content if not available","operationId":"favicon_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/privacy":{"get":{"tags":["pages"],"summary":"Privacy Page","operationId":"privacy_page_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"tags":["pages"],"summary":"Terms Page","operationId":"terms_page_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/contact":{"get":{"tags":["pages"],"summary":"Contact Page","operationId":"contact_page_contact_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["pages"],"summary":"Contact Submit","description":"Accept contact form JSON. Honeypot field `website` must be empty.\nBots that fill it get HTTP 200 with ok=true (silent success).","operationId":"contact_submit_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSubmissionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"tags":["auth"],"summary":"Login","description":"Login page - shows Clerk SignIn or traditional form","operationId":"login_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["auth"],"summary":"Login","description":"Process login (fallback when Clerk not configured).\nRate limited to prevent brute force attacks.","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"}}}}}}},"/register":{"get":{"tags":["auth"],"summary":"Register","description":"Registration page - shows Clerk SignUp or traditional form","operationId":"register_register_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["auth"],"summary":"Register","description":"Process registration (fallback when Clerk not configured).","operationId":"register_register_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_register_register_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":{"post":{"tags":["auth"],"summary":"Logout","description":"Logout user - clears session and Clerk cookies.\n\nNote: For complete Clerk logout, the frontend should call Clerk.signOut()\nwhich will invalidate the session on Clerk's servers.","operationId":"logout_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/clerk":{"post":{"tags":["auth"],"summary":"Clerk Webhook","description":"Handle Clerk webhook events with proper signature verification.\n\nVerifies webhook signature using Svix library to prevent spoofed events.\nHandles user lifecycle events: created, updated, deleted.","operationId":"clerk_webhook_webhooks_clerk_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/settings":{"get":{"tags":["auth"],"summary":"Settings","description":"User settings page","operationId":"settings_settings_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["auth"],"summary":"Update Settings","description":"Update user settings","operationId":"update_settings_settings_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_settings_settings_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard":{"get":{"tags":["dashboard"],"summary":"Dashboard","operationId":"dashboard_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/library":{"get":{"tags":["library"],"summary":"Library","description":"Library page with filtering and search","operationId":"library_library_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Type"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/library/item/{item_id}/update":{"post":{"tags":["library"],"summary":"Update Library Item","description":"Update library item status","operationId":"update_library_item_library_item__item_id__update_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_library_item_library_item__item_id__update_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/library/item/{item_id}/progress":{"post":{"tags":["library"],"summary":"Update Progress","description":"Update progress on a library item","operationId":"update_progress_library_item__item_id__progress_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_progress_library_item__item_id__progress_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/library/item/{item_id}/rate":{"post":{"tags":["library"],"summary":"Rate Item","description":"Rate a library item","operationId":"rate_item_library_item__item_id__rate_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_rate_item_library_item__item_id__rate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/library/item/{item_id}/delete":{"post":{"tags":["library"],"summary":"Delete Library Item","description":"Remove item from library","operationId":"delete_library_item_library_item__item_id__delete_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/library/add":{"post":{"tags":["library"],"summary":"Add To Library","description":"Add content to library","operationId":"add_to_library_library_add_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_add_to_library_library_add_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gossip":{"get":{"tags":["gossip"],"summary":"Gossip Feed","operationId":"gossip_feed_gossip_get","parameters":[{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gossip/{gossip_id}":{"get":{"tags":["gossip"],"summary":"Gossip Detail","description":"Redirect to the original article source.","operationId":"gossip_detail_gossip__gossip_id__get","parameters":[{"name":"gossip_id","in":"path","required":true,"schema":{"type":"integer","title":"Gossip Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/search":{"get":{"tags":["api"],"summary":"Search Content","operationId":"search_content_api_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Q"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library":{"get":{"tags":["api"],"summary":"Get Library","operationId":"get_library_api_library_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LibraryItemResponse"},"title":"Response Get Library Api Library Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["api"],"summary":"Add To Library Api","operationId":"add_to_library_api_api_library_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddToLibraryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{item_id}":{"delete":{"tags":["api"],"summary":"Remove From Library Api","operationId":"remove_from_library_api_api_library__item_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{item_id}/status":{"put":{"tags":["api"],"summary":"Update Item Status","operationId":"update_item_status_api_library__item_id__status_put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{item_id}/progress":{"put":{"tags":["api"],"summary":"Update Item Progress","operationId":"update_item_progress_api_library__item_id__progress_put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{item_id}/rating":{"put":{"tags":["api"],"summary":"Update Item Rating","operationId":"update_item_rating_api_library__item_id__rating_put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/gossip/latest":{"get":{"tags":["api"],"summary":"Get Latest Gossip","operationId":"get_latest_gossip_api_gossip_latest_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"default":10,"title":"Limit"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GossipResponse"},"title":"Response Get Latest Gossip Api Gossip Latest Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rankings":{"get":{"tags":["api"],"summary":"Get Rankings","operationId":"get_rankings_api_rankings_get","parameters":[{"name":"content_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RankedItemResponse"},"title":"Response Get Rankings Api Rankings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/content/{content_id}/similar":{"get":{"tags":["api"],"summary":"Get Similar Content","description":"Return the Content most similar to a given Content (SCE-33 demo endpoint).\n\nInternal verification surface for the embeddings + pgvector foundation. Uses the\ntarget row's PRECOMPUTED embedding, so it makes NO embedding API call and is safe\nin the request path. Returns an empty list when the target has no embedding yet\n(the Scheduled Job has not processed it). This is NOT the personalized\nrecommendations endpoint — see SCE-34.","operationId":"get_similar_content_api_content__content_id__similar_get","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"integer","title":"Content Id"}},{"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/SimilarContentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications":{"get":{"tags":["notifications"],"summary":"List Notifications","operationId":"list_notifications_api_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}}}}},"/api/notifications/unread-count":{"get":{"tags":["notifications"],"summary":"Unread Count","operationId":"unread_count_api_notifications_unread_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnreadCountResponse"}}}}}}},"/api/notifications/{notification_id}/read":{"post":{"tags":["notifications"],"summary":"Mark Read","operationId":"mark_read_api_notifications__notification_id__read_post","parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"integer","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/read-all":{"post":{"tags":["notifications"],"summary":"Mark All Read","operationId":"mark_all_read_api_notifications_read_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkAllReadResponse"}}}}}}},"/api/notifications/stream":{"get":{"tags":["notifications"],"summary":"Notification Stream","description":"SSE endpoint that pushes new notification events to the connected client.\n\nThe stream polls the database every few seconds for new unread\nnotifications created after the connection was established.","operationId":"notification_stream_api_notifications_stream_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reminders":{"get":{"tags":["reminders"],"summary":"Reminders Page","operationId":"reminders_page_reminders_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reminders/create":{"post":{"tags":["reminders"],"summary":"Create Reminder","operationId":"create_reminder_reminders_create_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_reminder_reminders_create_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reminders/{reminder_id}/toggle":{"post":{"tags":["reminders"],"summary":"Toggle Reminder","operationId":"toggle_reminder_reminders__reminder_id__toggle_post","parameters":[{"name":"reminder_id","in":"path","required":true,"schema":{"type":"integer","title":"Reminder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reminders/{reminder_id}/delete":{"post":{"tags":["reminders"],"summary":"Delete Reminder","operationId":"delete_reminder_reminders__reminder_id__delete_post","parameters":[{"name":"reminder_id","in":"path","required":true,"schema":{"type":"integer","title":"Reminder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reminders/api/calendar":{"get":{"tags":["reminders"],"summary":"Calendar Data","operationId":"calendar_data_reminders_api_calendar_get","parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search":{"get":{"tags":["content"],"summary":"Search Page","description":"The full catalog, reached only by searching, a genre shortcut, or a \"See all\" link.\n\nThere is no standalone browse page for movies or TV shows — this page covers both.","operationId":"search_page_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Type"}},{"name":"genre","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Genre"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"relevance","title":"Sort"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/add-to-library":{"post":{"tags":["content"],"summary":"Add To Library","operationId":"add_to_library_add_to_library_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_add_to_library_add_to_library_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{content_id}":{"get":{"tags":["content"],"summary":"Content Detail","operationId":"content_detail__content_id__get","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"integer","title":"Content Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AddToLibraryRequest":{"properties":{"content_id":{"type":"integer","title":"Content Id"},"status":{"type":"string","title":"Status","default":"planned"}},"type":"object","required":["content_id"],"title":"AddToLibraryRequest"},"Body_add_to_library_add_to_library_post":{"properties":{"content_id":{"type":"integer","title":"Content Id"},"status":{"type":"string","title":"Status","default":"planned"}},"type":"object","required":["content_id"],"title":"Body_add_to_library_add_to_library_post"},"Body_add_to_library_library_add_post":{"properties":{"content_id":{"type":"integer","title":"Content Id"},"status":{"type":"string","title":"Status","default":"planned"}},"type":"object","required":["content_id"],"title":"Body_add_to_library_library_add_post"},"Body_create_reminder_reminders_create_post":{"properties":{"date":{"type":"string","title":"Date"},"reminder_type":{"type":"string","title":"Reminder Type","default":"premiere"},"time":{"type":"string","title":"Time","default":"20:00"},"message":{"type":"string","title":"Message","default":""},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quality"},"content_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Id"}},"type":"object","required":["date"],"title":"Body_create_reminder_reminders_create_post"},"Body_login_login_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"Body_login_login_post"},"Body_rate_item_library_item__item_id__rate_post":{"properties":{"rating":{"type":"integer","title":"Rating"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["rating"],"title":"Body_rate_item_library_item__item_id__rate_post"},"Body_register_register_post":{"properties":{"username":{"type":"string","title":"Username"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"search_api":{"type":"string","title":"Search Api","default":"tavily"}},"type":"object","required":["username","email","password"],"title":"Body_register_register_post"},"Body_update_library_item_library_item__item_id__update_post":{"properties":{"status":{"type":"string","title":"Status"},"weekly_release":{"type":"boolean","title":"Weekly Release","default":false}},"type":"object","required":["status"],"title":"Body_update_library_item_library_item__item_id__update_post"},"Body_update_progress_library_item__item_id__progress_post":{"properties":{"progress":{"type":"integer","title":"Progress"},"season":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season"},"episode":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode"}},"type":"object","required":["progress"],"title":"Body_update_progress_library_item__item_id__progress_post"},"Body_update_settings_settings_post":{"properties":{"search_api":{"type":"string","title":"Search Api","default":"tavily"},"discovery_frequency":{"type":"integer","title":"Discovery Frequency","default":30},"user_timezone":{"type":"string","title":"User Timezone","default":"UTC"}},"type":"object","title":"Body_update_settings_settings_post"},"CalendarResponse":{"properties":{"year":{"type":"integer","title":"Year"},"month":{"type":"integer","title":"Month"},"dates":{"additionalProperties":{"type":"integer"},"type":"object","title":"Dates"}},"type":"object","required":["year","month","dates"],"title":"CalendarResponse"},"ContactResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"delivered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Delivered"},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"}},"type":"object","required":["ok"],"title":"ContactResponse"},"ContactSubmissionIn":{"properties":{"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"subject":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Subject"},"message":{"type":"string","maxLength":2000,"minLength":10,"title":"Message"},"website":{"type":"string","maxLength":256,"title":"Website","default":""}},"type":"object","required":["name","email","message"],"title":"ContactSubmissionIn","description":"Inbound JSON body for POST /contact."},"ContentResponse":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"content_type":{"type":"string","title":"Content Type"},"poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Url"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"year":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Year"}},"type":"object","required":["id","title","content_type","poster_url","rating","year"],"title":"ContentResponse"},"GossipResponse":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"preview_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Text"},"source_name":{"type":"string","title":"Source Name"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"tag":{"type":"string","title":"Tag"},"time_ago":{"type":"string","title":"Time Ago"},"scraped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scraped At"}},"type":"object","required":["id","title","preview_text","source_name","source_url","image_url","tag","time_ago","scraped_at"],"title":"GossipResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status"},"version":{"type":"string","title":"Version"},"clerk_configured":{"type":"boolean","title":"Clerk Configured"}},"type":"object","required":["status","version","clerk_configured"],"title":"HealthResponse"},"LibraryItemResponse":{"properties":{"id":{"type":"integer","title":"Id"},"content":{"$ref":"#/components/schemas/ContentResponse"},"status":{"type":"string","title":"Status"},"progress":{"type":"integer","title":"Progress"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"}},"type":"object","required":["id","content","status","progress","rating"],"title":"LibraryItemResponse"},"LibraryMutationResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"item_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"progress":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"}},"type":"object","required":["success"],"title":"LibraryMutationResponse"},"MarkAllReadResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["success","count"],"title":"MarkAllReadResponse"},"NotificationItem":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"is_read":{"type":"boolean","title":"Is Read"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","title","body","link","is_read","created_at"],"title":"NotificationItem"},"NotificationListResponse":{"properties":{"notifications":{"items":{"$ref":"#/components/schemas/NotificationItem"},"type":"array","title":"Notifications"},"unread_count":{"type":"integer","title":"Unread Count"}},"type":"object","required":["notifications","unread_count"],"title":"NotificationListResponse"},"ProgressUpdate":{"properties":{"progress":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Progress"},"season":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season"},"episode":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode"}},"type":"object","required":["progress"],"title":"ProgressUpdate"},"RankedItemResponse":{"properties":{"content":{"$ref":"#/components/schemas/ContentResponse"},"rank_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rank Score"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"}},"type":"object","required":["content","rank_score","reasoning"],"title":"RankedItemResponse"},"RatingUpdate":{"properties":{"rating":{"type":"integer","title":"Rating"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["rating"],"title":"RatingUpdate"},"SearchResponse":{"properties":{"query":{"type":"string","title":"Query"},"results":{"items":{"$ref":"#/components/schemas/ContentResponse"},"type":"array","title":"Results"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["query","results","count"],"title":"SearchResponse"},"SimilarContentItem":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"content_type":{"type":"string","title":"Content Type"},"poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Url"}},"type":"object","required":["id","title","content_type"],"title":"SimilarContentItem","description":"One nearest-neighbour result in the SCE-33 similarity demo response."},"SimilarContentResponse":{"properties":{"source_id":{"type":"integer","title":"Source Id"},"results":{"items":{"$ref":"#/components/schemas/SimilarContentItem"},"type":"array","title":"Results"}},"type":"object","required":["source_id","results"],"title":"SimilarContentResponse","description":"Response body for the internal SCE-33 similarity demo endpoint.\n\nLists catalog Content most semantically similar to a given Content, using the\nprecomputed pgvector embeddings built in SCE-33. This is an internal demo /\nverification surface for the embeddings foundation — it is NOT the user-facing\npersonalized recommendations feature, which is built in SCE-34."},"StatusUpdate":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"StatusUpdate"},"SuccessResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"SuccessResponse"},"UnreadCountResponse":{"properties":{"unread_count":{"type":"integer","title":"Unread Count"}},"type":"object","required":["unread_count"],"title":"UnreadCountResponse"},"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"}}}}