{"openapi":"3.1.0","info":{"title":"E-Infra Knowledge","version":"0.4.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health/live":{"get":{"summary":"Live","operationId":"live_health_live_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready":{"get":{"summary":"Ready","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/config":{"get":{"summary":"Config","operationId":"config_api_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/login":{"post":{"summary":"Sign In","operationId":"sign_in_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credentials"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/me":{"get":{"summary":"Me","operationId":"me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/logout":{"post":{"summary":"Logout","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/password":{"put":{"summary":"Change Password","operationId":"change_password_api_auth_password_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/entra":{"get":{"summary":"Entra Start","operationId":"entra_start_auth_entra_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/entra/callback":{"get":{"summary":"Entra Callback","operationId":"entra_callback_auth_entra_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/profiles":{"get":{"summary":"Profiles","operationId":"profiles_api_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Profile","operationId":"create_profile_api_profiles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/toggle":{"post":{"summary":"Toggle Profile","operationId":"toggle_profile_api_profiles__profile_id__toggle_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/sources/{source_id}":{"post":{"summary":"Grant","operationId":"grant_api_profiles__profile_id__sources__source_id__post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Ungrant","operationId":"ungrant_api_profiles__profile_id__sources__source_id__delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users":{"get":{"summary":"Users","operationId":"users_api_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create User","operationId":"create_user_api_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/members":{"post":{"summary":"Member","operationId":"member_api_profiles__profile_id__members_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/members/{user_id}":{"delete":{"summary":"Remove Member","operationId":"remove_member_api_profiles__profile_id__members__user_id__delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/keys":{"get":{"summary":"Keys","operationId":"keys_api_profiles__profile_id__keys_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Issue Key","operationId":"issue_key_api_profiles__profile_id__keys_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/keys/{key_id}":{"delete":{"summary":"Revoke Key","operationId":"revoke_key_api_profiles__profile_id__keys__key_id__delete","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources":{"get":{"summary":"Sources","operationId":"sources_api_sources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Source","operationId":"create_source_api_sources_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources/{source_id}/toggle":{"post":{"summary":"Toggle Source","operationId":"toggle_source_api_sources__source_id__toggle_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources/{source_id}/run":{"post":{"summary":"Run Source","operationId":"run_source_api_sources__source_id__run_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources/{source_id}/upload":{"post":{"summary":"Upload","operationId":"upload_api_sources__source_id__upload_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_api_sources__source_id__upload_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents":{"get":{"summary":"Documents","operationId":"documents_api_documents_get","parameters":[{"name":"source_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/documents/{document_id}":{"get":{"summary":"Document","operationId":"document_api_documents__document_id__get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/versions/{version_id}":{"get":{"summary":"Version","operationId":"version_api_versions__version_id__get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/versions/{version_id}/original":{"get":{"summary":"Original","operationId":"original_api_versions__version_id__original_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/versions/{version_id}/publish":{"post":{"summary":"Publish","operationId":"publish_api_versions__version_id__publish_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/versions/{version_id}/withdraw":{"post":{"summary":"Withdraw","operationId":"withdraw_api_versions__version_id__withdraw_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/search":{"post":{"summary":"Ui Search","operationId":"ui_search_api_profiles__profile_id__search_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__main__QueryInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search":{"post":{"summary":"External Search","operationId":"external_search_v1_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__main__QueryInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs":{"get":{"summary":"Jobs","operationId":"jobs_api_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/metrics":{"get":{"summary":"Metrics","operationId":"metrics_api_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/audit":{"get":{"summary":"Events","operationId":"events_api_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/profiles/{profile_id}/evaluation-sets":{"get":{"summary":"Sets","operationId":"sets_api_profiles__profile_id__evaluation_sets_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Set","operationId":"create_set_api_profiles__profile_id__evaluation_sets_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluation-sets/{set_id}":{"get":{"summary":"Get Set","operationId":"get_set_api_evaluation_sets__set_id__get","parameters":[{"name":"set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Set Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/evaluation-documents":{"get":{"summary":"Documents","operationId":"documents_api_profiles__profile_id__evaluation_documents_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"enum":["published","draft"],"type":"string","default":"published","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluation-sets/{set_id}/cases":{"post":{"summary":"Add Case","operationId":"add_case_api_evaluation_sets__set_id__cases_post","parameters":[{"name":"set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Set Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluation-sets/{set_id}/cases/{case_id}":{"put":{"summary":"Edit Case","operationId":"edit_case_api_evaluation_sets__set_id__cases__case_id__put","parameters":[{"name":"set_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Set Id"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/evaluations/estimate":{"post":{"summary":"Estimate","operationId":"estimate_api_profiles__profile_id__evaluations_estimate_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/evaluations/{quote_id}/execute":{"post":{"summary":"Execute","operationId":"execute_api_profiles__profile_id__evaluations__quote_id__execute_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunInput"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluation-runs/{run_id}":{"get":{"summary":"Get Run","operationId":"get_run_api_evaluation_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluation-runs/{run_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_api_evaluation_runs__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/retrieval":{"put":{"summary":"Set Policy","operationId":"set_policy_api_profiles__profile_id__retrieval_put","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/workspace":{"get":{"summary":"Workspace","operationId":"workspace_api_profiles__profile_id__workspace_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/performance":{"get":{"summary":"Performance","operationId":"performance_api_performance_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library":{"get":{"summary":"Library","operationId":"library_api_library_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":300,"default":"","title":"Q"}},{"name":"source_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"}},{"name":"profile_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Profile Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["published","draft","withdrawn"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"semantic","in":"query","required":false,"schema":{"enum":["all","complete","missing"],"type":"string","default":"all","title":"Semantic"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{document_id}/audit":{"get":{"summary":"Document Audit","operationId":"document_audit_api_library__document_id__audit_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/versions/{version_id}/reviews":{"post":{"summary":"Review","operationId":"review_api_versions__version_id__reviews_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/library/{document_id}/compare":{"get":{"summary":"Compare","operationId":"compare_api_library__document_id__compare_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"from_version","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"From Version"}},{"name":"to_version","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"To Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}":{"put":{"summary":"Edit Profile","operationId":"edit_profile_api_profiles__profile_id__put","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{profile_id}/duplicate":{"post":{"summary":"Duplicate Profile","operationId":"duplicate_profile_api_profiles__profile_id__duplicate_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloneInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operations/estimate":{"post":{"summary":"Estimate","operationId":"estimate_api_operations_estimate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operations/{quote_id}/execute":{"post":{"summary":"Execute","operationId":"execute_api_operations__quote_id__execute_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search/estimate":{"post":{"summary":"Api Estimate","operationId":"api_estimate_v1_search_estimate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiEstimateInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/costs":{"get":{"summary":"Costs","operationId":"costs_api_costs_get","parameters":[{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"enum":["search","reindex","test","evaluate"],"type":"string"},{"type":"null"}],"title":"Action"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["quoted","running","succeeded","failed","cancelled","expired"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operations/{quote_id}/cancel":{"post":{"summary":"Cancel Quote","operationId":"cancel_quote_api_operations__quote_id__cancel_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/evaluations":{"get":{"summary":"Evaluations","operationId":"evaluations_api_evaluations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/models":{"get":{"summary":"Models","operationId":"models_api_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Model","operationId":"create_model_api_models_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/{model_id}/credential":{"put":{"summary":"Credential","operationId":"credential_api_models__model_id__credential_put","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/SecretInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/models/{model_id}/test":{"post":{"summary":"Test Model","operationId":"test_model_api_models__model_id__test_post","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources/{source_id}/pipeline":{"put":{"summary":"Pipeline","operationId":"pipeline_api_sources__source_id__pipeline_put","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sources/{source_id}/rebuild":{"post":{"summary":"Rebuild","operationId":"rebuild_api_sources__source_id__rebuild_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}},{"name":"operation","in":"query","required":false,"schema":{"enum":["reindex","reprocess"],"type":"string","default":"reindex","title":"Operation"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/search":{"post":{"summary":"Console Search","operationId":"console_search_api_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__console_api__QueryInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chunks":{"get":{"summary":"Chunks","operationId":"chunks_api_chunks_get","parameters":[{"name":"source_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"}},{"name":"profile_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Profile Id"}},{"name":"version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Version Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["published","draft","withdrawn"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chunks/{chunk_id}":{"get":{"summary":"Chunk","operationId":"chunk_api_chunks__chunk_id__get","parameters":[{"name":"chunk_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Chunk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/indexes":{"get":{"summary":"Indexes","operationId":"indexes_api_indexes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/query-history":{"get":{"summary":"Query History","operationId":"query_history_api_query_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/budgets":{"get":{"summary":"Budgets","operationId":"budgets_api_budgets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ApiEstimateInput":{"properties":{"query":{"type":"string","maxLength":2000,"minLength":2,"title":"Query"},"mode":{"type":"string","enum":["auto","lexical","hybrid","semantic"],"title":"Mode","default":"auto"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":8}},"additionalProperties":false,"type":"object","required":["query"],"title":"ApiEstimateInput"},"Body_upload_api_sources__source_id__upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_api_sources__source_id__upload_post"},"CaseInput":{"properties":{"query":{"type":"string","maxLength":2000,"minLength":2,"title":"Query"},"split":{"type":"string","enum":["validation","holdout"],"title":"Split","default":"validation"},"labels":{"items":{"$ref":"#/components/schemas/Label"},"type":"array","maxItems":20,"title":"Labels"},"no_answer":{"type":"boolean","title":"No Answer","default":false},"reviewed":{"type":"boolean","title":"Reviewed","default":false},"note":{"type":"string","maxLength":1000,"title":"Note","default":""},"revision":{"type":"integer","minimum":1.0,"title":"Revision"}},"additionalProperties":false,"type":"object","required":["query","revision"],"title":"CaseInput"},"CloneInput":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"}},"additionalProperties":false,"type":"object","required":["name"],"title":"CloneInput"},"Credentials":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":200,"minLength":1,"title":"Password"}},"additionalProperties":false,"type":"object","required":["email","password"],"title":"Credentials"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"KeyInput":{"properties":{"label":{"type":"string","maxLength":100,"minLength":2,"title":"Label"},"days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Days","default":90}},"additionalProperties":false,"type":"object","required":["label"],"title":"KeyInput"},"Label":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"grade":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Grade"}},"additionalProperties":false,"type":"object","required":["document_id","grade"],"title":"Label"},"MemberInput":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"role":{"type":"string","enum":["profile_admin","editor","viewer"],"title":"Role"}},"additionalProperties":false,"type":"object","required":["user_id","role"],"title":"MemberInput"},"ModelInput":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"provider":{"type":"string","enum":["azure_openai","ollama"],"title":"Provider"},"endpoint":{"type":"string","maxLength":300,"title":"Endpoint"},"deployment":{"type":"string","maxLength":150,"minLength":1,"title":"Deployment"},"dimensions":{"type":"integer","maximum":4000.0,"minimum":1.0,"title":"Dimensions"},"auth_mode":{"type":"string","enum":["api_key","entra_token","managed_identity","none"],"title":"Auth Mode","default":"api_key"},"api_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Api Key"}},"additionalProperties":false,"type":"object","required":["name","provider","endpoint","deployment","dimensions"],"title":"ModelInput"},"OperationInput":{"properties":{"action":{"type":"string","enum":["reindex","test","search"],"title":"Action"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"model_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Id"},"profile_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Profile Id"},"query":{"anyOf":[{"type":"string","maxLength":2000,"minLength":2},{"type":"null"}],"title":"Query"},"status":{"type":"string","enum":["published","draft"],"title":"Status","default":"published"},"mode":{"type":"string","enum":["auto","lexical","hybrid","semantic"],"title":"Mode","default":"auto"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":8}},"additionalProperties":false,"type":"object","required":["action"],"title":"OperationInput"},"PasswordChange":{"properties":{"current_password":{"type":"string","maxLength":200,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","maxLength":200,"minLength":16,"title":"New Password"}},"additionalProperties":false,"type":"object","required":["current_password","new_password"],"title":"PasswordChange"},"PipelineInput":{"properties":{"ingestion_mode":{"type":"string","enum":["lexical","hybrid"],"title":"Ingestion Mode","default":"lexical"},"embedding_model_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Embedding Model Id"},"allow_cloud":{"type":"boolean","title":"Allow Cloud","default":false},"html_selector":{"type":"string","maxLength":300,"title":"Html Selector","default":""},"chunk_words":{"type":"integer","maximum":1200.0,"minimum":80.0,"title":"Chunk Words","default":360},"overlap_words":{"type":"integer","maximum":300.0,"minimum":0.0,"title":"Overlap Words","default":60}},"additionalProperties":false,"type":"object","title":"PipelineInput"},"Policy":{"properties":{"source_policy":{"type":"string","enum":["neutral","boost","cascade"],"title":"Source Policy","default":"neutral"},"reranker":{"type":"string","enum":["off","local"],"title":"Reranker","default":"off"},"candidate_limit":{"type":"integer","maximum":80.0,"minimum":20.0,"title":"Candidate Limit","default":40},"rerank_limit":{"type":"integer","maximum":40.0,"minimum":5.0,"title":"Rerank Limit","default":10},"rerank_timeout_ms":{"type":"integer","maximum":30000.0,"minimum":500.0,"title":"Rerank Timeout Ms","default":30000},"rerank_max_chars":{"type":"integer","maximum":8000.0,"minimum":200.0,"title":"Rerank Max Chars","default":600},"bm25_k1":{"type":"number","maximum":3.0,"minimum":0.1,"title":"Bm25 K1","default":1.2},"bm25_b":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Bm25 B","default":0.75},"max_chunks_per_document":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Max Chunks Per Document","default":3},"cascade_min_results":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Cascade Min Results","default":1},"cascade_min_coverage":{"type":"number","maximum":1.0,"minimum":0.1,"title":"Cascade Min Coverage","default":0.5},"cascade_min_rerank":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Cascade Min Rerank","default":0.3}},"additionalProperties":false,"type":"object","title":"Policy"},"PolicyInput":{"properties":{"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"policy":{"$ref":"#/components/schemas/Policy"},"sources":{"items":{"$ref":"#/components/schemas/SourceRule"},"type":"array","maxItems":1000,"title":"Sources"}},"additionalProperties":false,"type":"object","required":["revision","policy","sources"],"title":"PolicyInput"},"ProfileEdit":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"description":{"type":"string","maxLength":1000,"title":"Description","default":""},"public_only":{"type":"boolean","title":"Public Only","default":true},"source_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":1000,"title":"Source Ids"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"}},"additionalProperties":false,"type":"object","required":["name","revision"],"title":"ProfileEdit"},"ProfileInput":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"description":{"type":"string","maxLength":1000,"title":"Description","default":""},"public_only":{"type":"boolean","title":"Public Only","default":true}},"additionalProperties":false,"type":"object","required":["name"],"title":"ProfileInput"},"ReviewInput":{"properties":{"decision":{"type":"string","enum":["approved","needs_changes","note"],"title":"Decision"},"note":{"type":"string","maxLength":4000,"title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewInput"},"RunInput":{"properties":{"set_id":{"type":"string","format":"uuid","title":"Set Id"},"split":{"type":"string","enum":["validation","holdout"],"title":"Split","default":"validation"},"status":{"type":"string","enum":["published","draft"],"title":"Status","default":"published"},"mode":{"type":"string","enum":["lexical","auto","hybrid","semantic"],"title":"Mode","default":"lexical"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":5}},"additionalProperties":false,"type":"object","required":["set_id"],"title":"RunInput"},"SecretInput":{"properties":{"api_key":{"type":"string","maxLength":500,"minLength":10,"title":"Api Key"}},"additionalProperties":false,"type":"object","required":["api_key"],"title":"SecretInput"},"SetInput":{"properties":{"name":{"type":"string","maxLength":100,"minLength":2,"title":"Name"},"description":{"type":"string","maxLength":1000,"title":"Description","default":""}},"additionalProperties":false,"type":"object","required":["name"],"title":"SetInput"},"SourceInput":{"properties":{"name":{"type":"string","maxLength":200,"minLength":2,"title":"Name"},"kind":{"type":"string","enum":["file","url","crawl"],"title":"Kind"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"classification":{"type":"string","enum":["public","internal"],"title":"Classification","default":"internal"},"schedule_cron":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule Cron"},"timezone":{"type":"string","title":"Timezone","default":"Europe/Bucharest"},"max_pages":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Max Pages","default":20}},"additionalProperties":false,"type":"object","required":["name","kind"],"title":"SourceInput"},"SourceRule":{"properties":{"source_id":{"type":"string","format":"uuid","title":"Source Id"},"priority":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Priority","default":100},"weight":{"type":"number","maximum":4.0,"minimum":1.0,"title":"Weight","default":1}},"additionalProperties":false,"type":"object","required":["source_id"],"title":"SourceRule"},"UserInput":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"entra_oid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entra Oid"},"password":{"anyOf":[{"type":"string","maxLength":200,"minLength":16},{"type":"null"}],"title":"Password"}},"additionalProperties":false,"type":"object","required":["email"],"title":"UserInput"},"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"},"app__console_api__QueryInput":{"properties":{"query":{"type":"string","maxLength":2000,"minLength":2,"title":"Query"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":8},"profile_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Profile Id"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"status":{"type":"string","enum":["published","draft"],"title":"Status","default":"published"},"mode":{"type":"string","enum":["auto","lexical","semantic","hybrid"],"title":"Mode","default":"auto"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"}},"additionalProperties":false,"type":"object","required":["query"],"title":"QueryInput"},"app__main__QueryInput":{"properties":{"query":{"type":"string","maxLength":2000,"minLength":2,"title":"Query"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":8},"mode":{"type":"string","enum":["auto","lexical","semantic","hybrid"],"title":"Mode","default":"auto"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"}},"additionalProperties":false,"type":"object","required":["query"],"title":"QueryInput"}}}}