| name | api |
|---|---|
| description | Architectural specification for the API module |
The API module is a FastAPI-driven server acting as the RESTful presentation layer for the GNN pipeline.
- Server Initialization: Bootstraps the FastAPI application and mounts routers.
- Job Management: Provides asynchronous execution and tracking of long-running GNN pipeline tasks.
- Endpoints:
/health: System health status./process: Synchronous or asynchronous GNN file processing./jobs/{id}: Polling endpoint for job status./tools: Interface for MCP tool discovery.
Requires fastapi>=0.100.0 and uvicorn[standard]>=0.23.0 (installed via the api extra).