{"openapi":"3.1.0","info":{"title":"Minimal Music Backend","version":"0.1.0"},"paths":{"/admin/login":{"get":{"tags":["admin"],"summary":"Admin Login Page","operationId":"admin_login_page_admin_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/prompts":{"get":{"tags":["admin"],"summary":"Admin Prompts Portal","operationId":"admin_prompts_portal_admin_prompts_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/auth/email-change/request-otp":{"post":{"tags":["auth"],"summary":"Initiate Email Change","operationId":"initiate_email_change_api_auth_email_change_request_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEmailInitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEmailInitResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/delete-account":{"delete":{"tags":["auth"],"summary":"Delete Account","operationId":"delete_account_api_auth_delete_account_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/test-appcheck":{"get":{"tags":["auth"],"summary":"Test App Check","description":"Simple endpoint to verify App Check. \nBecause AppCheckMiddleware is global, this is protected automatically.","operationId":"test_app_check_api_auth_test_appcheck_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/email-change/confirm":{"post":{"tags":["auth"],"summary":"Verify And Change Email","operationId":"verify_and_change_email_api_auth_email_change_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/oauth-login":{"post":{"tags":["auth"],"summary":"Oauth Login","operationId":"oauth_login_api_auth_oauth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthLoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/password-reset/request-otp":{"post":{"tags":["auth"],"summary":"Forgot Password","operationId":"forgot_password_api_auth_password_reset_request_otp_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/password-reset/verify-otp":{"post":{"tags":["auth"],"summary":"Verify Reset Otp","operationId":"verify_reset_otp_api_auth_password_reset_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/password-reset/confirm":{"post":{"tags":["auth"],"summary":"Reset Password","operationId":"reset_password_api_auth_password_reset_confirm_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/change-password":{"post":{"tags":["auth"],"summary":"Change Password","operationId":"change_password_api_auth_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/upload-profile-image":{"post":{"tags":["users"],"summary":"Upload Profile Image","operationId":"upload_profile_image_api_users_upload_profile_image_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_profile_image_api_users_upload_profile_image_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/me":{"get":{"tags":["users"],"summary":"Get Current User Profile","operationId":"get_current_user_profile_api_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}}}},"/api/users/{user_id}":{"get":{"tags":["users"],"summary":"Get User Profile","operationId":"get_user_profile_api_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/check-username":{"post":{"tags":["users"],"summary":"Check Username Availability","operationId":"check_username_availability_api_users_check_username_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckUsernameResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/set-username":{"post":{"tags":["users"],"summary":"Set Username","operationId":"set_username_api_users_set_username_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetUsernameRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsernameSetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/update-profile":{"post":{"tags":["users"],"summary":"Update User Profile","operationId":"update_user_profile_api_users_update_profile_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/me/preferences":{"get":{"tags":["users"],"summary":"Get My Preferences","operationId":"get_my_preferences_api_users_me_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferences"}}}}}},"put":{"tags":["users"],"summary":"Update My Preferences","operationId":"update_my_preferences_api_users_me_preferences_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferences"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/me/taste":{"get":{"tags":["users"],"summary":"Get My Taste","operationId":"get_my_taste_api_users_me_taste_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_TasteProfile_"}}}}}},"put":{"tags":["users"],"summary":"Set My Taste Enabled","operationId":"set_my_taste_enabled_api_users_me_taste_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TasteEnabledUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_TasteProfile_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Reset My Taste","operationId":"reset_my_taste_api_users_me_taste_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_TasteProfile_"}}}}}}},"/api/users/me/taste/tags":{"post":{"tags":["users"],"summary":"Add My Taste Tags","operationId":"add_my_taste_tags_api_users_me_taste_tags_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TasteTagsAddRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_TasteProfile_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Remove My Taste Tag","operationId":"remove_my_taste_tag_api_users_me_taste_tags_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TasteTagRemoveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_TasteProfile_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/prompts":{"get":{"tags":["prompts"],"summary":"List Prompts","operationId":"list_prompts_api_prompts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["prompts"],"summary":"Create Prompt","operationId":"create_prompt_api_prompts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/prompts/{prompt_id}":{"get":{"tags":["prompts"],"summary":"Get Prompt","operationId":"get_prompt_api_prompts__prompt_id__get","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["prompts"],"summary":"Update Prompt","operationId":"update_prompt_api_prompts__prompt_id__put","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["prompts"],"summary":"Delete Prompt","operationId":"delete_prompt_api_prompts__prompt_id__delete","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library":{"post":{"tags":["library"],"summary":"Save Library Item","operationId":"save_library_item_api_library_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["library"],"summary":"Get Library Items","operationId":"get_library_items_api_library_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","default":"created_at","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","default":"desc","title":"Sort Order"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"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/LibraryTracksListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/upload-audio":{"post":{"tags":["library"],"summary":"Upload Library Audio","operationId":"upload_library_audio_api_library_upload_audio_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_library_audio_api_library_upload_audio_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryAudioUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{music_id}/rename":{"patch":{"tags":["library"],"summary":"Rename Library Item","operationId":"rename_library_item_api_library__music_id__rename_patch","parameters":[{"name":"music_id","in":"path","required":true,"schema":{"type":"string","title":"Music Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{music_id}/visibility":{"patch":{"tags":["library"],"summary":"Update Library Visibility","operationId":"update_library_visibility_api_library__music_id__visibility_patch","parameters":[{"name":"music_id","in":"path","required":true,"schema":{"type":"string","title":"Music Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryVisibilityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{music_id}":{"delete":{"tags":["library"],"summary":"Delete Library Item","operationId":"delete_library_item_api_library__music_id__delete","parameters":[{"name":"music_id","in":"path","required":true,"schema":{"type":"string","title":"Music Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai-models/types":{"get":{"tags":["ai-models"],"summary":"Get Model Types","operationId":"get_model_types_api_ai_models_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_List_str__"}}}}}}},"/api/ai-models/":{"get":{"tags":["ai-models"],"summary":"List Models","operationId":"list_models_api_ai_models__get","parameters":[{"name":"model_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/AIModelType"},{"type":"null"}],"description":"Filter by model type","title":"Model Type"},"description":"Filter by model type"},{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only return active models","default":false,"title":"Active Only"},"description":"Only return active models"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_List_AIModelRecord__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["ai-models"],"summary":"Create Model","operationId":"create_model_api_ai_models__post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIModelCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_AIModelRecord_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai-models/{model_id}":{"get":{"tags":["ai-models"],"summary":"Get Model","operationId":"get_model_api_ai_models__model_id__get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_AIModelRecord_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["ai-models"],"summary":"Update Model","operationId":"update_model_api_ai_models__model_id__patch","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIModelUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_AIModelRecord_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ai-models"],"summary":"Delete Model","operationId":"delete_model_api_ai_models__model_id__delete","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_bool_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai-models/{model_id}/set-default":{"post":{"tags":["ai-models"],"summary":"Set Default Model","operationId":"set_default_model_api_ai_models__model_id__set_default_post","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_AIModelRecord_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/genres":{"get":{"tags":["explore"],"summary":"Get Explore Genres Api","operationId":"get_explore_genres_api_api_explore_genres_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_ExploreGenresResponse_"}}}}}}},"/api/explore/tracks":{"get":{"tags":["explore"],"summary":"Get Explore Tracks Api","operationId":"get_explore_tracks_api_api_explore_tracks_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Cursor for pagination (created_at)","title":"Cursor"},"description":"Cursor for pagination (created_at)"},{"name":"genre_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by genre_id","title":"Genre Id"},"description":"Filter by genre_id"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_ExploreTracksResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explore/recent":{"get":{"tags":["explore"],"summary":"Get Explore Recent Tracks","operationId":"get_explore_recent_tracks_api_explore_recent_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":5,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Cursor for pagination (created_at)","title":"Cursor"},"description":"Cursor for pagination (created_at)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_RecentTracksListResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/analysis-callback":{"post":{"tags":["Webhooks"],"summary":"Analysis Callback","operationId":"analysis_callback_api_webhooks_analysis_callback_post","parameters":[{"name":"track_id","in":"query","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"job_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},{"name":"chat_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"}},{"name":"message_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"}},{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalysisMusicCallBackPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/generation-callback":{"post":{"tags":["Webhooks"],"summary":"Generation Callback","operationId":"generation_callback_api_webhooks_generation_callback_post","parameters":[{"name":"track_id","in":"query","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"chat_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"}},{"name":"message_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"}},{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedMusicPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/stemming-callback":{"post":{"tags":["Webhooks"],"summary":"Stemming Callback","operationId":"stemming_callback_api_webhooks_stemming_callback_post","parameters":[{"name":"track_id","in":"query","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"job_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},{"name":"chat_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"}},{"name":"message_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"}},{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StemmingMusicCallBackPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/music-genre-suggest-callback":{"post":{"tags":["Webhooks"],"summary":"Music Genre Suggest Callback","operationId":"music_genre_suggest_callback_api_webhooks_music_genre_suggest_callback_post","parameters":[{"name":"track_id","in":"query","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"chat_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"}},{"name":"message_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"}},{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedMusicPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chats":{"get":{"tags":["Chats"],"summary":"Get User Chats","operationId":"get_user_chats_api_chats_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_List_Dict_str__Any___"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chats/{chat_id}":{"get":{"tags":["Chats"],"summary":"Get Chat Details","operationId":"get_chat_details_api_chats__chat_id__get","parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_Dict_str__Any__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Chats"],"summary":"Delete Chat Endpoint","operationId":"delete_chat_endpoint_api_chats__chat_id__delete","parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_Dict_str__str__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Chats"],"summary":"Rename Chat Endpoint","operationId":"rename_chat_endpoint_api_chats__chat_id__patch","parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_Dict_str__Any__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chats/{chat_id}/messages":{"post":{"tags":["Chats"],"summary":"Get Chat Messages Endpoint","operationId":"get_chat_messages_endpoint_api_chats__chat_id__messages_post","parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_Dict_str__Any__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/albums":{"get":{"tags":["Albums"],"summary":"Get Albums","operationId":"get_albums_api_albums_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_List_AlbumResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/albums/{album_id}":{"get":{"tags":["Albums"],"summary":"Get Album Details","operationId":"get_album_details_api_albums__album_id__get","parameters":[{"name":"album_id","in":"path","required":true,"schema":{"type":"string","title":"Album Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_AlbumDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Albums"],"summary":"Update Album","operationId":"update_album_api_albums__album_id__patch","parameters":[{"name":"album_id","in":"path","required":true,"schema":{"type":"string","title":"Album Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlbumEditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_AlbumResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/albums/{album_id}/playlist":{"post":{"tags":["Albums"],"summary":"Add Album To Playlist","operationId":"add_album_to_playlist_api_albums__album_id__playlist_post","parameters":[{"name":"album_id","in":"path","required":true,"schema":{"type":"string","title":"Album Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlbumPlaylistAddRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_Dict_str__str__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/albums/{album_id}/favourites":{"post":{"tags":["Albums"],"summary":"Add Album To Favourites","operationId":"add_album_to_favourites_api_albums__album_id__favourites_post","parameters":[{"name":"album_id","in":"path","required":true,"schema":{"type":"string","title":"Album Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_Dict_str__str__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/albums/{album_id}/download":{"get":{"tags":["Albums"],"summary":"Download Album","operationId":"download_album_api_albums__album_id__download_get","parameters":[{"name":"album_id","in":"path","required":true,"schema":{"type":"string","title":"Album Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/playlists":{"get":{"tags":["playlists"],"summary":"Get Playlists","operationId":"get_playlists_api_playlists_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_List_PlaylistResponse__"}}}}}},"post":{"tags":["playlists"],"summary":"Create Playlist","operationId":"create_playlist_api_playlists_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_PlaylistResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/playlists/{playlist_id}":{"get":{"tags":["playlists"],"summary":"Get Playlist","operationId":"get_playlist_api_playlists__playlist_id__get","parameters":[{"name":"playlist_id","in":"path","required":true,"schema":{"type":"string","title":"Playlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_PlaylistDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["playlists"],"summary":"Update Playlist","operationId":"update_playlist_api_playlists__playlist_id__put","parameters":[{"name":"playlist_id","in":"path","required":true,"schema":{"type":"string","title":"Playlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_PlaylistResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["playlists"],"summary":"Delete Playlist","operationId":"delete_playlist_api_playlists__playlist_id__delete","parameters":[{"name":"playlist_id","in":"path","required":true,"schema":{"type":"string","title":"Playlist Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_NoneType_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/playlists/{playlist_id}/tracks":{"patch":{"tags":["playlists"],"summary":"Add Remove Tracks","operationId":"add_remove_tracks_api_playlists__playlist_id__tracks_patch","parameters":[{"name":"playlist_id","in":"path","required":true,"schema":{"type":"string","title":"Playlist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistAddRemoveTracksRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_PlaylistResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/sessions/":{"get":{"tags":["sessions"],"summary":"List Sessions","operationId":"list_sessions_api_auth_sessions__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionListResponse"}}}}}}},"/api/auth/sessions/{session_id}":{"delete":{"tags":["sessions"],"summary":"Revoke Specific Session","operationId":"revoke_specific_session_api_auth_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRevokeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements":{"post":{"tags":["arrangements"],"summary":"Create Arrangement","operationId":"create_arrangement_api_arrangements_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArrangementCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["arrangements"],"summary":"List Arrangements","operationId":"list_arrangements_api_arrangements_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"chat_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chat Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}":{"get":{"tags":["arrangements"],"summary":"Get Arrangement","operationId":"get_arrangement_api_arrangements__arrangement_id__get","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["arrangements"],"summary":"Patch Arrangement","operationId":"patch_arrangement_api_arrangements__arrangement_id__patch","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArrangementPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["arrangements"],"summary":"Delete Arrangement","operationId":"delete_arrangement_api_arrangements__arrangement_id__delete","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/resolved":{"get":{"tags":["arrangements"],"summary":"Get Resolved","operationId":"get_resolved_api_arrangements__arrangement_id__resolved_get","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/compiled":{"get":{"tags":["arrangements"],"summary":"Get Compiled","description":"Debug endpoint: show exactly what we'd send the model. structural-studio-backend.md §7.","operationId":"get_compiled_api_arrangements__arrangement_id__compiled_get","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/staleness":{"get":{"tags":["arrangements"],"summary":"Get Staleness","description":"Coarse staleness: compares current arrangement version against each render's pinned version.\n\nNOTE: This is a coarse check. It reports which renders are stale (arrangement changed\nsince they were produced), but cannot identify which specific measures are dirty because\nold version snapshots are not stored. Measure-level dirtiness would require version\nhistory in Firestore, which is deferred.\n\nSpec: structural-studio-backend.md §6.3","operationId":"get_staleness_api_arrangements__arrangement_id__staleness_get","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/render":{"post":{"tags":["arrangements"],"summary":"Trigger Render","description":"Queue a full arrangement render. structural-studio-backend.md §6.1.","operationId":"trigger_render_api_arrangements__arrangement_id__render_post","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/extract":{"post":{"tags":["arrangements"],"summary":"Extract Arrangement","description":"Build an arrangement from a spreadsheet grid or a prompt through the chat plugin's /arrange-multitrack.","operationId":"extract_arrangement_api_arrangements_extract_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtractArrangementRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/render-range":{"post":{"tags":["arrangements"],"summary":"Trigger Render Range","description":"Queue a targeted re-render of a measure range. structural-studio-backend.md §6.2.","operationId":"trigger_render_range_api_arrangements__arrangement_id__render_range_post","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderRangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/renders/{track_id}/stems":{"post":{"tags":["arrangements"],"summary":"Trigger Render Stems","operationId":"trigger_render_stems_api_arrangements__arrangement_id__renders__track_id__stems_post","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}},{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/sections/reorder":{"post":{"tags":["arrangements"],"summary":"Reorder Sections","description":"Reorder sections and remap cell keys server-side. structural-studio-frontend.md §4.3.","operationId":"reorder_sections_api_arrangements__arrangement_id__sections_reorder_post","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SectionReorderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/sections/{section_id}/resize":{"post":{"tags":["arrangements"],"summary":"Resize Section","operationId":"resize_section_api_arrangements__arrangement_id__sections__section_id__resize_post","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}},{"name":"section_id","in":"path","required":true,"schema":{"type":"string","title":"Section Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SectionResizeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/arrangements/{arrangement_id}/sections/{section_id}":{"delete":{"tags":["arrangements"],"summary":"Delete Section","operationId":"delete_section_api_arrangements__arrangement_id__sections__section_id__delete","parameters":[{"name":"arrangement_id","in":"path","required":true,"schema":{"type":"string","title":"Arrangement Id"}},{"name":"section_id","in":"path","required":true,"schema":{"type":"string","title":"Section Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tracks/{track_id}/signed-url":{"get":{"summary":"Get Signed Url For Track","operationId":"get_signed_url_for_track_api_tracks__track_id__signed_url_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/music_download/config":{"get":{"summary":"Get Music Download Config","operationId":"get_music_download_config_api_music_download_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tracks/{track_id}/download":{"get":{"summary":"Download Track","operationId":"download_track_api_tracks__track_id__download_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"download_format","in":"query","required":false,"schema":{"type":"string","default":"wav","title":"Download Format"}},{"name":"bitrate","in":"query","required":false,"schema":{"type":"string","default":"192k","title":"Bitrate"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tracks/{track_id}/stem-urls":{"get":{"summary":"Get All Urls For Track","operationId":"get_all_urls_for_track_api_tracks__track_id__stem_urls_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugin/chat":{"get":{"summary":"Plugin Chat Proxy","operationId":"plugin_chat_proxy_api_plugin_chat_get","parameters":[{"name":"message","in":"query","required":false,"schema":{"type":"string","default":"what is music explain in 500 complete words?","title":"Message"}},{"name":"user_id","in":"query","required":false,"schema":{"type":"string","default":"1234","title":"User Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tracks/{track_id}":{"get":{"summary":"Get Track Details","operationId":"get_track_details_api_tracks__track_id__get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tracks/{track_id}/stream-resource":{"get":{"summary":"Stream Resource","operationId":"stream_resource_api_tracks__track_id__stream_resource_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}},{"name":"user_id","in":"query","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Stream Resource","operationId":"stream_resource_api_tracks__track_id__stream_resource_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}},{"name":"user_id","in":"query","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tracks/{track_id}/stream-playlist":{"get":{"summary":"Stream Playlist","operationId":"stream_playlist_api_tracks__track_id__stream_playlist_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}},{"name":"player_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Player Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"summary":"Login","operationId":"login_api_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/StandardResponse_LoginResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/signup":{"post":{"summary":"Signup","operationId":"signup_api_auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_SignupResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/waitlist":{"post":{"summary":"Create Waitlist Entry","operationId":"create_waitlist_entry_api_auth_waitlist_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_InviteCreateResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/invite":{"post":{"summary":"Create Signup Invite","operationId":"create_signup_invite_api_auth_invite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_InviteCreateResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"summary":"Logout","operationId":"logout_api_auth_logout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_LogoutResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/send-verification-email":{"post":{"summary":"Send Verification Email","operationId":"send_verification_email_api_auth_send_verification_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailVerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_EmailVerificationResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/verify-email-otp":{"post":{"summary":"Verify Email Otp","operationId":"verify_email_otp_api_auth_verify_email_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailOTPRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_VerifyEmailOTPResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/verify-session":{"get":{"summary":"Verify Session","operationId":"verify_session_api_auth_verify_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_SessionVerifyResponse_"}}}}}}},"/api/music-genre-suggest/submit":{"post":{"summary":"Submit Music Genre Suggest Api","operationId":"submit_music_genre_suggest_api_api_music_genre_suggest_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicGenreSuggestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardResponse_MusicGenreSuggestSubmitData_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/music-genre-suggest/top-song":{"post":{"summary":"Get Top Song","operationId":"get_top_song_api_music_genre_suggest_top_song_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagSearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/music/tags":{"get":{"summary":"Get Available Tags","operationId":"get_available_tags_api_music_tags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagsResponse"}}}}}}},"/api/music-genre-suggest/{track_id}":{"get":{"summary":"Get Music Genre Song","operationId":"get_music_genre_song_api_music_genre_suggest__track_id__get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tracks/{track_id}/signed-get-url":{"get":{"summary":"Get Track Signed Url Get","operationId":"get_track_signed_url_get_api_tracks__track_id__signed_get_url_get","parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/remix-style-files":{"get":{"summary":"Get Remix Style Files","operationId":"get_remix_style_files_api_remix_style_files_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AIModelCreate":{"properties":{"model_id":{"type":"string","title":"Model Id","description":"Unique model identifier"},"model_type":{"$ref":"#/components/schemas/AIModelType","description":"Category of the model"},"model_name":{"type":"string","title":"Model Name","description":"Display name of the model"},"model_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Description","description":"Description of the model"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the model is available for use","default":true},"is_default":{"type":"boolean","title":"Is Default","description":"Whether this is the default model for its type","default":false}},"type":"object","required":["model_id","model_type","model_name"],"title":"AIModelCreate"},"AIModelRecord":{"properties":{"model_id":{"type":"string","title":"Model Id","description":"Unique model identifier"},"model_type":{"$ref":"#/components/schemas/AIModelType","description":"Category of the model"},"model_name":{"type":"string","title":"Model Name","description":"Display name of the model"},"model_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Description","description":"Description of the model"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the model is available for use","default":true},"is_default":{"type":"boolean","title":"Is Default","description":"Whether this is the default model for its type","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["model_id","model_type","model_name","created_at","updated_at"],"title":"AIModelRecord"},"AIModelType":{"type":"string","enum":["musicgen","stemming","editing","analysis","extend","remix","generate_similar","arrangement"],"title":"AIModelType"},"AIModelUpdate":{"properties":{"model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Name"},"model_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Description"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"type":"object","title":"AIModelUpdate"},"AlbumDetailResponse":{"properties":{"album_id":{"type":"string","title":"Album Id"},"album_name":{"type":"string","title":"Album Name"},"album_art":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Album Art"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"tracks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tracks"}},"type":"object","required":["album_id","album_name","created_at","updated_at","tracks"],"title":"AlbumDetailResponse"},"AlbumEditRequest":{"properties":{"album_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Album Name"},"album_art":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Album Art","description":"URL to the album art"}},"type":"object","title":"AlbumEditRequest"},"AlbumPlaylistAddRequest":{"properties":{"playlist_id":{"type":"string","title":"Playlist Id","description":"The ID of the playlist to add tracks to"}},"type":"object","required":["playlist_id"],"title":"AlbumPlaylistAddRequest"},"AlbumResponse":{"properties":{"album_id":{"type":"string","title":"Album Id"},"album_name":{"type":"string","title":"Album Name"},"album_art":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Album Art"},"track_count":{"type":"integer","title":"Track Count"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["album_id","album_name","track_count","created_at","updated_at"],"title":"AlbumResponse"},"AnalysisMusicCallBackPayload":{"properties":{"track_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"hmac_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hmac Secret"},"analysis_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Analysis Text"}},"type":"object","title":"AnalysisMusicCallBackPayload"},"ArrangementCreate":{"properties":{"title":{"type":"string","maxLength":200,"title":"Title","default":"Untitled Arrangement"},"transport":{"$ref":"#/components/schemas/Transport"},"sections":{"items":{"$ref":"#/components/schemas/Section"},"type":"array","maxItems":512,"title":"Sections"},"layers":{"items":{"$ref":"#/components/schemas/Layer"},"type":"array","maxItems":32,"title":"Layers"},"chat_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chat Id"}},"type":"object","required":["transport"],"title":"ArrangementCreate"},"ArrangementPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"transport":{"anyOf":[{"$ref":"#/components/schemas/Transport"},{"type":"null"}]},"sections":{"anyOf":[{"items":{"$ref":"#/components/schemas/Section"},"type":"array","maxItems":512},{"type":"null"}],"title":"Sections"},"layers":{"anyOf":[{"items":{"$ref":"#/components/schemas/Layer"},"type":"array","maxItems":32},{"type":"null"}],"title":"Layers"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["version"],"title":"ArrangementPatch"},"Body_upload_library_audio_api_library_upload_audio_post":{"properties":{"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"}},"type":"object","title":"Body_upload_library_audio_api_library_upload_audio_post"},"Body_upload_profile_image_api_users_upload_profile_image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_profile_image_api_users_upload_profile_image_post"},"Cell":{"properties":{"track":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"effects":{"items":{"type":"string","maxLength":64},"type":"array","maxItems":16,"title":"Effects"},"continuation":{"type":"boolean","title":"Continuation","default":false}},"type":"object","title":"Cell"},"ChangeEmailInitRequest":{"properties":{"new_email":{"type":"string","title":"New Email"}},"type":"object","required":["new_email"],"title":"ChangeEmailInitRequest"},"ChangeEmailInitResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"ChangeEmailInitResponse"},"ChangeEmailRequest":{"properties":{"new_email":{"type":"string","title":"New Email"},"otp":{"type":"string","title":"Otp"}},"type":"object","required":["new_email","otp"],"title":"ChangeEmailRequest"},"ChangeEmailResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"ChangeEmailResponse"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"ChangePasswordRequest"},"ChangePasswordResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"ChangePasswordResponse"},"ChatRenameRequest":{"properties":{"chat_name":{"type":"string","maxLength":255,"minLength":1,"title":"Chat Name","description":"New name for the chat"}},"type":"object","required":["chat_name"],"title":"ChatRenameRequest"},"CheckUsernameRequest":{"properties":{"username":{"type":"string","maxLength":30,"minLength":3,"title":"Username"}},"type":"object","required":["username"],"title":"CheckUsernameRequest"},"CheckUsernameResponse":{"properties":{"available":{"type":"boolean","title":"Available"}},"type":"object","required":["available"],"title":"CheckUsernameResponse"},"DeleteAccountRequest":{"properties":{"current_password":{"type":"string","title":"Current Password"}},"type":"object","required":["current_password"],"title":"DeleteAccountRequest"},"EmailVerificationRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email address"}},"type":"object","required":["email"],"title":"EmailVerificationRequest"},"EmailVerificationResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether verification email was sent"},"message":{"type":"string","title":"Message","description":"Response message"}},"type":"object","required":["success","message"],"title":"EmailVerificationResponse"},"ExploreGenreItem":{"properties":{"id":{"type":"string","title":"Id"},"genre_name":{"type":"string","title":"Genre Name"},"is_active":{"type":"boolean","title":"Is Active"},"is_deleted":{"type":"boolean","title":"Is Deleted","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"}},"type":"object","required":["id","genre_name","is_active","created_at"],"title":"ExploreGenreItem"},"ExploreGenresResponse":{"properties":{"genres":{"items":{"$ref":"#/components/schemas/ExploreGenreItem"},"type":"array","title":"Genres"}},"type":"object","required":["genres"],"title":"ExploreGenresResponse"},"ExploreTrackItem":{"properties":{"id":{"type":"string","title":"Id"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres"},"is_active":{"type":"boolean","title":"Is Active"},"is_deleted":{"type":"boolean","title":"Is Deleted","default":false},"track_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","is_active","created_at","updated_at"],"title":"ExploreTrackItem"},"ExploreTracksResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ExploreTrackItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"limit":{"type":"integer","title":"Limit"}},"type":"object","required":["items","limit"],"title":"ExploreTracksResponse"},"ExtractArrangementRequest":{"properties":{"chat_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chat Id"},"prompt":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Prompt"},"grid":{"anyOf":[{"$ref":"#/components/schemas/ExtractGridInput"},{"type":"null"}]}},"type":"object","title":"ExtractArrangementRequest"},"ExtractGridInput":{"properties":{"project_name":{"type":"string","maxLength":500,"title":"Project Name","default":"Untitled"},"bpm":{"anyOf":[{"type":"number","maximum":300.0,"minimum":30.0},{"type":"null"}],"title":"Bpm"},"key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Key"},"sections":{"items":{"$ref":"#/components/schemas/GridSection"},"type":"array","maxItems":64,"minItems":1,"title":"Sections"}},"type":"object","required":["sections"],"title":"ExtractGridInput"},"GeneratedMusicPayload":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"status":{"type":"string","title":"Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["status"],"title":"GeneratedMusicPayload"},"GridSection":{"properties":{"section_id":{"type":"string","maxLength":500,"minLength":1,"pattern":"^[a-z0-9_]+$","title":"Section Id"},"section_name":{"type":"string","maxLength":500,"title":"Section Name"},"bars":{"type":"integer","minimum":1.0,"title":"Bars"},"chords_ai":{"items":{"type":"string","maxLength":500},"type":"array","maxItems":512,"title":"Chords Ai"},"chords_override":{"items":{"type":"string","maxLength":500},"type":"array","maxItems":512,"title":"Chords Override"},"stems":{"additionalProperties":{"$ref":"#/components/schemas/GridStemCell"},"type":"object","title":"Stems"}},"type":"object","required":["section_id","section_name","bars"],"title":"GridSection"},"GridStemCell":{"properties":{"prompt":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Prompt"},"instrument":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Instrument"},"continuation":{"type":"boolean","title":"Continuation","default":false},"technique":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Technique"},"lyrics":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Lyrics"},"voice_type":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Voice Type"},"vocal_style":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Vocal Style"},"full_song_toggle":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Full Song Toggle"}},"type":"object","title":"GridStemCell"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InviteCreateRequest":{"properties":{"email":{"type":"string","title":"Email","description":"Email address to invite"}},"type":"object","required":["email"],"title":"InviteCreateRequest"},"InviteCreateResponse":{"properties":{"invite_id":{"type":"string","title":"Invite Id","description":"Invite record ID"},"email":{"type":"string","title":"Email","description":"Invited email"},"status":{"type":"string","title":"Status","description":"Invite status"}},"type":"object","required":["invite_id","email","status"],"title":"InviteCreateResponse"},"Layer":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind","default":"instrument"},"name":{"type":"string","title":"Name"},"slot":{"type":"integer","title":"Slot","default":0},"song_toggle":{"type":"boolean","title":"Song Toggle","default":false},"default_track":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Track"},"default_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Prompt"},"cells":{"additionalProperties":{"$ref":"#/components/schemas/Cell"},"type":"object","title":"Cells"}},"type":"object","required":["id","name"],"title":"Layer"},"LibraryAudioUploadResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"file_url":{"type":"string","title":"File Url"},"gs_uri":{"type":"string","title":"Gs Uri"},"object_name":{"type":"string","title":"Object Name"},"signed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Url"}},"type":"object","required":["success","message","file_url","gs_uri","object_name"],"title":"LibraryAudioUploadResponse"},"LibraryCreateRequest":{"properties":{"track_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Id","description":"Track id for generated item"},"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url","description":"Direct uploaded audio URL"},"title":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Title"},"chat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id","description":"Optional source chat id"},"is_public":{"type":"boolean","title":"Is Public","description":"Whether the track is public","default":false}},"type":"object","title":"LibraryCreateRequest"},"LibraryCreateResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"LibraryCreateResponse"},"LibraryItemResponse":{"properties":{"music_id":{"type":"string","title":"Music Id"},"type":{"type":"string","enum":["generated","uploaded"],"title":"Type"},"track_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Id"},"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"chat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"},"is_public":{"type":"boolean","title":"Is Public","default":false},"created_at":{"type":"string","title":"Created At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["music_id","type","created_at"],"title":"LibraryItemResponse"},"LibraryRenameRequest":{"properties":{"title":{"type":"string","maxLength":255,"minLength":1,"title":"Title"}},"type":"object","required":["title"],"title":"LibraryRenameRequest"},"LibraryTracksItemResponse":{"properties":{"music_id":{"type":"string","title":"Music Id"},"type":{"type":"string","enum":["generated","uploaded"],"title":"Type"},"track_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Id"},"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"chat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"},"is_public":{"type":"boolean","title":"Is Public","default":false},"created_at":{"type":"string","title":"Created At"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["music_id","type","created_at"],"title":"LibraryTracksItemResponse"},"LibraryTracksListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LibraryTracksItemResponse"},"type":"array","title":"Items"},"pagination":{"$ref":"#/components/schemas/LibraryTracksPaginationResponse"}},"type":"object","required":["items","pagination"],"title":"LibraryTracksListResponse"},"LibraryTracksPaginationResponse":{"properties":{"limit":{"type":"integer","title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"count":{"type":"integer","title":"Count"},"total":{"type":"integer","title":"Total"},"sort_by":{"type":"string","enum":["created_at","name"],"title":"Sort By"},"sort_order":{"type":"string","enum":["asc","desc"],"title":"Sort Order"}},"type":"object","required":["limit","count","total","sort_by","sort_order"],"title":"LibraryTracksPaginationResponse"},"LibraryVisibilityRequest":{"properties":{"is_public":{"type":"boolean","title":"Is Public","description":"Set track visibility"}},"type":"object","required":["is_public"],"title":"LibraryVisibilityRequest"},"LoginRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email address"},"password":{"type":"string","title":"Password","description":"User password"},"require_email_verified":{"type":"boolean","title":"Require Email Verified","description":"Require email to be verified","default":false},"device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Name","description":"Name of the device logging in","default":"Unknown Device"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"LoginResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"Firebase user ID"},"email":{"type":"string","title":"Email","description":"User email"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether email is verified"},"session_cookie":{"type":"string","title":"Session Cookie","description":"Session cookie for authenticated requests"},"device_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Session Id","description":"Device session identifier"}},"type":"object","required":["uid","email","email_verified","session_cookie"],"title":"LoginResponse"},"LogoutRequest":{"properties":{"uid":{"type":"string","title":"Uid","description":"Firebase user ID"}},"type":"object","required":["uid"],"title":"LogoutRequest"},"LogoutResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether logout was successful"},"message":{"type":"string","title":"Message","description":"Response message"}},"type":"object","required":["success","message"],"title":"LogoutResponse"},"MusicGenreSuggestRequest":{"properties":{"prompt":{"type":"string","minLength":1,"title":"Prompt"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"duration":{"type":"integer","maximum":600.0,"minimum":1.0,"title":"Duration","default":30},"model":{"type":"string","minLength":1,"title":"Model","default":"musicgen"}},"type":"object","required":["prompt"],"title":"MusicGenreSuggestRequest"},"MusicGenreSuggestSubmitData":{"properties":{"track_id":{"type":"string","title":"Track Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["track_id","status"],"title":"MusicGenreSuggestSubmitData"},"OAuthLoginRequest":{"properties":{"firebase_token":{"type":"string","title":"Firebase Token"},"device_name":{"type":"string","title":"Device Name","default":"Unknown Device"}},"type":"object","required":["firebase_token"],"title":"OAuthLoginRequest"},"OAuthLoginResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"uid":{"type":"string","title":"Uid"},"email":{"type":"string","title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"session_cookie":{"type":"string","title":"Session Cookie"},"device_session_id":{"type":"string","title":"Device Session Id"}},"type":"object","required":["success","message","uid","email","email_verified","session_cookie","device_session_id"],"title":"OAuthLoginResponse"},"PlaylistAddRemoveTracksRequest":{"properties":{"add_tracks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Add Tracks"},"remove_tracks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Remove Tracks"}},"type":"object","title":"PlaylistAddRemoveTracksRequest"},"PlaylistCreateRequest":{"properties":{"playlist_name":{"type":"string","maxLength":100,"minLength":1,"title":"Playlist Name"},"tracks":{"items":{"type":"string"},"type":"array","title":"Tracks","description":"Array of track IDs"}},"type":"object","required":["playlist_name"],"title":"PlaylistCreateRequest"},"PlaylistDetailResponse":{"properties":{"playlist_id":{"type":"string","title":"Playlist Id"},"playlist_name":{"type":"string","title":"Playlist Name"},"tracks":{"items":{"$ref":"#/components/schemas/TrackDetail"},"type":"array","title":"Tracks"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["playlist_id","playlist_name","tracks","created_at","updated_at"],"title":"PlaylistDetailResponse"},"PlaylistResponse":{"properties":{"playlist_name":{"type":"string","maxLength":100,"minLength":1,"title":"Playlist Name"},"tracks":{"items":{"type":"string"},"type":"array","title":"Tracks","description":"Array of track IDs"},"playlist_id":{"type":"string","title":"Playlist Id"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["playlist_name","playlist_id","created_at","updated_at"],"title":"PlaylistResponse"},"PlaylistUpdateRequest":{"properties":{"playlist_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Playlist Name"},"tracks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tracks","description":"Array of track IDs"}},"type":"object","title":"PlaylistUpdateRequest"},"PromptCreate":{"properties":{"task":{"type":"string","title":"Task"},"prompt":{"type":"string","title":"Prompt"},"version":{"type":"string","title":"Version"}},"type":"object","required":["task","prompt","version"],"title":"PromptCreate"},"PromptUpdate":{"properties":{"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"}},"type":"object","title":"PromptUpdate"},"RecentTrackItem":{"properties":{"track_id":{"type":"string","title":"Track Id"},"user_id":{"type":"string","title":"User Id"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url"},"chat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"},"is_public":{"type":"boolean","title":"Is Public","default":false},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["track_id","user_id","created_at"],"title":"RecentTrackItem"},"RecentTracksListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RecentTrackItem"},"type":"array","title":"Items"},"pagination":{"$ref":"#/components/schemas/RecentTracksPagination"}},"type":"object","required":["items","pagination"],"title":"RecentTracksListResponse"},"RecentTracksPagination":{"properties":{"limit":{"type":"integer","title":"Limit"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"}},"type":"object","required":["limit"],"title":"RecentTracksPagination"},"RenderRangeRequest":{"properties":{"start_measure":{"type":"integer","title":"Start Measure"},"end_measure":{"type":"integer","title":"End Measure"},"source_track_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Track Id"}},"type":"object","required":["start_measure","end_measure"],"title":"RenderRangeRequest"},"Section":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"name":{"type":"string","title":"Name"},"start_measure":{"type":"integer","minimum":1.0,"title":"Start Measure"},"end_measure":{"type":"integer","minimum":1.0,"title":"End Measure"}},"type":"object","required":["id","label","name","start_measure","end_measure"],"title":"Section"},"SectionReorderRequest":{"properties":{"section_order":{"items":{"type":"string"},"type":"array","title":"Section Order"}},"type":"object","required":["section_order"],"title":"SectionReorderRequest"},"SectionResizeRequest":{"properties":{"bars":{"type":"integer","maximum":512.0,"minimum":1.0,"title":"Bars"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["bars","version"],"title":"SectionResizeRequest"},"SessionListResponse":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/SessionResponse"},"type":"array","title":"Sessions"}},"type":"object","required":["sessions"],"title":"SessionListResponse"},"SessionResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"device_name":{"type":"string","title":"Device Name"},"ip_address":{"type":"string","title":"Ip Address"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_active":{"type":"string","format":"date-time","title":"Last Active"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["session_id","device_name","ip_address","created_at","last_active","is_active"],"title":"SessionResponse"},"SessionRevokeResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"SessionRevokeResponse"},"SessionVerifyResponse":{"properties":{"valid":{"type":"boolean","title":"Valid","description":"Whether session is valid"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid","description":"Firebase user ID"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"User email"},"email_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Verified","description":"Whether user email is verified"}},"type":"object","required":["valid"],"title":"SessionVerifyResponse"},"SetUsernameRequest":{"properties":{"username":{"type":"string","maxLength":30,"minLength":3,"title":"Username"},"first_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Last Name"}},"type":"object","required":["username"],"title":"SetUsernameRequest"},"SignupRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email address"},"password":{"type":"string","minLength":8,"title":"Password","description":"User password (minimum 8 characters)"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"User display name (optional)"},"device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Name","description":"Name of the device signing up","default":"Unknown Device"}},"type":"object","required":["email","password"],"title":"SignupRequest"},"SignupResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"Firebase user ID"},"email":{"type":"string","title":"Email","description":"User email"},"display_name":{"type":"string","title":"Display Name","description":"User display name"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether email is verified"},"session_cookie":{"type":"string","title":"Session Cookie","description":"Session cookie for authenticated requests"},"device_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Session Id","description":"Device session identifier"}},"type":"object","required":["uid","email","display_name","email_verified","session_cookie"],"title":"SignupResponse"},"StandardResponse_AIModelRecord_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/AIModelRecord"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[AIModelRecord]"},"StandardResponse_AlbumDetailResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/AlbumDetailResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[AlbumDetailResponse]"},"StandardResponse_AlbumResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/AlbumResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[AlbumResponse]"},"StandardResponse_Dict_str__Any__":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[Dict[str, Any]]"},"StandardResponse_Dict_str__str__":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[Dict[str, str]]"},"StandardResponse_EmailVerificationResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/EmailVerificationResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[EmailVerificationResponse]"},"StandardResponse_ExploreGenresResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/ExploreGenresResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[ExploreGenresResponse]"},"StandardResponse_ExploreTracksResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/ExploreTracksResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[ExploreTracksResponse]"},"StandardResponse_InviteCreateResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/InviteCreateResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[InviteCreateResponse]"},"StandardResponse_List_AIModelRecord__":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/AIModelRecord"},"type":"array"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[List[AIModelRecord]]"},"StandardResponse_List_AlbumResponse__":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/AlbumResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[List[AlbumResponse]]"},"StandardResponse_List_Dict_str__Any___":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[List[Dict[str, Any]]]"},"StandardResponse_List_PlaylistResponse__":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"items":{"$ref":"#/components/schemas/PlaylistResponse"},"type":"array"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[List[PlaylistResponse]]"},"StandardResponse_List_str__":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[List[str]]"},"StandardResponse_LoginResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/LoginResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[LoginResponse]"},"StandardResponse_LogoutResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/LogoutResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[LogoutResponse]"},"StandardResponse_MusicGenreSuggestSubmitData_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/MusicGenreSuggestSubmitData"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[MusicGenreSuggestSubmitData]"},"StandardResponse_NoneType_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"type":"null","title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[NoneType]"},"StandardResponse_PlaylistDetailResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/PlaylistDetailResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[PlaylistDetailResponse]"},"StandardResponse_PlaylistResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/PlaylistResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[PlaylistResponse]"},"StandardResponse_RecentTracksListResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/RecentTracksListResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[RecentTracksListResponse]"},"StandardResponse_SessionVerifyResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/SessionVerifyResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[SessionVerifyResponse]"},"StandardResponse_SignupResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/SignupResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[SignupResponse]"},"StandardResponse_TasteProfile_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/TasteProfile"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[TasteProfile]"},"StandardResponse_VerifyEmailOTPResponse_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"$ref":"#/components/schemas/VerifyEmailOTPResponse"},{"type":"null"}]},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[VerifyEmailOTPResponse]"},"StandardResponse_bool_":{"properties":{"statusCode":{"type":"integer","title":"Statuscode","default":200},"status":{"type":"string","title":"Status","default":"success"},"message":{"type":"string","title":"Message","default":""},"data":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Data"},"timestamp":{"type":"string","title":"Timestamp"},"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"StandardResponse[bool]"},"StemmingMusicCallBackPayload":{"properties":{"status":{"type":"string","title":"Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"stems":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Stems"}},"type":"object","required":["status"],"title":"StemmingMusicCallBackPayload"},"TagSearchRequest":{"properties":{"tags":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Tags"}},"type":"object","required":["tags"],"title":"TagSearchRequest"},"TagsResponse":{"properties":{"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["tags"],"title":"TagsResponse"},"TasteEnabledUpdate":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"TasteEnabledUpdate"},"TasteProfile":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":true},"tags":{"items":{"$ref":"#/components/schemas/TasteTag"},"type":"array","title":"Tags","default":[]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"TasteProfile"},"TasteTag":{"properties":{"descriptor":{"type":"string","title":"Descriptor"},"role":{"type":"string","enum":["genre","foundation","harmony","lead","texture","tempo"],"title":"Role"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["descriptor","role","created_at"],"title":"TasteTag"},"TasteTagRemoveRequest":{"properties":{"descriptor":{"type":"string","title":"Descriptor"}},"type":"object","required":["descriptor"],"title":"TasteTagRemoveRequest"},"TasteTagsAddRequest":{"properties":{"tags":{"items":{},"type":"array","title":"Tags"}},"type":"object","required":["tags"],"title":"TasteTagsAddRequest"},"TrackDetail":{"properties":{"track_id":{"type":"string","title":"Track Id"},"track_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Name"},"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url"},"track_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Track Type"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"chat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}}},"type":"object","required":["track_id"],"title":"TrackDetail"},"Transport":{"properties":{"bpm":{"type":"number","maximum":300.0,"minimum":30.0,"title":"Bpm"},"bpm_mode":{"type":"string","title":"Bpm Mode","default":"static"},"key":{"type":"string","maxLength":500,"title":"Key"},"time_signature":{"items":{"type":"integer"},"type":"array","maxItems":2,"minItems":2,"title":"Time Signature","default":[4,4]},"total_measures":{"type":"integer","maximum":512.0,"minimum":1.0,"title":"Total Measures"}},"type":"object","required":["bpm","key","total_measures"],"title":"Transport"},"UserPreferences":{"properties":{"theme":{"type":"string","title":"Theme","description":"UI Theme (light/dark)","default":"dark"},"default_models":{"additionalProperties":{"type":"string"},"propertyNames":{"$ref":"#/components/schemas/AIModelType"},"type":"object","title":"Default Models","description":"Default models for each AI task type"},"duration":{"type":"integer","maximum":300.0,"minimum":5.0,"title":"Duration","description":"Default track duration","default":30},"enhance_prompt":{"type":"boolean","title":"Enhance Prompt","description":"Default prompt enhancement setting","default":true},"audio_quality":{"type":"integer","title":"Audio Quality","description":"Audio quality (128kbps or 256kbps)","default":256}},"type":"object","title":"UserPreferences"},"UserResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"email":{"type":"string","title":"Email"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"profile_picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Picture"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"stats":{"$ref":"#/components/schemas/UserStats"}},"type":"object","required":["user_id","email","created_at","updated_at"],"title":"UserResponse"},"UserStats":{"properties":{"total_generated":{"type":"integer","title":"Total Generated","default":0},"total_edited":{"type":"integer","title":"Total Edited","default":0},"total_remixed":{"type":"integer","title":"Total Remixed","default":0}},"type":"object","title":"UserStats"},"UsernameSetResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserResponse"},{"type":"null"}]}},"type":"object","required":["success","message"],"title":"UsernameSetResponse"},"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"},"VerifyEmailOTPRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email address"},"otp":{"type":"string","maxLength":6,"minLength":6,"title":"Otp","description":"6-digit OTP code"}},"type":"object","required":["email","otp"],"title":"VerifyEmailOTPRequest"},"VerifyEmailOTPResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether email was verified"},"message":{"type":"string","title":"Message","description":"Response message"}},"type":"object","required":["success","message"],"title":"VerifyEmailOTPResponse"}}}}