Unable to Run Flow Without ChatInputComponent via API #6804
Replies: 1 comment 2 replies
-
To execute a flow via the Langflow API that does not include a import requests
url = "http://your-langflow-server/api/v1/run/advanced/{flow_id}"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.post(url, headers=headers)
print(response.json()) Replace To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Unable to Run Flow Without
Chat Input
component via APIDescription
I am trying to execute a flow using the Langflow API, but I noticed that the API endpoint only triggers the
Chat Input
component. My flow does not include aChat Input
component, yet I still want to execute it through the API.Expected Behavior
I should be able to run a flow via the API even if it does not contain a
Chat Input
component.Actual Behavior
The API only seems to execute flows that contain a
Chat Input
component, making it unclear how to trigger flows that use other input components.Steps to Reproduce
Chat Input
component.Question
How can I execute a flow via the API that does not include a
Chat Input
component?Beta Was this translation helpful? Give feedback.
All reactions