| 25 | api_key: Optional[str] = None |
| 26 | |
| 27 | class ExecuteResponse(BaseModel): |
| 28 | success: bool |
| 29 | results: List[Dict] |
| 30 | errors: List[str] |
| 31 | execution_time: float |
| 32 | timestamp: datetime |
| 33 | |
| 34 | @router.post("/execute", response_model=ExecuteResponse) |
| 35 | async def execute_pipeline( |