Replies: 2 comments 5 replies
-
To ensure that the security key variables are used when running the flow with the @router.post("/run/advanced/{flow_id}", response_model=RunResponse, response_model_exclude_none=True)
async def experimental_run_flow(
session: Annotated[Session, Depends(get_session)],
flow_id: str,
inputs: Optional[List[InputValueRequest]] = [InputValueRequest(components=[], input_value="")],
outputs: Optional[List[str]] = [],
tweaks: Annotated[Optional[Tweaks], Body(embed=True)] = None,
stream: Annotated[bool, Body(embed=True)] = False,
session_id: Annotated[Union[None, str], Body(embed=True)] = None,
api_key_user: User = Depends(api_key_security),
session_service: SessionService = Depends(get_session_service),
):
... The To use the API key, include it in your API requests either in the Using the
|
Beta Was this translation helpful? Give feedback.
-
How do I return quickly when invoking a flow via API instead of waiting for all the components to finish running?
I don't need to receive the output of processed data.
The entry is Chat Input and there is Chat Output on the end.
Beta Was this translation helpful? Give feedback.
All reactions