mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
17 lines
290 B
Python
17 lines
290 B
Python
from fastapi import APIRouter
|
|
|
|
misc_router = APIRouter()
|
|
|
|
|
|
@misc_router.get("/")
|
|
async def root():
|
|
"""
|
|
Root endpoint to check the status of the API.
|
|
"""
|
|
return {"status": "OK"}
|
|
|
|
|
|
@misc_router.get("/healthz", tags=["Health"])
|
|
async def healthz():
|
|
return {"status": "ok"}
|