-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't connect api to the new langflow pre release this is the body #1925
Comments
It looks like there might be a formatting issue with the {
"input_value": "message",
"output_type": "chat",
"input_type": "chat",
"tweaks": {
"parameter_name": "value",
"Component Name": {"parameter_name": "value"},
"component_id": {"parameter_name": "value"}
}
} Make sure your If you adjust your request according to these guidelines and still face issues, ensure you're providing a detailed error message for further assistance.
|
where do I find flow_id and session_id and where sould I put them? |
To include
Here's how you can structure your request: POST /run/{flow_id} HTTP/1.1
Host: <your_server>
Content-Type: application/json
x-api-key: YOUR_API_KEY
{
"input_value": "Sample input",
"input_type": "chat",
"output_type": "chat",
"tweaks": {},
"session_id": "<Your-Session-ID>"
} Make sure to replace
|
Hi @username5469 , Thank you for your understanding! |
Thank you for your contribution! This issue will be closed. If you have any questions or encounter another problem, please open a new issue and we will be ready to assist you. |
I can't connect api to the new langflow pre release this is the body
{"input_value": "message",
"output_type": "chat",
"input_type": "chat",
"tweaks": [
{
"ChatInput-5sGZ2": {},
"Prompt-M6Lnk": {},
"OpenAIModel-OzdvL": {},
"AstraDBSearch-aPVRb": {},
"File-xdwIq": {},
"RecursiveCharacterTextSplitter-yksdC": {},
"AstraDB-RWIJY": {},
"OpenAIEmbeddings-0K55b": {},
"ChatOutput-Buvxl": {}
}
]}
The text was updated successfully, but these errors were encountered: