diff --git a/backend/routers/prompts.py b/backend/routers/prompts.py index cc438db..acd1ed1 100644 --- a/backend/routers/prompts.py +++ b/backend/routers/prompts.py @@ -1447,11 +1447,11 @@ from models import UnifiedPromptCreate, UnifiedPromptUpdate @router.post("/execute") async def execute_unified_prompt( - prompt_slug: str, + prompt_slug: str = Query(..., description="Slug of prompt to execute"), modules: Optional[dict] = None, timeframes: Optional[dict] = None, - debug: bool = False, - save: bool = False, + debug: bool = Query(False, description="Include debug information (node_states, etc.)"), + save: bool = Query(False, description="Save result to ai_insights"), session: dict = Depends(require_auth) ): """