API
Last updated
Was this helpful?
Last updated
Was this helpful?
POST /api/v1/prediction/{your-chatflowid}
Request Body
question
User's question
string
Yes
overrideConfig
Override existing flow configuration
object
No
history
array
No
You can use the chatflow as API and connect to frontend applications.
You also have the flexibility to override input configuration with overrideConfig property.
POST /api/v1/vector/upsert/{your-chatflowid}
Request Body
overrideConfig
Override existing flow configuration
object
No
stopNodeId
Node ID of the vector store. When you have multiple vector stores in a flow, you might not want to upsert all of them. Specifying stopNodeId
will ensure only that specific vector store node is upserted.
array
No
Some document loaders in Flowise allow user to upload files:
GET /api/v1/chatmessage/{your-chatflowid}
DELETE /api/v1/chatmessage/{your-chatflowid}
Query Parameters
sessionId
string
sort
enum
ASC or DESC
startDate
string
endDate
string
How to use LangFlux API
Provide list of history messages to the flow. Only works when using
If the flow contains with Upload File functionality, the API looks slightly different. Instead of passing body as JSON, form-data is being used. This allows you to upload any files to the API.
For other nodes without Upload File functionality, the API body is in JSON format similar to .
How to use LangFlux API and connect to