Merge branch 'pr-402'

# Conflicts:
#	backend/app.py
This commit is contained in:
ajaysi
2026-03-09 15:40:30 +05:30
3 changed files with 70 additions and 2 deletions

View File

@@ -130,7 +130,9 @@ from api.seo_dashboard import (
analyze_urls_ai,
AnalyzeURLsRequest,
get_analyzed_pages,
get_semantic_health, # Phase 2B: Semantic health monitoring
get_semantic_health,
get_semantic_cache_stats,
get_sif_indexing_health,
get_onboarding_task_health,
)
@@ -350,6 +352,15 @@ async def semantic_cache_stats_endpoint(current_user: dict = Depends(get_current
"""
return await get_semantic_cache_stats(current_user)
@app.get("/api/seo-dashboard/sif-health")
async def sif_indexing_health_endpoint(current_user: dict = Depends(get_current_user)):
"""
Get SIF indexing health summary for the current user.
Used by the Semantic Indexing Status widget on the dashboard.
"""
return await get_sif_indexing_health(current_user)
# Comprehensive SEO Analysis endpoints
@app.post("/api/seo-dashboard/analyze-comprehensive")
async def analyze_seo_comprehensive_endpoint(request: SEOAnalysisRequest):