Create a new chatflow session with specified messages, model, and optional parameters. This endpoint starts a new chat session and returns the AI response based on the provided messages and configuration. You can optionally include tool configuration, workspace IDs, file IDs, and scope parameters to control the context of the conversation.
Bearer token authentication
Request serializer for creating a chatflow.
List of messages for the chatflow conversation
Model to use for the chatflow, must exist and be configured from the admin
Tool to use for the chatflow, must exist and be configured from the admin
List of workspace IDs whose documents will be added to scope
List of document IDs that will be added to scope
Include documents from company scope
Include documents from private scope
Successful response
embeddings - embeddingscorpus - corpusembeddings, corpus