Skip to main content

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

Schema OPTIONAL
object
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type

Hi, how can I help you?