"""Chrysopedia API — Knowledge extraction and retrieval system.""" from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware app = FastAPI( title="Chrysopedia API", description="Knowledge extraction and retrieval for music production content", version="0.1.0", ) app.add_middleware( CORSMiddleware, allow_origins=["*"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app.get("/health") async def health_check(): return {"status": "ok", "service": "chrysopedia-api"} @app.get("/api/v1/health") async def api_health(): return {"status": "ok", "version": "0.1.0"}