{"openapi":"3.1.0","info":{"title":"ONM Auth","version":"v1"},"paths":{"/api/v1/supercongenai/auth/google/url":{"get":{"tags":["auth"],"summary":"Get Google Auth Url","operationId":"get_google_auth_url_api_v1_supercongenai_auth_google_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAuthURL"}}}}}}},"/api/v1/supercongenai/auth/apple/url":{"get":{"tags":["auth"],"summary":"Get Apple Auth Url","operationId":"get_apple_auth_url_api_v1_supercongenai_auth_apple_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleAuthURL"}}}}}}},"/api/v1/supercongenai/auth/apple/callback":{"get":{"tags":["auth"],"summary":"Apple Callback Get","operationId":"apple_callback_get_api_v1_supercongenai_auth_apple_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["auth"],"summary":"Apple Callback","operationId":"apple_callback_api_v1_supercongenai_auth_apple_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/supercongenai/auth/google/callback":{"get":{"tags":["auth"],"summary":"Google Callback Get","operationId":"google_callback_get_api_v1_supercongenai_auth_google_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["auth"],"summary":"Google Callback","operationId":"google_callback_api_v1_supercongenai_auth_google_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/supercongenai/auth/status/{state}":{"get":{"tags":["auth"],"summary":"Oauth Status","operationId":"oauth_status_api_v1_supercongenai_auth_status__state__get","parameters":[{"name":"state","in":"path","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/supercongenai/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Tokens","operationId":"refresh_tokens_api_v1_supercongenai_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/supercongenai/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_v1_supercongenai_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/users/register":{"post":{"tags":["users"],"summary":"Register User","operationId":"register_user_api_v1_supercongenai_users_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"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"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/users/me":{"get":{"tags":["users"],"summary":"Get Profile","operationId":"get_profile_api_v1_supercongenai_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["users"],"summary":"Update Profile","operationId":"update_profile_api_v1_supercongenai_users_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"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"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/users/credits":{"get":{"tags":["users"],"summary":"Get Credits","operationId":"get_credits_api_v1_supercongenai_users_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/users/promo":{"post":{"tags":["users"],"summary":"Redeem Promo Code","operationId":"redeem_promo_code_api_v1_supercongenai_users_promo_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/generation/start":{"post":{"tags":["generation"],"summary":"Start Generation","operationId":"start_generation_api_v1_supercongenai_generation_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__supercongenai__schemas__GenerationStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__supercongenai__schemas__GenerationStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/generation/heartbeat/{job_id}":{"post":{"tags":["generation"],"summary":"Heartbeat","operationId":"heartbeat_api_v1_supercongenai_generation_heartbeat__job_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationHeartbeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/supercongenai/generation/complete":{"post":{"tags":["generation"],"summary":"Complete Generation","operationId":"complete_generation_api_v1_supercongenai_generation_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__supercongenai__schemas__GenerationCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationCompleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/generation/fail":{"post":{"tags":["generation"],"summary":"Fail Generation","operationId":"fail_generation_api_v1_supercongenai_generation_fail_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationFailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/generation/report-failure":{"post":{"tags":["generation"],"summary":"Report Failure","description":"Record a client-reported failure (no job created on server).\nThis allows the desktop app to report validation and other failures so they appear in failed history.","operationId":"report_failure_api_v1_supercongenai_generation_report_failure_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__supercongenai__schemas__GenerationReportFailureRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/generation/cancel":{"post":{"tags":["generation"],"summary":"Cancel Generation","operationId":"cancel_generation_api_v1_supercongenai_generation_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationCancelRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/history":{"get":{"tags":["history"],"summary":"Get History","operationId":"get_history_api_v1_supercongenai_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__supercongenai__schemas__HistoryListResponse"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["history"],"summary":"Clear History","operationId":"clear_history_api_v1_supercongenai_history_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/history/all-data":{"delete":{"tags":["history"],"summary":"Delete All Data","operationId":"delete_all_data_api_v1_supercongenai_history_all_data_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/supercongenai/history/{history_id}":{"delete":{"tags":["history"],"summary":"Delete History Item","operationId":"delete_history_item_api_v1_supercongenai_history__history_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","title":"History Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/matcompgenai/auth/google/url":{"get":{"tags":["auth"],"summary":"Get Google Auth Url","operationId":"get_google_auth_url_api_v1_matcompgenai_auth_google_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAuthURL"}}}}}}},"/api/v1/matcompgenai/auth/apple/url":{"get":{"tags":["auth"],"summary":"Get Apple Auth Url","operationId":"get_apple_auth_url_api_v1_matcompgenai_auth_apple_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleAuthURL"}}}}}}},"/api/v1/matcompgenai/auth/apple/callback":{"get":{"tags":["auth"],"summary":"Apple Callback Get","operationId":"apple_callback_get_api_v1_matcompgenai_auth_apple_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["auth"],"summary":"Apple Callback","operationId":"apple_callback_api_v1_matcompgenai_auth_apple_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/matcompgenai/auth/google/callback":{"get":{"tags":["auth"],"summary":"Google Callback Get","operationId":"google_callback_get_api_v1_matcompgenai_auth_google_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["auth"],"summary":"Google Callback","operationId":"google_callback_api_v1_matcompgenai_auth_google_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/matcompgenai/auth/status/{state}":{"get":{"tags":["auth"],"summary":"Oauth Status","operationId":"oauth_status_api_v1_matcompgenai_auth_status__state__get","parameters":[{"name":"state","in":"path","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/matcompgenai/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Tokens","operationId":"refresh_tokens_api_v1_matcompgenai_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/matcompgenai/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_v1_matcompgenai_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/users/register":{"post":{"tags":["users"],"summary":"Register User","operationId":"register_user_api_v1_matcompgenai_users_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"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"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/users/me":{"get":{"tags":["users"],"summary":"Get Profile","operationId":"get_profile_api_v1_matcompgenai_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["users"],"summary":"Update Profile","operationId":"update_profile_api_v1_matcompgenai_users_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"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"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/users/credits":{"get":{"tags":["users"],"summary":"Get Credits","operationId":"get_credits_api_v1_matcompgenai_users_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/users/promo":{"post":{"tags":["users"],"summary":"Redeem Promo Code","operationId":"redeem_promo_code_api_v1_matcompgenai_users_promo_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/generation/start":{"post":{"tags":["generation"],"summary":"Start Generation","operationId":"start_generation_api_v1_matcompgenai_generation_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__matcompgenai__schemas__GenerationStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__matcompgenai__schemas__GenerationStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/generation/scale-props":{"post":{"tags":["generation"],"summary":"Scale Generation Inputs","operationId":"scale_generation_inputs_api_v1_matcompgenai_generation_scale_props_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationScaleRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationScaleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/generation/heartbeat/{job_id}":{"post":{"tags":["generation"],"summary":"Heartbeat","operationId":"heartbeat_api_v1_matcompgenai_generation_heartbeat__job_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationHeartbeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/matcompgenai/generation/complete":{"post":{"tags":["generation"],"summary":"Complete Generation","operationId":"complete_generation_api_v1_matcompgenai_generation_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__matcompgenai__schemas__GenerationCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationCompleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/generation/fail":{"post":{"tags":["generation"],"summary":"Fail Generation","operationId":"fail_generation_api_v1_matcompgenai_generation_fail_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationFailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/generation/report-failure":{"post":{"tags":["generation"],"summary":"Report Failure","operationId":"report_failure_api_v1_matcompgenai_generation_report_failure_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__matcompgenai__schemas__GenerationReportFailureRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/generation/cancel":{"post":{"tags":["generation"],"summary":"Cancel Generation","operationId":"cancel_generation_api_v1_matcompgenai_generation_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationCancelRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/history":{"get":{"tags":["history"],"summary":"Get History","operationId":"get_history_api_v1_matcompgenai_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__apps__matcompgenai__schemas__HistoryListResponse"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["history"],"summary":"Clear History","operationId":"clear_history_api_v1_matcompgenai_history_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/history/all-data":{"delete":{"tags":["history"],"summary":"Delete All Data","operationId":"delete_all_data_api_v1_matcompgenai_history_all_data_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/matcompgenai/history/{history_id}":{"delete":{"tags":["history"],"summary":"Delete History Item","operationId":"delete_history_item_api_v1_matcompgenai_history__history_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","title":"History Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm/":{"get":{"tags":["admin"],"summary":"Admin Home","description":"Admin dashboard - redirect to login if not authenticated.","operationId":"admin_home_api_v1_admin_onm__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/v1/admin-onm/login":{"get":{"tags":["admin"],"summary":"Login Page","description":"Show login form.","operationId":"login_page_api_v1_admin_onm_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["admin"],"summary":"Login","description":"Process login.","operationId":"login_api_v1_admin_onm_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_api_v1_admin_onm_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm/logout":{"get":{"tags":["admin"],"summary":"Logout","description":"Logout and clear session.","operationId":"logout_api_v1_admin_onm_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin-onm/table/{table_name}":{"get":{"tags":["admin"],"summary":"View Table","description":"View table with all columns (column visibility controlled by frontend JS).","operationId":"view_table_api_v1_admin_onm_table__table_name__get","parameters":[{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","default":"","title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm/edit/{table_name}/{row_id}":{"get":{"tags":["admin"],"summary":"Edit Row Form","description":"Edit form for a row - allows editing ALL columns.","operationId":"edit_row_form_api_v1_admin_onm_edit__table_name___row_id__get","parameters":[{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Save Row","description":"Save edited row - handles ALL columns.","operationId":"save_row_api_v1_admin_onm_edit__table_name___row_id__post","parameters":[{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm/delete-bulk/{table_name}":{"post":{"tags":["admin"],"summary":"Delete Bulk","description":"Delete multiple rows.","operationId":"delete_bulk_api_v1_admin_onm_delete_bulk__table_name__post","parameters":[{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_delete_bulk_api_v1_admin_onm_delete_bulk__table_name__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm/csv/{table_name}":{"get":{"tags":["admin"],"summary":"Download Csv","description":"Download table as CSV - with option for encrypted or decrypted.","operationId":"download_csv_api_v1_admin_onm_csv__table_name__get","parameters":[{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"decrypt","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Decrypt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm/promo/create":{"get":{"tags":["admin"],"summary":"Promo Create Form","description":"Show promo code creation form.","operationId":"promo_create_form_api_v1_admin_onm_promo_create_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["admin"],"summary":"Promo Create","description":"Create a new promo code.","operationId":"promo_create_api_v1_admin_onm_promo_create_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_promo_create_api_v1_admin_onm_promo_create_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm-1/":{"get":{"tags":["admin-onm-1"],"summary":"Admin Home","operationId":"admin_home_api_v1_admin_onm_1__get","parameters":[{"name":"table","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm-1/login":{"get":{"tags":["admin-onm-1"],"summary":"Login Page","operationId":"login_page_api_v1_admin_onm_1_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["admin-onm-1"],"summary":"Login","operationId":"login_api_v1_admin_onm_1_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_api_v1_admin_onm_1_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm-1/logout":{"get":{"tags":["admin-onm-1"],"summary":"Logout","operationId":"logout_api_v1_admin_onm_1_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin-onm-1/add":{"get":{"tags":["admin-onm-1"],"summary":"Add Row Form","operationId":"add_row_form_api_v1_admin_onm_1_add_get","parameters":[{"name":"table","in":"query","required":true,"schema":{"type":"string","title":"Table"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-onm-1"],"summary":"Add Row","operationId":"add_row_api_v1_admin_onm_1_add_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_add_row_api_v1_admin_onm_1_add_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm-1/edit":{"get":{"tags":["admin-onm-1"],"summary":"Edit Row Form","operationId":"edit_row_form_api_v1_admin_onm_1_edit_get","parameters":[{"name":"table","in":"query","required":true,"schema":{"type":"string","title":"Table"}},{"name":"row_id","in":"query","required":true,"schema":{"type":"string","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-onm-1"],"summary":"Edit Row","operationId":"edit_row_api_v1_admin_onm_1_edit_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_edit_row_api_v1_admin_onm_1_edit_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin-onm-1/delete":{"post":{"tags":["admin-onm-1"],"summary":"Delete Row","operationId":"delete_row_api_v1_admin_onm_1_delete_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_delete_row_api_v1_admin_onm_1_delete_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"AppleAuthURL":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"AppleAuthURL"},"Body_add_row_api_v1_admin_onm_1_add_post":{"properties":{"table":{"type":"string","title":"Table"}},"type":"object","required":["table"],"title":"Body_add_row_api_v1_admin_onm_1_add_post"},"Body_delete_bulk_api_v1_admin_onm_delete_bulk__table_name__post":{"properties":{"ids":{"type":"string","title":"Ids"}},"type":"object","required":["ids"],"title":"Body_delete_bulk_api_v1_admin_onm_delete_bulk__table_name__post"},"Body_delete_row_api_v1_admin_onm_1_delete_post":{"properties":{"table":{"type":"string","title":"Table"},"row_id":{"type":"string","title":"Row Id"}},"type":"object","required":["table","row_id"],"title":"Body_delete_row_api_v1_admin_onm_1_delete_post"},"Body_edit_row_api_v1_admin_onm_1_edit_post":{"properties":{"table":{"type":"string","title":"Table"},"row_id":{"type":"string","title":"Row Id"}},"type":"object","required":["table","row_id"],"title":"Body_edit_row_api_v1_admin_onm_1_edit_post"},"Body_login_api_v1_admin_onm_1_login_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"Body_login_api_v1_admin_onm_1_login_post"},"Body_login_api_v1_admin_onm_login_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"Body_login_api_v1_admin_onm_login_post"},"Body_promo_create_api_v1_admin_onm_promo_create_post":{"properties":{"app_id":{"type":"string","title":"App Id"},"code":{"type":"string","title":"Code","default":""},"credits_amount":{"type":"integer","title":"Credits Amount"},"max_uses":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Uses"},"expires_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires Days"}},"type":"object","required":["app_id","credits_amount"],"title":"Body_promo_create_api_v1_admin_onm_promo_create_post"},"CreditsResponse":{"properties":{"credits_remaining":{"type":"integer","title":"Credits Remaining"},"credits_quota":{"type":"integer","title":"Credits Quota"}},"type":"object","required":["credits_remaining","credits_quota"],"title":"CreditsResponse"},"GenerationCancelRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"}},"type":"object","required":["job_id"],"title":"GenerationCancelRequest"},"GenerationCompleteResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"history_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"History Id"}},"type":"object","required":["success","message"],"title":"GenerationCompleteResponse"},"GenerationFailRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"error_type":{"type":"string","title":"Error Type"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["job_id","error_type","error_message"],"title":"GenerationFailRequest"},"GenerationHeartbeatResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"last_heartbeat":{"type":"string","format":"date-time","title":"Last Heartbeat"}},"type":"object","required":["job_id","status","last_heartbeat"],"title":"GenerationHeartbeatResponse"},"GenerationScaleRequest":{"properties":{"software_version":{"type":"string","title":"Software Version"},"is_generation":{"type":"boolean","title":"Is Generation"},"delta_e":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta E"},"volume_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Pa"},"energy_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Energy Pa"},"bandgap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bandgap"},"magmom_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Magmom Pa"},"stability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stability"}},"type":"object","required":["software_version","is_generation"],"title":"GenerationScaleRequest"},"GenerationScaleResponse":{"properties":{"scaled_delta_e":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Delta E"},"scaled_volume_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Volume Pa"},"scaled_energy_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Energy Pa"},"scaled_bandgap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Bandgap"},"scaled_magmom_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Magmom Pa"},"scaled_stability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Stability"}},"type":"object","title":"GenerationScaleResponse"},"GoogleAuthURL":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"GoogleAuthURL"},"GoogleCallbackRequest":{"properties":{"code":{"type":"string","title":"Code"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"type":"object","required":["code"],"title":"GoogleCallbackRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MessageResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"MessageResponse"},"PromoCodeRequest":{"properties":{"code":{"type":"string","maxLength":50,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"PromoCodeRequest"},"PromoCodeResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"credits_added":{"type":"integer","title":"Credits Added"},"new_balance":{"type":"integer","title":"New Balance"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","credits_added","new_balance","message"],"title":"PromoCodeResponse"},"RefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshRequest"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"expires_in":{"type":"integer","title":"Expires In"},"user_id":{"type":"string","title":"User Id"},"is_new_user":{"type":"boolean","title":"Is New User"}},"type":"object","required":["access_token","refresh_token","expires_in","user_id","is_new_user"],"title":"TokenResponse"},"UserCreate":{"properties":{"first_name":{"type":"string","maxLength":100,"minLength":1,"title":"First Name"},"last_name":{"type":"string","maxLength":100,"minLength":1,"title":"Last Name"},"organization":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Organization"},"job_title":{"type":"string","maxLength":100,"minLength":1,"title":"Job Title"},"country":{"type":"string","maxLength":100,"minLength":1,"title":"Country"},"phone_number":{"type":"string","maxLength":30,"minLength":1,"title":"Phone Number"},"birthday":{"type":"string","format":"date","title":"Birthday"}},"type":"object","required":["first_name","last_name","job_title","country","phone_number","birthday"],"title":"UserCreate"},"UserResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"job_title":{"type":"string","title":"Job Title"},"country":{"type":"string","title":"Country"},"phone_number":{"type":"string","title":"Phone Number"},"birthday":{"type":"string","format":"date","title":"Birthday"},"credits_remaining":{"type":"integer","title":"Credits Remaining"},"is_new_user":{"type":"boolean","title":"Is New User","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","email","first_name","last_name","organization","job_title","country","phone_number","birthday","credits_remaining","created_at"],"title":"UserResponse"},"UserUpdate":{"properties":{"first_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Last Name"},"organization":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Organization"},"job_title":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Job Title"},"country":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Country"},"phone_number":{"anyOf":[{"type":"string","maxLength":30,"minLength":1},{"type":"null"}],"title":"Phone Number"},"birthday":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Birthday"}},"type":"object","title":"UserUpdate"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"app__apps__matcompgenai__schemas__GenerationCompleteRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"composition":{"type":"string","title":"Composition"},"delta_e":{"type":"number","title":"Delta E"},"volume_pa":{"type":"number","title":"Volume Pa"},"energy_pa":{"type":"number","title":"Energy Pa"},"bandgap":{"type":"number","title":"Bandgap"},"magmom_pa":{"type":"number","title":"Magmom Pa"},"stability":{"type":"number","title":"Stability"}},"type":"object","required":["job_id","composition","delta_e","volume_pa","energy_pa","bandgap","magmom_pa","stability"],"title":"GenerationCompleteRequest"},"app__apps__matcompgenai__schemas__GenerationReportFailureRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"software_version":{"type":"string","title":"Software Version"},"error_type":{"type":"string","title":"Error Type"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["prompt","software_version","error_type"],"title":"GenerationReportFailureRequest"},"app__apps__matcompgenai__schemas__GenerationStartRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"software_version":{"type":"string","title":"Software Version"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["prompt","software_version"],"title":"GenerationStartRequest"},"app__apps__matcompgenai__schemas__GenerationStartResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"core_db_key":{"type":"string","title":"Core Db Key"},"model_key":{"type":"string","title":"Model Key"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"in_delta_e":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Delta E"},"in_volume_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Volume Pa"},"in_energy_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Energy Pa"},"in_bandgap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Bandgap"},"in_magmom_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Magmom Pa"},"in_stability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Stability"},"scaled_delta_e":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Delta E"},"scaled_volume_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Volume Pa"},"scaled_energy_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Energy Pa"},"scaled_bandgap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Bandgap"},"scaled_magmom_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Magmom Pa"},"scaled_stability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaled Stability"},"in_composition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"In Composition"},"is_generation":{"type":"boolean","title":"Is Generation"}},"type":"object","required":["job_id","core_db_key","model_key","started_at","is_generation"],"title":"GenerationStartResponse"},"app__apps__matcompgenai__schemas__HistoryItem":{"properties":{"id":{"type":"string","title":"Id"},"prompt":{"type":"string","title":"Prompt"},"in_delta_e":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Delta E"},"in_volume_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Volume Pa"},"in_energy_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Energy Pa"},"in_bandgap":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Bandgap"},"in_magmom_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Magmom Pa"},"in_stability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"In Stability"},"in_composition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"In Composition"},"composition":{"type":"string","title":"Composition"},"delta_e":{"type":"number","title":"Delta E"},"volume_pa":{"type":"number","title":"Volume Pa"},"energy_pa":{"type":"number","title":"Energy Pa"},"bandgap":{"type":"number","title":"Bandgap"},"magmom_pa":{"type":"number","title":"Magmom Pa"},"stability":{"type":"number","title":"Stability"},"is_generation":{"type":"boolean","title":"Is Generation"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"finished_at":{"type":"string","format":"date-time","title":"Finished At"}},"type":"object","required":["id","prompt","in_delta_e","in_volume_pa","in_energy_pa","in_bandgap","in_magmom_pa","in_stability","in_composition","composition","delta_e","volume_pa","energy_pa","bandgap","magmom_pa","stability","is_generation","started_at","finished_at"],"title":"HistoryItem"},"app__apps__matcompgenai__schemas__HistoryListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__apps__matcompgenai__schemas__HistoryItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"HistoryListResponse"},"app__apps__supercongenai__schemas__GenerationCompleteRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"composition":{"type":"string","title":"Composition"},"tc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tc"}},"type":"object","required":["job_id","composition","tc"],"title":"GenerationCompleteRequest"},"app__apps__supercongenai__schemas__GenerationReportFailureRequest":{"properties":{"user_requested":{"type":"string","title":"User Requested"},"is_generation":{"type":"boolean","title":"Is Generation"},"software_version":{"type":"string","title":"Software Version"},"error_type":{"type":"string","title":"Error Type"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["user_requested","is_generation","software_version","error_type"],"title":"GenerationReportFailureRequest"},"app__apps__supercongenai__schemas__GenerationStartRequest":{"properties":{"user_requested":{"type":"string","title":"User Requested"},"is_generation":{"type":"boolean","title":"Is Generation"},"software_version":{"type":"string","title":"Software Version"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["user_requested","is_generation","software_version"],"title":"GenerationStartRequest"},"app__apps__supercongenai__schemas__GenerationStartResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"core_db_key":{"type":"string","title":"Core Db Key"},"model_key":{"type":"string","title":"Model Key"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"tc_scaled":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tc Scaled"}},"type":"object","required":["job_id","core_db_key","model_key","started_at"],"title":"GenerationStartResponse"},"app__apps__supercongenai__schemas__HistoryItem":{"properties":{"id":{"type":"string","title":"Id"},"user_requested":{"type":"string","title":"User Requested"},"composition":{"type":"string","title":"Composition"},"tc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tc"},"is_generation":{"type":"boolean","title":"Is Generation"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"finished_at":{"type":"string","format":"date-time","title":"Finished At"}},"type":"object","required":["id","user_requested","composition","tc","is_generation","started_at","finished_at"],"title":"HistoryItem"},"app__apps__supercongenai__schemas__HistoryListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__apps__supercongenai__schemas__HistoryItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"HistoryListResponse"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}