Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

90.8 KB
Raw Blame
{
  "routes": [
    ["DELETE", "/api/chat/sessions/<session_id>"],
    ["DELETE", "/api/chat/sessions/<session_id>/attempts/<research_id>"],
    ["DELETE", "/api/delete/<string:research_id>"],
    ["DELETE", "/api/news/subscriptions/<subscription_id>"],
    ["DELETE", "/benchmark/api/delete/<int:benchmark_run_id>"],
    ["DELETE", "/library/api/collection/<string:collection_id>/document/<string:document_id>"],
    ["DELETE", "/library/api/collection/<string:collection_id>/documents/bulk"],
    ["DELETE", "/library/api/collections/<string:collection_id>"],
    ["DELETE", "/library/api/collections/<string:collection_id>/index"],
    ["DELETE", "/library/api/document/<string:document_id>"],
    ["DELETE", "/library/api/document/<string:document_id>/blob"],
    ["DELETE", "/library/api/documents/blobs"],
    ["DELETE", "/library/api/documents/bulk"],
    ["DELETE", "/news/api/search-history"],
    ["DELETE", "/news/api/subscription/folders/<folder_id>"],
    ["DELETE", "/news/api/subscriptions/<subscription_id>"],
    ["DELETE", "/notes/api/documents/<string:document_id>/annotations/<string:note_id>"],
    ["DELETE", "/notes/api/notes/<string:note_id>"],
    ["DELETE", "/notes/api/notes/<string:note_id>/collections/<string:collection_id>"],
    ["DELETE", "/notes/api/research/<string:research_id>/annotations/<string:note_id>"],
    ["DELETE", "/research/api/resources/<string:research_id>/delete/<int:resource_id>"],
    ["DELETE", "/settings/api/<path:key>"],
    ["GET", "/"],
    ["GET", "/api/chat/sessions"],
    ["GET", "/api/chat/sessions/<session_id>"],
    ["GET", "/api/chat/sessions/<session_id>/messages"],
    ["GET", "/api/config/limits"],
    ["GET", "/api/history"],
    ["GET", "/api/news/categories"],
    ["GET", "/api/news/feed"],
    ["GET", "/api/news/subscriptions"],
    ["GET", "/api/news/subscriptions/<subscription_id>"],
    ["GET", "/api/news/subscriptions/<subscription_id>/history"],
    ["GET", "/api/queue/<string:research_id>/position"],
    ["GET", "/api/queue/status"],
    ["GET", "/api/report/<string:research_id>"],
    ["GET", "/api/research/<string:research_id>"],
    ["GET", "/api/research/<string:research_id>/logs"],
    ["GET", "/api/research/<string:research_id>/logs/export"],
    ["GET", "/api/research/<string:research_id>/status"],
    ["GET", "/api/scheduler/status"],
    ["GET", "/api/v1/"],
    ["GET", "/api/v1/health"],
    ["GET", "/auth/change-password"],
    ["GET", "/auth/check"],
    ["GET", "/auth/csrf-token"],
    ["GET", "/auth/integrity-check"],
    ["GET", "/auth/login"],
    ["GET", "/auth/register"],
    ["GET", "/benchmark/"],
    ["GET", "/benchmark/api/configs"],
    ["GET", "/benchmark/api/history"],
    ["GET", "/benchmark/api/results/<int:benchmark_run_id>"],
    ["GET", "/benchmark/api/results/<int:benchmark_run_id>/export"],
    ["GET", "/benchmark/api/running"],
    ["GET", "/benchmark/api/search-quality"],
    ["GET", "/benchmark/api/status/<int:benchmark_run_id>"],
    ["GET", "/benchmark/results"],
    ["GET", "/chat/"],
    ["GET", "/chat/<session_id>"],
    ["GET", "/details/<string:research_id>"],
    ["GET", "/favicon.ico"],
    ["GET", "/history"],
    ["GET", "/history/"],
    ["GET", "/history/api"],
    ["GET", "/history/details/<string:research_id>"],
    ["GET", "/history/log_count/<string:research_id>"],
    ["GET", "/history/logs/<string:research_id>"],
    ["GET", "/history/markdown/<string:research_id>"],
    ["GET", "/history/report/<string:research_id>"],
    ["GET", "/history/status/<string:research_id>"],
    ["GET", "/library/"],
    ["GET", "/library/api/collections"],
    ["GET", "/library/api/collections/<string:collection_id>/documents"],
    ["GET", "/library/api/collections/<string:collection_id>/index"],
    ["GET", "/library/api/collections/<string:collection_id>/index/status"],
    ["GET", "/library/api/collections/<string:collection_id>/preview"],
    ["GET", "/library/api/collections/list"],
    ["GET", "/library/api/config/supported-formats"],
    ["GET", "/library/api/document/<string:document_id>/pdf"],
    ["GET", "/library/api/document/<string:document_id>/pdf-url"],
    ["GET", "/library/api/document/<string:document_id>/preview"],
    ["GET", "/library/api/document/<string:document_id>/text"],
    ["GET", "/library/api/documents"],
    ["GET", "/library/api/get-research-sources/<research_id>"],
    ["GET", "/library/api/rag/documents"],
    ["GET", "/library/api/rag/index-all"],
    ["GET", "/library/api/rag/info"],
    ["GET", "/library/api/rag/models"],
    ["GET", "/library/api/rag/settings"],
    ["GET", "/library/api/rag/stats"],
    ["GET", "/library/api/research-history/collection"],
    ["GET", "/library/api/research-list"],
    ["GET", "/library/api/stats"],
    ["GET", "/library/api/zotero/collections"],
    ["GET", "/library/api/zotero/config"],
    ["GET", "/library/api/zotero/groups"],
    ["GET", "/library/api/zotero/status"],
    ["GET", "/library/collections"],
    ["GET", "/library/collections/<string:collection_id>"],
    ["GET", "/library/collections/<string:collection_id>/upload"],
    ["GET", "/library/collections/create"],
    ["GET", "/library/document/<string:document_id>"],
    ["GET", "/library/document/<string:document_id>/chunks"],
    ["GET", "/library/document/<string:document_id>/pdf"],
    ["GET", "/library/document/<string:document_id>/txt"],
    ["GET", "/library/download-manager"],
    ["GET", "/library/embedding-settings"],
    ["GET", "/library/search/"],
    ["GET", "/library/search/api/keyword"],
    ["GET", "/library/search/api/semantic"],
    ["GET", "/library/zotero"],
    ["GET", "/metrics/"],
    ["GET", "/metrics/api/context-overflow"],
    ["GET", "/metrics/api/cost-analytics"],
    ["GET", "/metrics/api/domain-classifications"],
    ["GET", "/metrics/api/domain-classifications/progress"],
    ["GET", "/metrics/api/domain-classifications/summary"],
    ["GET", "/metrics/api/journal-data/status"],
    ["GET", "/metrics/api/journals"],
    ["GET", "/metrics/api/journals/research/<research_id>"],
    ["GET", "/metrics/api/journals/user-research"],
    ["GET", "/metrics/api/link-analytics"],
    ["GET", "/metrics/api/metrics"],
    ["GET", "/metrics/api/metrics/enhanced"],
    ["GET", "/metrics/api/metrics/research/<string:research_id>"],
    ["GET", "/metrics/api/metrics/research/<string:research_id>/links"],
    ["GET", "/metrics/api/metrics/research/<string:research_id>/search"],
    ["GET", "/metrics/api/metrics/research/<string:research_id>/timeline"],
    ["GET", "/metrics/api/pricing"],
    ["GET", "/metrics/api/pricing/<model_name>"],
    ["GET", "/metrics/api/rate-limiting"],
    ["GET", "/metrics/api/rate-limiting/current"],
    ["GET", "/metrics/api/ratings/<string:research_id>"],
    ["GET", "/metrics/api/research-costs/<string:research_id>"],
    ["GET", "/metrics/api/research/<string:research_id>/context-overflow"],
    ["GET", "/metrics/api/star-reviews"],
    ["GET", "/metrics/context-overflow"],
    ["GET", "/metrics/costs"],
    ["GET", "/metrics/journals"],
    ["GET", "/metrics/links"],
    ["GET", "/metrics/star-reviews"],
    ["GET", "/news/"],
    ["GET", "/news/api/categories"],
    ["GET", "/news/api/feed"],
    ["GET", "/news/api/scheduler/stats"],
    ["GET", "/news/api/scheduler/status"],
    ["GET", "/news/api/scheduler/users"],
    ["GET", "/news/api/search-history"],
    ["GET", "/news/api/subscription/folders"],
    ["GET", "/news/api/subscription/stats"],
    ["GET", "/news/api/subscription/subscriptions/organized"],
    ["GET", "/news/api/subscriptions/<subscription_id>"],
    ["GET", "/news/api/subscriptions/<subscription_id>/history"],
    ["GET", "/news/api/subscriptions/current"],
    ["GET", "/news/health"],
    ["GET", "/news/subscriptions"],
    ["GET", "/news/subscriptions/<subscription_id>/edit"],
    ["GET", "/news/subscriptions/new"],
    ["GET", "/notes/"],
    ["GET", "/notes/<string:note_id>"],
    ["GET", "/notes/api/documents/<string:document_id>/annotations"],
    ["GET", "/notes/api/documents/<string:document_id>/notes"],
    ["GET", "/notes/api/notes"],
    ["GET", "/notes/api/notes/<string:note_id>"],
    ["GET", "/notes/api/notes/<string:note_id>/backlinks"],
    ["GET", "/notes/api/notes/<string:note_id>/collections"],
    ["GET", "/notes/api/notes/<string:note_id>/outgoing-links"],
    ["GET", "/notes/api/notes/<string:note_id>/research"],
    ["GET", "/notes/api/notes/<string:note_id>/similar"],
    ["GET", "/notes/api/notes/<string:note_id>/suggested-links"],
    ["GET", "/notes/api/notes/<string:note_id>/unlinked-mentions"],
    ["GET", "/notes/api/notes/<string:note_id>/versions"],
    ["GET", "/notes/api/notes/<string:note_id>/versions/<string:version_id>"],
    ["GET", "/notes/api/notes/<string:note_id>/versions/semantic-diff"],
    ["GET", "/notes/api/notes/ask-context"],
    ["GET", "/notes/api/notes/search-for-linking"],
    ["GET", "/notes/api/notes/semantic-search"],
    ["GET", "/notes/api/research/<string:research_id>/annotations"],
    ["GET", "/notes/api/research/<string:research_id>/notes"],
    ["GET", "/progress/<string:research_id>"],
    ["GET", "/redirect-static/<path:path>"],
    ["GET", "/research/api/check/ollama_model"],
    ["GET", "/research/api/check/ollama_status"],
    ["GET", "/research/api/resources/<string:research_id>"],
    ["GET", "/research/api/settings/current-config"],
    ["GET", "/research/api/status/<string:research_id>"],
    ["GET", "/results/<string:research_id>"],
    ["GET", "/settings"],
    ["GET", "/settings/"],
    ["GET", "/settings/api"],
    ["GET", "/settings/api/<path:key>"],
    ["GET", "/settings/api/available-models"],
    ["GET", "/settings/api/available-search-engines"],
    ["GET", "/settings/api/backup-status"],
    ["GET", "/settings/api/bulk"],
    ["GET", "/settings/api/categories"],
    ["GET", "/settings/api/data-location"],
    ["GET", "/settings/api/ollama-status"],
    ["GET", "/settings/api/rate-limiting/status"],
    ["GET", "/settings/api/search-favorites"],
    ["GET", "/settings/api/types"],
    ["GET", "/settings/api/ui_elements"],
    ["GET", "/settings/api/warnings"],
    ["GET", "/settings/api_keys"],
    ["GET", "/settings/collections"],
    ["GET", "/settings/llm"],
    ["GET", "/settings/main"],
    ["GET", "/settings/search_engines"],
    ["GET", "/static/<path:path>"],
    ["PATCH", "/api/chat/sessions/<session_id>"],
    ["PATCH", "/api/news/subscriptions/<subscription_id>"],
    ["PATCH", "/notes/api/notes/<string:note_id>/research/<string:research_id>"],
    ["POST", "/api/chat/sessions"],
    ["POST", "/api/chat/sessions/<session_id>/attempts/<research_id>/retry"],
    ["POST", "/api/chat/sessions/<session_id>/generate-title"],
    ["POST", "/api/chat/sessions/<session_id>/messages"],
    ["POST", "/api/clear_history"],
    ["POST", "/api/followup/prepare"],
    ["POST", "/api/followup/start"],
    ["POST", "/api/news/feedback"],
    ["POST", "/api/news/preferences"],
    ["POST", "/api/news/research"],
    ["POST", "/api/news/subscriptions"],
    ["POST", "/api/save_raw_config"],
    ["POST", "/api/scheduler/run-now"],
    ["POST", "/api/start_research"],
    ["POST", "/api/terminate/<string:research_id>"],
    ["POST", "/api/upload/pdf"],
    ["POST", "/api/v1/analyze_documents"],
    ["POST", "/api/v1/generate_report"],
    ["POST", "/api/v1/quick_summary"],
    ["POST", "/api/v1/research/<research_id>/export/<format>"],
    ["POST", "/auth/change-password"],
    ["POST", "/auth/login"],
    ["POST", "/auth/logout"],
    ["POST", "/auth/register"],
    ["POST", "/auth/validate-password"],
    ["POST", "/benchmark/api/cancel/<int:benchmark_run_id>"],
    ["POST", "/benchmark/api/start"],
    ["POST", "/benchmark/api/start-simple"],
    ["POST", "/benchmark/api/validate-config"],
    ["POST", "/library/api/check-downloads"],
    ["POST", "/library/api/collections"],
    ["POST", "/library/api/collections/<string:collection_id>/index/cancel"],
    ["POST", "/library/api/collections/<string:collection_id>/index/start"],
    ["POST", "/library/api/collections/<string:collection_id>/search"],
    ["POST", "/library/api/collections/<string:collection_id>/upload"],
    ["POST", "/library/api/document/<string:document_id>/favorite"],
    ["POST", "/library/api/documents/preview"],
    ["POST", "/library/api/download-all-text"],
    ["POST", "/library/api/download-bulk"],
    ["POST", "/library/api/download-research/<research_id>"],
    ["POST", "/library/api/download-source"],
    ["POST", "/library/api/download-text/<int:resource_id>"],
    ["POST", "/library/api/download/<int:resource_id>"],
    ["POST", "/library/api/mark-redownload"],
    ["POST", "/library/api/open-folder"],
    ["POST", "/library/api/queue-all-undownloaded"],
    ["POST", "/library/api/rag/configure"],
    ["POST", "/library/api/rag/index-document"],
    ["POST", "/library/api/rag/remove-document"],
    ["POST", "/library/api/rag/test-embedding"],
    ["POST", "/library/api/research-history/convert-all"],
    ["POST", "/library/api/research/<string:research_id>/add-to-collection"],
    ["POST", "/library/api/sync-library"],
    ["POST", "/library/api/zotero/sync"],
    ["POST", "/library/api/zotero/test"],
    ["POST", "/metrics/api/cost-calculation"],
    ["POST", "/metrics/api/domain-classifications/classify"],
    ["POST", "/metrics/api/journal-data/download"],
    ["POST", "/metrics/api/ratings/<string:research_id>"],
    ["POST", "/news/api/check-overdue"],
    ["POST", "/news/api/feedback/<card_id>"],
    ["POST", "/news/api/feedback/batch"],
    ["POST", "/news/api/preferences"],
    ["POST", "/news/api/research/<card_id>"],
    ["POST", "/news/api/scheduler/check-now"],
    ["POST", "/news/api/scheduler/cleanup-now"],
    ["POST", "/news/api/scheduler/start"],
    ["POST", "/news/api/scheduler/stop"],
    ["POST", "/news/api/search-history"],
    ["POST", "/news/api/subscribe"],
    ["POST", "/news/api/subscription/folders"],
    ["POST", "/news/api/subscriptions/<subscription_id>/run"],
    ["POST", "/news/api/vote"],
    ["POST", "/notes/api/documents/<string:document_id>/annotations"],
    ["POST", "/notes/api/documents/<string:document_id>/notes"],
    ["POST", "/notes/api/notes"],
    ["POST", "/notes/api/notes/<string:note_id>/accept-link"],
    ["POST", "/notes/api/notes/<string:note_id>/collections"],
    ["POST", "/notes/api/notes/<string:note_id>/fact-check"],
    ["POST", "/notes/api/notes/<string:note_id>/fact-check/<string:research_id>/grade"],
    ["POST", "/notes/api/notes/<string:note_id>/index"],
    ["POST", "/notes/api/notes/<string:note_id>/key-concepts"],
    ["POST", "/notes/api/notes/<string:note_id>/research"],
    ["POST", "/notes/api/notes/<string:note_id>/research-questions"],
    ["POST", "/notes/api/notes/<string:note_id>/research/reorder"],
    ["POST", "/notes/api/notes/<string:note_id>/similar-passages"],
    ["POST", "/notes/api/notes/<string:note_id>/summarize"],
    ["POST", "/notes/api/notes/<string:note_id>/versions/<string:version_id>/restore"],
    ["POST", "/notes/api/notes/resolve-link"],
    ["POST", "/notes/api/notes/suggest-tags"],
    ["POST", "/notes/api/notes/synthesize"],
    ["POST", "/notes/api/notes/synthesize/preview"],
    ["POST", "/notes/api/research/<string:research_id>/annotations"],
    ["POST", "/notes/api/research/<string:research_id>/notes"],
    ["POST", "/notes/api/research/<string:research_id>/save-as-note"],
    ["POST", "/open_file_location"],
    ["POST", "/research/api/resources/<string:research_id>"],
    ["POST", "/research/api/start"],
    ["POST", "/research/api/terminate/<string:research_id>"],
    ["POST", "/settings/api/import"],
    ["POST", "/settings/api/notifications/test-url"],
    ["POST", "/settings/api/rate-limiting/cleanup"],
    ["POST", "/settings/api/rate-limiting/engines/<engine_type>/reset"],
    ["POST", "/settings/api/search-favorites/toggle"],
    ["POST", "/settings/fix_corrupted_settings"],
    ["POST", "/settings/open_file_location"],
    ["POST", "/settings/reset_to_defaults"],
    ["POST", "/settings/save_all_settings"],
    ["POST", "/settings/save_settings"],
    ["PUT", "/api/news/subscriptions/<subscription_id>"],
    ["PUT", "/library/api/collections/<string:collection_id>"],
    ["PUT", "/news/api/subscription/folders/<folder_id>"],
    ["PUT", "/news/api/subscription/subscriptions/<subscription_id>"],
    ["PUT", "/news/api/subscriptions/<subscription_id>"],
    ["PUT", "/notes/api/notes/<string:note_id>"],
    ["PUT", "/settings/api/<path:key>"],
    ["PUT", "/settings/api/search-favorites"]
  ],
  "views": [
    {"methods": ["GET"], "path": "/api/chat/sessions", "func": "list_sessions", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/chat/sessions", "func": "create_session", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/api/chat/sessions/<session_id>", "func": "delete_session", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/chat/sessions/<session_id>", "func": "get_session", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error"]},
    {"methods": ["PATCH"], "path": "/api/chat/sessions/<session_id>", "func": "update_session", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [400, 401, 404, 409, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/api/chat/sessions/<session_id>/attempts/<research_id>", "func": "delete_attempt", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401, 404, 409, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/chat/sessions/<session_id>/attempts/<research_id>/retry", "func": "retry_attempt", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [400, 401, 404, 409, 429, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/chat/sessions/<session_id>/generate-title", "func": "generate_session_title", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [200, 400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/chat/sessions/<session_id>/messages", "func": "get_messages", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/chat/sessions/<session_id>/messages", "func": "send_message", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [400, 401, 404, 409, 429, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/clear_history", "func": "clear_history", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/api/config/limits", "func": "get_upload_limits", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["DELETE"], "path": "/api/delete/<string:research_id>", "func": "delete_research", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/api/followup/prepare", "func": "prepare_followup", "file": "src/local_deep_research/followup_research/routes.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/followup/start", "func": "start_followup", "file": "src/local_deep_research/followup_research/routes.py", "auth": true, "status_codes": [400, 401, 404, 409, 429, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/history", "func": "get_history", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/api/news/categories", "func": "get_categories", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/news/feed", "func": "get_news_feed", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/news/feedback", "func": "submit_feedback", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/news/preferences", "func": "save_preferences", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/news/research", "func": "research_news_item", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/news/subscriptions", "func": "get_subscriptions", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/news/subscriptions", "func": "create_subscription", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [201, 400, 401, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/api/news/subscriptions/<subscription_id>", "func": "delete_subscription", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/news/subscriptions/<subscription_id>", "func": "get_subscription", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["PATCH", "PUT"], "path": "/api/news/subscriptions/<subscription_id>", "func": "update_subscription", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/news/subscriptions/<subscription_id>/history", "func": "get_subscription_history", "file": "src/local_deep_research/web/routes/news_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/queue/<string:research_id>/position", "func": "get_queue_position", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/queue/status", "func": "get_queue_status", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/api/report/<string:research_id>", "func": "get_research_report", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/research/<string:research_id>", "func": "get_research_details", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/research/<string:research_id>/logs", "func": "get_research_logs", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/research/<string:research_id>/logs/export", "func": "export_research_logs", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/research/<string:research_id>/status", "func": "get_research_status", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/api/save_raw_config", "func": "save_raw_config", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [400, 401, 403, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/scheduler/run-now", "func": "trigger_manual_run", "file": "src/local_deep_research/research_scheduler/routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/scheduler/status", "func": "get_scheduler_status", "file": "src/local_deep_research/research_scheduler/routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/start_research", "func": "start_research", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [400, 401, 409, 429, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/api/terminate/<string:research_id>", "func": "terminate_research", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/api/upload/pdf", "func": "upload_pdf", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [400, 401, 413, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/api/v1/", "func": "api_documentation", "file": "src/local_deep_research/web/api.py", "auth": true, "status_codes": [401, 403], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/v1/analyze_documents", "func": "api_analyze_documents", "file": "src/local_deep_research/web/api.py", "auth": true, "status_codes": [400, 401, 403, 500, 503], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/v1/generate_report", "func": "api_generate_report", "file": "src/local_deep_research/web/api.py", "auth": true, "status_codes": [400, 401, 403, 500, 503, 504], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/api/v1/health", "func": "health_check", "file": "src/local_deep_research/web/api.py", "auth": false, "status_codes": [], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/api/v1/quick_summary", "func": "api_quick_summary", "file": "src/local_deep_research/web/api.py", "auth": true, "status_codes": [400, 401, 403, 500, 503, 504], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/api/v1/research/<research_id>/export/<format>", "func": "export_research_report", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/auth/change-password", "func": "change_password_page", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302], "body_keys": []},
    {"methods": ["POST"], "path": "/auth/change-password", "func": "change_password", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302, 400, 401, 409], "body_keys": []},
    {"methods": ["GET"], "path": "/auth/check", "func": "check_auth", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/auth/csrf-token", "func": "get_csrf_token", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [200], "body_keys": []},
    {"methods": ["GET"], "path": "/auth/integrity-check", "func": "integrity_check", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/auth/login", "func": "login_page", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302], "body_keys": []},
    {"methods": ["POST"], "path": "/auth/login", "func": "login", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302, 400, 401, 429, 503], "body_keys": []},
    {"methods": ["POST"], "path": "/auth/logout", "func": "logout", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302], "body_keys": []},
    {"methods": ["GET"], "path": "/auth/register", "func": "register_page", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302], "body_keys": []},
    {"methods": ["POST"], "path": "/auth/register", "func": "register", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [302, 400, 500], "body_keys": []},
    {"methods": ["POST"], "path": "/auth/validate-password", "func": "validate_password", "file": "src/local_deep_research/web/auth/routes.py", "auth": false, "status_codes": [], "body_keys": []},
    {"methods": ["GET"], "path": "/benchmark/", "func": "index", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/benchmark/api/cancel/<int:benchmark_run_id>", "func": "cancel_benchmark", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/benchmark/api/configs", "func": "get_saved_configs", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/benchmark/api/delete/<int:benchmark_run_id>", "func": "delete_benchmark_run", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/benchmark/api/history", "func": "get_benchmark_history", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/benchmark/api/results/<int:benchmark_run_id>", "func": "get_benchmark_results", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/benchmark/api/results/<int:benchmark_run_id>/export", "func": "export_benchmark_results", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/benchmark/api/running", "func": "get_running_benchmark", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/benchmark/api/search-quality", "func": "get_search_quality", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/benchmark/api/start", "func": "start_benchmark", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/benchmark/api/start-simple", "func": "start_benchmark_simple", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/benchmark/api/status/<int:benchmark_run_id>", "func": "get_benchmark_status", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/benchmark/api/validate-config", "func": "validate_config", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": []},
    {"methods": ["GET"], "path": "/benchmark/results", "func": "results", "file": "src/local_deep_research/benchmarks/web_api/benchmark_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/chat/", "func": "chat_page", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/chat/<session_id>", "func": "chat_page", "file": "src/local_deep_research/chat/routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/details/<string:research_id>", "func": "research_details_page", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/history", "func": "history_page", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/history/", "func": "history_page", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/history/api", "func": "get_history", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/history/details/<string:research_id>", "func": "get_research_details", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/history/log_count/<string:research_id>", "func": "get_log_count", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/history/logs/<string:research_id>", "func": "get_research_logs", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/history/markdown/<string:research_id>", "func": "get_markdown", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/history/report/<string:research_id>", "func": "get_report", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/history/status/<string:research_id>", "func": "get_research_status", "file": "src/local_deep_research/web/routes/history_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/", "func": "library_page", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/check-downloads", "func": "check_downloads", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/library/api/collection/<string:collection_id>/document/<string:document_id>", "func": "remove_document_from_collection", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401, 403, 404], "body_keys": []},
    {"methods": ["DELETE"], "path": "/library/api/collection/<string:collection_id>/documents/bulk", "func": "remove_documents_from_collection_bulk", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/collections", "func": "get_collections", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/collections", "func": "create_collection", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/library/api/collections/<string:collection_id>", "func": "delete_collection", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["PUT"], "path": "/library/api/collections/<string:collection_id>", "func": "update_collection", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401, 404, 409], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/collections/<string:collection_id>/documents", "func": "get_collection_documents", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/library/api/collections/<string:collection_id>/index", "func": "delete_collection_index", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/collections/<string:collection_id>/index", "func": "index_collection", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/library/api/collections/<string:collection_id>/index/cancel", "func": "cancel_indexing", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/library/api/collections/<string:collection_id>/index/start", "func": "start_background_index", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401, 409, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/library/api/collections/<string:collection_id>/index/status", "func": "get_index_status", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/library/api/collections/<string:collection_id>/preview", "func": "get_collection_deletion_preview", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/collections/<string:collection_id>/search", "func": "search_collection", "file": "src/local_deep_research/research_library/search/routes/search_routes.py", "auth": true, "status_codes": [400, 401, 404], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/collections/<string:collection_id>/upload", "func": "upload_to_collection", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401, 404], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/collections/list", "func": "get_collections_list", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/config/supported-formats", "func": "get_supported_formats", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["DELETE"], "path": "/library/api/document/<string:document_id>", "func": "delete_document", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401, 403, 404], "body_keys": []},
    {"methods": ["DELETE"], "path": "/library/api/document/<string:document_id>/blob", "func": "delete_document_blob", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401, 403], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/document/<string:document_id>/favorite", "func": "toggle_favorite", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/document/<string:document_id>/pdf", "func": "serve_pdf_api", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/document/<string:document_id>/pdf-url", "func": "get_pdf_url", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/document/<string:document_id>/preview", "func": "get_document_deletion_preview", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/document/<string:document_id>/text", "func": "serve_text_api", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/documents", "func": "get_documents", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["DELETE"], "path": "/library/api/documents/blobs", "func": "delete_documents_blobs_bulk", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/library/api/documents/bulk", "func": "delete_documents_bulk", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/documents/preview", "func": "get_bulk_deletion_preview", "file": "src/local_deep_research/research_library/deletion/routes/delete_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/download-all-text", "func": "download_all_text", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/download-bulk", "func": "download_bulk", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/download-research/<research_id>", "func": "download_research_pdfs", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/download-source", "func": "download_source", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [400, 401, 404, 409], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/library/api/download-text/<int:resource_id>", "func": "download_text_single", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/download/<int:resource_id>", "func": "download_single_resource", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/get-research-sources/<research_id>", "func": "get_research_sources", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/mark-redownload", "func": "mark_for_redownload", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/open-folder", "func": "open_folder", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 403], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/library/api/queue-all-undownloaded", "func": "queue_all_undownloaded", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/rag/configure", "func": "configure_rag", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401, 403, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/library/api/rag/documents", "func": "get_documents", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/rag/index-all", "func": "index_all", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/library/api/rag/index-document", "func": "index_document", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/rag/info", "func": "get_index_info", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/library/api/rag/models", "func": "get_available_models", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/rag/remove-document", "func": "remove_document", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/rag/settings", "func": "get_current_settings", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/rag/stats", "func": "get_rag_stats", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/rag/test-embedding", "func": "test_embedding", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/research-history/collection", "func": "get_research_history_collection", "file": "src/local_deep_research/research_library/search/routes/search_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/research-history/convert-all", "func": "convert_all_research", "file": "src/local_deep_research/research_library/search/routes/search_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/research-list", "func": "get_research_list", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/research/<string:research_id>/add-to-collection", "func": "add_research_to_collection", "file": "src/local_deep_research/research_library/search/routes/search_routes.py", "auth": true, "status_codes": [400, 401, 404], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/stats", "func": "get_library_stats", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["POST"], "path": "/library/api/sync-library", "func": "sync_library", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/api/zotero/collections", "func": "list_collections", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/zotero/config", "func": "get_config", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/zotero/groups", "func": "list_groups", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/api/zotero/status", "func": "get_status", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/library/api/zotero/sync", "func": "sync_now", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/library/api/zotero/test", "func": "test_connection", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/collections", "func": "collections_page", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/collections/<string:collection_id>", "func": "collection_details_page", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/collections/<string:collection_id>/upload", "func": "collection_upload_page", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/collections/create", "func": "collection_create_page", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/document/<string:document_id>", "func": "document_details_page", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": []},
    {"methods": ["GET"], "path": "/library/document/<string:document_id>/chunks", "func": "view_document_chunks", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": []},
    {"methods": ["GET"], "path": "/library/document/<string:document_id>/pdf", "func": "view_pdf_page", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": []},
    {"methods": ["GET"], "path": "/library/document/<string:document_id>/txt", "func": "view_text_page", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401, 404], "body_keys": []},
    {"methods": ["GET"], "path": "/library/download-manager", "func": "download_manager_page", "file": "src/local_deep_research/research_library/routes/library_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/embedding-settings", "func": "embedding_settings_page", "file": "src/local_deep_research/research_library/routes/rag_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/search/", "func": "unified_search_page", "file": "src/local_deep_research/web/routes/unified_search_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/library/search/api/keyword", "func": "keyword_search", "file": "src/local_deep_research/web/routes/unified_search_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/search/api/semantic", "func": "semantic_search", "file": "src/local_deep_research/web/routes/unified_search_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/library/zotero", "func": "zotero_page", "file": "src/local_deep_research/research_library/routes/zotero_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/metrics/", "func": "metrics_dashboard", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/metrics/api/context-overflow", "func": "get_context_overflow_metrics", "file": "src/local_deep_research/web/routes/context_overflow_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/cost-analytics", "func": "api_cost_analytics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [200, 401], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/metrics/api/cost-calculation", "func": "api_cost_calculation", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/metrics/api/domain-classifications", "func": "api_get_domain_classifications", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/metrics/api/domain-classifications/classify", "func": "api_classify_domains", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/domain-classifications/progress", "func": "api_classification_progress", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/domain-classifications/summary", "func": "api_get_classifications_summary", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/metrics/api/journal-data/download", "func": "api_journal_data_download", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 403, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/journal-data/status", "func": "api_journal_data_status", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/metrics/api/journals", "func": "api_journal_quality", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [400, 401, 500, 503], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/journals/research/<research_id>", "func": "api_research_journals", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/journals/user-research", "func": "api_user_research_journals", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/link-analytics", "func": "api_link_analytics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/metrics/api/metrics", "func": "api_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/metrics/api/metrics/enhanced", "func": "api_enhanced_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/metrics/api/metrics/research/<string:research_id>", "func": "api_research_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/metrics/research/<string:research_id>/links", "func": "api_research_link_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/metrics/research/<string:research_id>/search", "func": "api_research_search_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/metrics/research/<string:research_id>/timeline", "func": "api_research_timeline_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/pricing", "func": "api_pricing", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/metrics/api/pricing/<model_name>", "func": "api_model_pricing", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/metrics/api/rate-limiting", "func": "api_rate_limiting_metrics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/metrics/api/rate-limiting/current", "func": "api_current_rate_limits", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/ratings/<string:research_id>", "func": "api_get_research_rating", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/metrics/api/ratings/<string:research_id>", "func": "api_save_research_rating", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/research-costs/<string:research_id>", "func": "api_research_costs", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/metrics/api/research/<string:research_id>/context-overflow", "func": "get_research_context_overflow", "file": "src/local_deep_research/web/routes/context_overflow_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/metrics/api/star-reviews", "func": "api_star_reviews", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/metrics/context-overflow", "func": "context_overflow_page", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/metrics/costs", "func": "cost_analytics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/metrics/journals", "func": "journal_quality", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/metrics/links", "func": "link_analytics", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/metrics/star-reviews", "func": "star_reviews", "file": "src/local_deep_research/web/routes/metrics_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/news/", "func": "news_page", "file": "src/local_deep_research/news/web.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/news/api/categories", "func": "get_categories", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/check-overdue", "func": "check_overdue_subscriptions", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/feed", "func": "get_news_feed", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/feedback/<card_id>", "func": "submit_feedback", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/feedback/batch", "func": "get_batch_feedback", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/preferences", "func": "save_preferences", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/research/<card_id>", "func": "research_news_item", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/scheduler/check-now", "func": "check_subscriptions_now", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 403, 500, 503], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/news/api/scheduler/cleanup-now", "func": "trigger_cleanup", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 403, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/news/api/scheduler/start", "func": "start_scheduler", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [200, 401, 403, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/news/api/scheduler/stats", "func": "scheduler_stats", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/scheduler/status", "func": "get_scheduler_status", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/scheduler/stop", "func": "stop_scheduler", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [200, 401, 403, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/news/api/scheduler/users", "func": "get_active_users", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/news/api/search-history", "func": "clear_search_history", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/search-history", "func": "get_search_history", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/search-history", "func": "add_search_history", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/subscribe", "func": "create_subscription", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/subscription/folders", "func": "get_folders", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/subscription/folders", "func": "create_folder", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [201, 400, 401, 409, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/news/api/subscription/folders/<folder_id>", "func": "delete_folder", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [200, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["PUT"], "path": "/news/api/subscription/folders/<folder_id>", "func": "update_folder", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/subscription/stats", "func": "get_subscription_stats", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["PUT"], "path": "/news/api/subscription/subscriptions/<subscription_id>", "func": "update_subscription_folder", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/subscription/subscriptions/organized", "func": "get_subscriptions_organized", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/news/api/subscriptions/<subscription_id>", "func": "delete_subscription", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/news/api/subscriptions/<subscription_id>", "func": "get_subscription", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["PUT"], "path": "/news/api/subscriptions/<subscription_id>", "func": "update_subscription", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/api/subscriptions/<subscription_id>/history", "func": "get_subscription_history", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/subscriptions/<subscription_id>/run", "func": "run_subscription_now", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/news/api/subscriptions/current", "func": "get_current_user_subscriptions", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/news/api/vote", "func": "vote_on_news", "file": "src/local_deep_research/news/flask_api.py", "auth": true, "status_codes": [400, 401, 404, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/health", "func": "health_check", "file": "src/local_deep_research/news/web.py", "auth": false, "status_codes": [500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/news/subscriptions", "func": "subscriptions_page", "file": "src/local_deep_research/news/web.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/news/subscriptions/<subscription_id>/edit", "func": "edit_subscription_page", "file": "src/local_deep_research/news/web.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/news/subscriptions/new", "func": "new_subscription_page", "file": "src/local_deep_research/news/web.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/notes/", "func": "notes_page", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/<string:note_id>", "func": "note_detail_page", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/documents/<string:document_id>/annotations", "func": "get_document_annotations", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/documents/<string:document_id>/annotations", "func": "create_document_annotation", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/notes/api/documents/<string:document_id>/annotations/<string:note_id>", "func": "delete_document_annotation", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/documents/<string:document_id>/notes", "func": "get_document_notes", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/documents/<string:document_id>/notes", "func": "create_document_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes", "func": "list_notes", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes", "func": "create_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 413], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/notes/api/notes/<string:note_id>", "func": "delete_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>", "func": "get_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["PUT"], "path": "/notes/api/notes/<string:note_id>", "func": "update_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/accept-link", "func": "accept_suggested_link", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/backlinks", "func": "get_backlinks", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/collections", "func": "get_note_collections", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/collections", "func": "add_note_to_collection", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 409, 413], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/notes/api/notes/<string:note_id>/collections/<string:collection_id>", "func": "remove_note_from_collection", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/fact-check", "func": "fact_check_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413, 422], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/fact-check/<string:research_id>/grade", "func": "grade_note_fact_check", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [200, 400, 401, 404, 409, 413, 502], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/index", "func": "index_note_to_collection", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/key-concepts", "func": "extract_key_concepts", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/outgoing-links", "func": "get_outgoing_links", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/research", "func": "get_note_research", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/research", "func": "link_research_to_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 404, 409, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/research-questions", "func": "extract_research_questions", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["PATCH"], "path": "/notes/api/notes/<string:note_id>/research/<string:research_id>", "func": "patch_note_research", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/research/reorder", "func": "reorder_note_research", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/similar", "func": "get_similar_notes", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/similar-passages", "func": "similar_passages", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/suggested-links", "func": "get_suggested_links", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/summarize", "func": "summarize_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/unlinked-mentions", "func": "get_unlinked_mentions", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/versions", "func": "get_note_versions", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/versions/<string:version_id>", "func": "get_note_version", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/<string:note_id>/versions/<string:version_id>/restore", "func": "restore_note_version", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/notes/api/notes/<string:note_id>/versions/semantic-diff", "func": "get_semantic_diff", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/ask-context", "func": "ask_context", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/resolve-link", "func": "resolve_link", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/search-for-linking", "func": "search_notes_for_linking", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/notes/semantic-search", "func": "semantic_search_notes", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/suggest-tags", "func": "suggest_tags", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/synthesize", "func": "synthesize_notes", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/notes/synthesize/preview", "func": "preview_synthesis", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [400, 401, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/research/<string:research_id>/annotations", "func": "get_research_annotations", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/research/<string:research_id>/annotations", "func": "create_research_annotation", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/notes/api/research/<string:research_id>/annotations/<string:note_id>", "func": "delete_research_annotation", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/notes/api/research/<string:research_id>/notes", "func": "get_research_notes", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/research/<string:research_id>/notes", "func": "create_research_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 404, 413], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/notes/api/research/<string:research_id>/save-as-note", "func": "save_research_as_note", "file": "src/local_deep_research/web/routes/notes_routes.py", "auth": true, "status_codes": [201, 400, 401, 404, 409, 413, 502], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/open_file_location", "func": "open_file_location", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401, 403], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/progress/<string:research_id>", "func": "progress_page", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/redirect-static/<path:path>", "func": "redirect_static", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": false, "status_codes": [302], "body_keys": []},
    {"methods": ["GET"], "path": "/research/api/check/ollama_model", "func": "check_ollama_model", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [400, 401], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/research/api/check/ollama_status", "func": "check_ollama_status", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/research/api/resources/<string:research_id>", "func": "api_get_resources", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/research/api/resources/<string:research_id>", "func": "api_add_resource", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["message"]},
    {"methods": ["DELETE"], "path": "/research/api/resources/<string:research_id>/delete/<int:resource_id>", "func": "api_delete_resource", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/research/api/settings/current-config", "func": "get_current_config", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/research/api/start", "func": "api_start_research", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/research/api/status/<string:research_id>", "func": "api_research_status", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/research/api/terminate/<string:research_id>", "func": "api_terminate_research", "file": "src/local_deep_research/web/routes/api_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/results/<string:research_id>", "func": "results_page", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/settings", "func": "settings_page", "file": "src/local_deep_research/web/routes/research_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/settings/", "func": "settings_page", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401], "body_keys": []},
    {"methods": ["GET"], "path": "/settings/api", "func": "api_get_all_settings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["DELETE"], "path": "/settings/api/<path:key>", "func": "api_delete_setting", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 403, 404, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/settings/api/<path:key>", "func": "api_get_db_setting", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 404, 500], "body_keys": ["error"]},
    {"methods": ["PUT"], "path": "/settings/api/<path:key>", "func": "api_update_setting", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [200, 201, 400, 401, 403, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/settings/api/available-models", "func": "api_get_available_models", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/settings/api/available-search-engines", "func": "api_get_available_search_engines", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/backup-status", "func": "api_get_backup_status", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/bulk", "func": "get_bulk_settings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/categories", "func": "api_get_categories", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/data-location", "func": "api_get_data_location", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/settings/api/import", "func": "api_import_settings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 403, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/settings/api/notifications/test-url", "func": "api_test_notification_url", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/settings/api/ollama-status", "func": "check_ollama_status", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401], "body_keys": ["error"]},
    {"methods": ["POST"], "path": "/settings/api/rate-limiting/cleanup", "func": "api_cleanup_rate_limiting", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/settings/api/rate-limiting/engines/<engine_type>/reset", "func": "api_reset_engine_rate_limiting", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/settings/api/rate-limiting/status", "func": "api_get_rate_limiting_status", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/search-favorites", "func": "api_get_search_favorites", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["PUT"], "path": "/settings/api/search-favorites", "func": "api_update_search_favorites", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/settings/api/search-favorites/toggle", "func": "api_toggle_search_favorite", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["GET"], "path": "/settings/api/types", "func": "api_get_types", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/ui_elements", "func": "api_get_ui_elements", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api/warnings", "func": "api_get_warnings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["error"]},
    {"methods": ["GET"], "path": "/settings/api_keys", "func": "api_keys_config_page", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [302, 401], "body_keys": []},
    {"methods": ["GET"], "path": "/settings/collections", "func": "collections_config_page", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [302, 401], "body_keys": []},
    {"methods": ["POST"], "path": "/settings/fix_corrupted_settings", "func": "fix_corrupted_settings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 500], "body_keys": ["message"]},
    {"methods": ["GET"], "path": "/settings/llm", "func": "llm_config_page", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [302, 401], "body_keys": []},
    {"methods": ["GET"], "path": "/settings/main", "func": "main_config_page", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [302, 401], "body_keys": []},
    {"methods": ["POST"], "path": "/settings/open_file_location", "func": "open_file_location", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 403], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/settings/reset_to_defaults", "func": "reset_to_defaults", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [401, 403, 500], "body_keys": ["message"]},
    {"methods": ["POST"], "path": "/settings/save_all_settings", "func": "save_all_settings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [400, 401, 500], "body_keys": ["error", "message"]},
    {"methods": ["POST"], "path": "/settings/save_settings", "func": "save_settings", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [302, 401], "body_keys": []},
    {"methods": ["GET"], "path": "/settings/search_engines", "func": "search_engines_config_page", "file": "src/local_deep_research/web/routes/settings_routes.py", "auth": true, "status_codes": [302, 401], "body_keys": []}
  ]
}