"""API v1 routes."""

from fastapi import APIRouter

from src.api.v1.scenarios import router as scenarios_router
from src.api.v1.ingest import router as ingest_router
from src.api.v1.metrics import router as metrics_router
from src.api.v1.reports import scenario_reports_router, reports_router
from src.api.v1.auth import router as auth_router
from src.api.v1.apikeys import router as apikeys_router

api_router = APIRouter()
api_router.include_router(auth_router, tags=["authentication"])
api_router.include_router(apikeys_router, tags=["api-keys"])
api_router.include_router(scenarios_router, prefix="/scenarios", tags=["scenarios"])
api_router.include_router(ingest_router, tags=["ingest"])
api_router.include_router(metrics_router, prefix="/scenarios", tags=["metrics"])
api_router.include_router(
    scenario_reports_router, prefix="/scenarios", tags=["reports"]
)
api_router.include_router(reports_router, prefix="/reports", tags=["reports"])
