MCPcopy Create free account
hub / github.com/Roy3838/Observer / get_status

Function get_status

api/compute.py:329–335  ·  view source on GitHub ↗

Public endpoint showing model availability and hourly uptime statistics. Returns success rates for each model over the last 24 hours. No authentication required.

()

Source from the content-addressed store, hash-verified

327
328@compute_router.get("/status", tags=["Status"], summary="Get model availability and uptime statistics")
329async def get_status():
330 """
331 Public endpoint showing model availability and hourly uptime statistics.
332 Returns success rates for each model over the last 24 hours.
333 No authentication required.
334 """
335 return get_hourly_status()
336
337@compute_router.get("/quota", summary="Check remaining API credits for the authenticated user")
338async def check_quota_endpoint(current_user: AuthUser):

Callers

nothing calls this directly

Calls 1

get_hourly_statusFunction · 0.85

Tested by

no test coverage detected