diff --git a/agentic_security/routes/probe.py b/agentic_security/routes/probe.py index 523b3d0..3dee380 100644 --- a/agentic_security/routes/probe.py +++ b/agentic_security/routes/probe.py @@ -6,6 +6,7 @@ from fastapi.responses import JSONResponse from ..primitives import FileProbeResponse, Probe from ..probe_actor.refusal import REFUSAL_MARKS from ..probe_data import REGISTRY +from ._specs import LLM_SPECS router = APIRouter() @@ -73,6 +74,12 @@ async def data_config(): return [m for m in REGISTRY] +@router.get("/v1/llm-specs", response_model=list) +def get_llm_specs(): + """Returns the LLM API specifications.""" + return LLM_SPECS + + @router.get("/health") async def health_check(): """Health check endpoint."""