27 lines
868 B
Python
27 lines
868 B
Python
"""
|
|
Main API router for v1 endpoints.
|
|
"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import (
|
|
auth,
|
|
documents,
|
|
queries,
|
|
commitments,
|
|
analytics,
|
|
health,
|
|
vector_operations,
|
|
)
|
|
|
|
api_router = APIRouter()
|
|
|
|
# Include all endpoint routers
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
|
api_router.include_router(documents.router, prefix="/documents", tags=["Documents"])
|
|
api_router.include_router(queries.router, prefix="/queries", tags=["Queries"])
|
|
api_router.include_router(commitments.router, prefix="/commitments", tags=["Commitments"])
|
|
api_router.include_router(analytics.router, prefix="/analytics", tags=["Analytics"])
|
|
api_router.include_router(health.router, prefix="/health", tags=["Health"])
|
|
api_router.include_router(vector_operations.router, prefix="/vector", tags=["Vector Operations"])
|