MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / get_stats

Function get_stats

src/api/admin.py:1470–1472  ·  view source on GitHub ↗

Get statistics for dashboard

(token: str = Depends(verify_admin_token))

Source from the content-addressed store, hash-verified

1468
1469@router.get("/api/stats")
1470async def get_stats(token: str = Depends(verify_admin_token)):
1471 """Get statistics for dashboard"""
1472 return await db.get_dashboard_stats()
1473
1474
1475@router.get("/api/logs")

Callers

nothing calls this directly

Calls 1

get_dashboard_statsMethod · 0.80

Tested by

no test coverage detected