Webhook Run Flow
Run a flow using a webhook request.
Args: flow (Flow, optional): The flow to be executed. Defaults to Depends(get_flow_by_id). user (User): The flow user. request (Request): The incoming HTTP request. background_tasks (BackgroundTasks): The background tasks manager.
Returns: dict: A dictionary containing the status of the task.
Raises: HTTPException: If the flow is not found or if there is an error processing the request.
Path Parameters |
---|
flow_id_or_name Flow Id Or Name — REQUIRED |
Query Parameters |
---|
user_id User Id |
Responses | |||||
---|---|---|---|---|---|
202 Successful Response
| |||||
422 Validation Error
|