{"openapi":"3.1.0","info":{"title":"BurLang API","description":"National language infrastructure for Burkina Faso — ASR, TTS, MT for Moore, Dioula, Fulfulde","version":"0.1.0"},"paths":{"/health":{"get":{"tags":["health"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/audio/{object_path}":{"get":{"tags":["audio"],"summary":"Proxy Audio","description":"Stream an audio file from MinIO storage.","operationId":"proxy_audio_v1_audio__object_path__get","parameters":[{"name":"object_path","in":"path","required":true,"schema":{"type":"string","title":"Object Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_v1_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/google":{"post":{"tags":["auth"],"summary":"Google Auth","description":"Exchange a Google ID token for a BurLang JWT.\nThe Google token is verified server-side before trusting the email claim.","operationId":"google_auth_v1_auth_google_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAuthRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/password":{"patch":{"tags":["auth"],"summary":"Change Password","operationId":"change_password_v1_auth_password_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Change Password V1 Auth Password Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/users":{"get":{"tags":["users"],"summary":"List Users","operationId":"list_users_v1_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","title":"Response List Users V1 Users Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["users"],"summary":"Create User","operationId":"create_user_v1_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/users/{user_id}":{"get":{"tags":["users"],"summary":"Get User","operationId":"get_user_v1_users__user_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Update User","operationId":"update_user_v1_users__user_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"}}}},"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"}}}}}}},"/v1/models":{"get":{"tags":["models"],"summary":"List Models","operationId":"list_models_v1_models_get","parameters":[{"name":"task","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ModelOut"},"title":"Response List Models V1 Models Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["models"],"summary":"Register Model","operationId":"register_model_v1_models_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/asr/transcribe":{"post":{"tags":["speech-recognition"],"summary":"Transcribe","operationId":"transcribe_v1_asr_transcribe_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcribe_v1_asr_transcribe_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ASRResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mt/translate":{"post":{"tags":["translation"],"summary":"Translate","operationId":"translate_v1_mt_translate_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MTRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MTResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tts/synthesize":{"post":{"tags":["text-to-speech"],"summary":"Synthesize","operationId":"synthesize_v1_tts_synthesize_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TTSRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TTSResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lid/detect":{"post":{"tags":["language-identification"],"summary":"Detect","operationId":"detect_v1_lid_detect_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_detect_v1_lid_detect_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LIDResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pipeline/run":{"post":{"tags":["pipeline"],"summary":"Run Pipeline","operationId":"run_pipeline_v1_pipeline_run_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/contribute/text":{"post":{"tags":["data-collection"],"summary":"Contribute Text","operationId":"contribute_text_v1_data_contribute_text_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextContributionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/contribute/audio":{"post":{"tags":["data-collection"],"summary":"Contribute Audio","operationId":"contribute_audio_v1_data_contribute_audio_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_contribute_audio_v1_data_contribute_audio_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/validate":{"post":{"tags":["validation"],"summary":"Submit Validation","operationId":"submit_validation_v1_data_validate_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationSubmit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Submit Validation V1 Data Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/validate/next":{"get":{"tags":["validation"],"summary":"Get Next Validation","operationId":"get_next_validation_v1_data_validate_next_get","parameters":[{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Response Get Next Validation V1 Data Validate Next Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/prompts":{"get":{"tags":["prompts"],"summary":"Get Next Prompt","operationId":"get_next_prompt_v1_data_prompts_get","parameters":[{"name":"language","in":"query","required":true,"schema":{"type":"string","title":"Language"}},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/corpus/stats":{"get":{"tags":["corpus"],"summary":"Corpus Stats","operationId":"corpus_stats_v1_data_corpus_stats_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorpusStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/sessions":{"post":{"tags":["sessions"],"summary":"Create Session","operationId":"create_session_v1_data_sessions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/sessions/mine":{"get":{"tags":["sessions"],"summary":"List My Sessions","operationId":"list_my_sessions_v1_data_sessions_mine_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SessionResponse"},"title":"Response List My Sessions V1 Data Sessions Mine Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/sessions/{session_id}":{"get":{"tags":["sessions"],"summary":"Get Session","operationId":"get_session_v1_data_sessions__session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["sessions"],"summary":"Update Session","operationId":"update_session_v1_data_sessions__session_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/assets/import":{"post":{"tags":["assets"],"summary":"Import Assets","operationId":"import_assets_v1_data_assets_import_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_assets_v1_data_assets_import_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import Assets V1 Data Assets Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/assets/export":{"post":{"tags":["assets"],"summary":"Export Assets","operationId":"export_assets_v1_data_assets_export_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Export Assets V1 Data Assets Export Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/assets":{"get":{"tags":["assets"],"summary":"List Assets","operationId":"list_assets_v1_data_assets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Assets V1 Data Assets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data/assets/{asset_id}":{"get":{"tags":["assets"],"summary":"Get Asset","operationId":"get_asset_v1_data_assets__asset_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Asset Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Asset V1 Data Assets  Asset Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["assets"],"summary":"Delete Asset","operationId":"delete_asset_v1_data_assets__asset_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Asset Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models/train":{"post":{"tags":["training"],"summary":"Trigger Fine Tune","operationId":"trigger_fine_tune_v1_models_train_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/models/{model_id}/promote":{"post":{"tags":["training"],"summary":"Promote Model","operationId":"promote_model_v1_models__model_id__promote_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models/{model_id}/ab-test":{"post":{"tags":["training"],"summary":"Create Ab Test","operationId":"create_ab_test_v1_models__model_id__ab_test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Model Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ABTestRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ABTestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/training/self-train":{"post":{"tags":["training_ops"],"summary":"Start Self Train","operationId":"start_self_train_v1_training_self_train_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfTrainRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobQueued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/training/active-learn":{"post":{"tags":["training_ops"],"summary":"Start Active Learn","operationId":"start_active_learn_v1_training_active_learn_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActiveLearnRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobQueued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/training/back-translate":{"post":{"tags":["training_ops"],"summary":"Start Back Translate","operationId":"start_back_translate_v1_training_back_translate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackTranslateRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobQueued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/training/jobs":{"get":{"tags":["training_ops"],"summary":"List Training Jobs","operationId":"list_training_jobs_v1_training_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/JobSummary"},"type":"array","title":"Response List Training Jobs V1 Training Jobs Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/training/jobs/{job_id}":{"get":{"tags":["training_ops"],"summary":"Get Training Job","operationId":"get_training_job_v1_training_jobs__job_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/settings":{"get":{"tags":["settings"],"summary":"Get Settings","operationId":"get_settings_v1_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Settings V1 Settings Get"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["settings"],"summary":"Update Settings","operationId":"update_settings_v1_settings_patch","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Updates"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Update Settings V1 Settings Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/channels/announcements":{"post":{"tags":["announcements"],"summary":"Create Announcement","operationId":"create_announcement_v1_channels_announcements_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/channels/announcements/{announcement_id}/publish":{"post":{"tags":["announcements"],"summary":"Publish Announcement","operationId":"publish_announcement_v1_channels_announcements__announcement_id__publish_post","parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Announcement Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/channels/deliver":{"post":{"tags":["delivery"],"summary":"Create Delivery","operationId":"create_delivery_v1_channels_deliver_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/channels/analytics":{"get":{"tags":["analytics"],"summary":"Get Analytics","operationId":"get_analytics_v1_channels_analytics_get","parameters":[{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ABTestRequest":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id"},"traffic_split":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Traffic Split"},"duration_days":{"type":"integer","minimum":1.0,"title":"Duration Days"},"metric":{"type":"string","title":"Metric"}},"type":"object","required":["candidate_id","traffic_split","duration_days","metric"],"title":"ABTestRequest"},"ABTestResponse":{"properties":{"ab_test_id":{"type":"string","title":"Ab Test Id"},"status":{"type":"string","title":"Status"},"control_id":{"type":"string","title":"Control Id"},"candidate_id":{"type":"string","title":"Candidate Id"}},"type":"object","required":["ab_test_id","status","control_id","candidate_id"],"title":"ABTestResponse"},"ASRResponse":{"properties":{"text":{"type":"string","title":"Text"},"confidence":{"type":"number","title":"Confidence"},"language_detected":{"type":"string","title":"Language Detected"}},"type":"object","required":["text","confidence","language_detected"],"title":"ASRResponse"},"ActiveLearnRequest":{"properties":{"model_id":{"type":"string","title":"Model Id"},"top_n":{"type":"integer","minimum":1.0,"title":"Top N","default":100}},"type":"object","required":["model_id"],"title":"ActiveLearnRequest"},"AnalyticsSummary":{"properties":{"total_events":{"type":"integer","title":"Total Events"},"by_channel":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Channel"},"by_language":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Language"},"by_event_type":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Event Type"}},"type":"object","required":["total_events","by_channel","by_language","by_event_type"],"title":"AnalyticsSummary"},"AnnouncementCreate":{"properties":{"title":{"type":"string","title":"Title"},"source_text":{"type":"string","title":"Source Text"},"source_language":{"type":"string","title":"Source Language","default":"fra"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages"},"channels":{"items":{"type":"string"},"type":"array","title":"Channels"},"domain":{"type":"string","title":"Domain"}},"type":"object","required":["title","source_text","target_languages","channels","domain"],"title":"AnnouncementCreate"},"AnnouncementResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"source_text":{"type":"string","title":"Source Text"},"source_language":{"type":"string","title":"Source Language"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages"},"translations":{"additionalProperties":true,"type":"object","title":"Translations"},"audio_paths":{"additionalProperties":true,"type":"object","title":"Audio Paths"},"status":{"type":"string","title":"Status"},"channels":{"items":{"type":"string"},"type":"array","title":"Channels"},"domain":{"type":"string","title":"Domain"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","title","source_text","source_language","target_languages","translations","audio_paths","status","channels","domain"],"title":"AnnouncementResponse"},"AuthResponse":{"properties":{"token":{"type":"string","title":"Token"},"user":{"$ref":"#/components/schemas/UserResponse"}},"type":"object","required":["token","user"],"title":"AuthResponse"},"BackTranslateRequest":{"properties":{"language":{"type":"string","title":"Language"},"quality_threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Quality Threshold","default":0.7},"review_sample_pct":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Review Sample Pct","default":0.1}},"type":"object","required":["language"],"title":"BackTranslateRequest"},"Body_contribute_audio_v1_data_contribute_audio_post":{"properties":{"audio":{"type":"string","contentMediaType":"application/octet-stream","title":"Audio"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"},"prompt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Id"}},"type":"object","required":["audio","language","domain"],"title":"Body_contribute_audio_v1_data_contribute_audio_post"},"Body_detect_v1_lid_detect_post":{"properties":{"audio":{"type":"string","contentMediaType":"application/octet-stream","title":"Audio"}},"type":"object","required":["audio"],"title":"Body_detect_v1_lid_detect_post"},"Body_import_assets_v1_data_assets_import_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"format":{"type":"string","title":"Format"},"source_name":{"type":"string","title":"Source Name"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"}},"type":"object","required":["file","format","source_name","language","domain"],"title":"Body_import_assets_v1_data_assets_import_post"},"Body_transcribe_v1_asr_transcribe_post":{"properties":{"audio":{"type":"string","contentMediaType":"application/octet-stream","title":"Audio"},"language":{"type":"string","title":"Language"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"}},"type":"object","required":["audio","language"],"title":"Body_transcribe_v1_asr_transcribe_post"},"ContributionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contributor_id":{"type":"string","format":"uuid","title":"Contributor Id"},"type":{"type":"string","title":"Type"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"},"status":{"type":"string","title":"Status"},"audio_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Path"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"auto_check_results":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Auto Check Results"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","contributor_id","type","language","domain","status"],"title":"ContributionResponse"},"CorpusStatsResponse":{"properties":{"total_contributions":{"type":"integer","title":"Total Contributions"},"by_language":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Language"},"by_domain":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Domain"},"by_status":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Status"},"audio_hours":{"type":"number","title":"Audio Hours"},"parallel_sentences":{"type":"integer","title":"Parallel Sentences"}},"type":"object","required":["total_contributions","by_language","by_domain","by_status","audio_hours","parallel_sentences"],"title":"CorpusStatsResponse"},"CreateUserRequest":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"role":{"type":"string","title":"Role","default":"operator"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages","default":[]},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"tier":{"type":"string","title":"Tier","default":"volunteer"}},"type":"object","required":["name","email","password"],"title":"CreateUserRequest"},"DeliveryRequest":{"properties":{"text":{"type":"string","title":"Text"},"source_language":{"type":"string","title":"Source Language","default":"fra"},"target_language":{"type":"string","title":"Target Language"},"steps":{"items":{"type":"string"},"type":"array","title":"Steps"},"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}}},"type":"object","required":["text","target_language","steps"],"title":"DeliveryRequest"},"DeliveryResponse":{"properties":{"job_id":{"type":"string","format":"uuid","title":"Job Id"},"status":{"type":"string","title":"Status"},"estimated_completion_ms":{"type":"integer","title":"Estimated Completion Ms"}},"type":"object","required":["job_id","status","estimated_completion_ms"],"title":"DeliveryResponse"},"ExportRequest":{"properties":{"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"split":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Split"},"format":{"type":"string","title":"Format","default":"csv"}},"type":"object","title":"ExportRequest"},"GoogleAuthRequest":{"properties":{"google_token":{"type":"string","title":"Google Token"},"email":{"type":"string","format":"email","title":"Email"},"name":{"type":"string","title":"Name"}},"type":"object","required":["google_token","email","name"],"title":"GoogleAuthRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HyperParams":{"properties":{"method":{"type":"string","title":"Method","default":"lora"},"rank":{"type":"integer","title":"Rank","default":8},"epochs":{"type":"integer","title":"Epochs","default":3},"batch_size":{"type":"integer","title":"Batch Size","default":16},"lr":{"type":"number","title":"Lr","default":0.0001}},"type":"object","title":"HyperParams"},"JobDetail":{"properties":{"job_id":{"type":"string","title":"Job Id"},"type":{"type":"string","title":"Type"},"status":{"type":"string","title":"Status"},"progress_pct":{"type":"integer","title":"Progress Pct"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["job_id","type","status","progress_pct","result","created_at","completed_at"],"title":"JobDetail"},"JobQueued":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"JobQueued"},"JobSummary":{"properties":{"job_id":{"type":"string","title":"Job Id"},"type":{"type":"string","title":"Type"},"status":{"type":"string","title":"Status"},"progress_pct":{"type":"integer","title":"Progress Pct"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["job_id","type","status","progress_pct","created_at"],"title":"JobSummary"},"LIDResponse":{"properties":{"language":{"type":"string","title":"Language"},"confidence":{"type":"number","title":"Confidence"}},"type":"object","required":["language","confidence"],"title":"LIDResponse"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MTRequest":{"properties":{"text":{"type":"string","title":"Text"},"source":{"type":"string","title":"Source"},"target":{"type":"string","title":"Target"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"}},"type":"object","required":["text","source","target"],"title":"MTRequest"},"MTResponse":{"properties":{"translation":{"type":"string","title":"Translation"},"confidence":{"type":"number","title":"Confidence"}},"type":"object","required":["translation","confidence"],"title":"MTResponse"},"ModelIn":{"properties":{"name":{"type":"string","title":"Name"},"task":{"type":"string","title":"Task"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"version":{"type":"string","title":"Version"},"endpoint_url":{"type":"string","title":"Endpoint Url"},"metrics":{"additionalProperties":true,"type":"object","title":"Metrics","default":{}},"artifact_path":{"type":"string","title":"Artifact Path"}},"type":"object","required":["name","task","languages","version","endpoint_url","artifact_path"],"title":"ModelIn"},"ModelOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"task":{"type":"string","title":"Task"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"metrics":{"additionalProperties":true,"type":"object","title":"Metrics"}},"type":"object","required":["id","name","task","languages","version","status","metrics"],"title":"ModelOut"},"PasswordChangeRequest":{"properties":{"old_password":{"type":"string","title":"Old Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["old_password","new_password"],"title":"PasswordChangeRequest"},"PipelineRequest":{"properties":{"input":{"type":"string","title":"Input"},"steps":{"items":{"type":"string"},"type":"array","title":"Steps"}},"type":"object","required":["input","steps"],"title":"PipelineRequest"},"PipelineResponse":{"properties":{"audio_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Url"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"intermediate":{"additionalProperties":true,"type":"object","title":"Intermediate","default":{}}},"type":"object","title":"PipelineResponse"},"PromptResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"},"text":{"type":"string","title":"Text"}},"type":"object","required":["id","language","domain","text"],"title":"PromptResponse"},"RegisterRequest":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["name","email","password"],"title":"RegisterRequest"},"SelfTrainRequest":{"properties":{"language":{"type":"string","title":"Language"},"confidence_threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence Threshold","default":0.85}},"type":"object","required":["language"],"title":"SelfTrainRequest"},"SessionCreate":{"properties":{"type":{"type":"string","title":"Type"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"},"duration_min":{"type":"integer","title":"Duration Min","default":30}},"type":"object","required":["type","language","domain"],"title":"SessionCreate"},"SessionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"type":{"type":"string","title":"Type"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"},"duration_min":{"type":"integer","title":"Duration Min"},"status":{"type":"string","title":"Status"},"progress":{"type":"integer","title":"Progress"},"total_items":{"type":"integer","title":"Total Items"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","user_id","type","language","domain","duration_min","status","progress","total_items","created_at","updated_at"],"title":"SessionResponse"},"SessionUpdate":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"progress":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress"}},"type":"object","title":"SessionUpdate"},"TTSRequest":{"properties":{"text":{"type":"string","title":"Text"},"language":{"type":"string","title":"Language"},"voice":{"type":"string","title":"Voice","default":"default"}},"type":"object","required":["text","language"],"title":"TTSRequest"},"TTSResponse":{"properties":{"audio_url":{"type":"string","title":"Audio Url"},"duration_ms":{"type":"integer","title":"Duration Ms"}},"type":"object","required":["audio_url","duration_ms"],"title":"TTSResponse"},"TextContributionRequest":{"properties":{"type":{"type":"string","title":"Type"},"language":{"type":"string","title":"Language"},"domain":{"type":"string","title":"Domain"},"text":{"type":"string","title":"Text"},"source_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Text"},"reference_contribution_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reference Contribution Id"}},"type":"object","required":["type","language","domain","text"],"title":"TextContributionRequest"},"TrainRequest":{"properties":{"task":{"type":"string","title":"Task"},"base_model":{"type":"string","title":"Base Model"},"language":{"type":"string","title":"Language"},"data_corpus":{"type":"string","title":"Data Corpus"},"hyperparams":{"$ref":"#/components/schemas/HyperParams"},"experiment_name":{"type":"string","title":"Experiment Name"}},"type":"object","required":["task","base_model","language","data_corpus","experiment_name"],"title":"TrainRequest"},"TrainResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"experiment_name":{"type":"string","title":"Experiment Name"}},"type":"object","required":["job_id","status","experiment_name"],"title":"TrainResponse"},"UpdateUserRequest":{"properties":{"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"languages":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Languages"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},"type":"object","title":"UpdateUserRequest"},"UserResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"role":{"type":"string","title":"Role"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"tier":{"type":"string","title":"Tier"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","name","email","role","languages","region","tier","is_active"],"title":"UserResponse"},"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"},"ValidationSubmit":{"properties":{"contribution_id":{"type":"string","format":"uuid","title":"Contribution Id"},"verdict":{"type":"string","title":"Verdict"},"correction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"}},"type":"object","required":["contribution_id","verdict"],"title":"ValidationSubmit"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}