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.WARNING: this endpoint is deprecated and will be removed in a future version. Please use /v3/thread/turns endpoints
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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
embeddings - embeddingscorpus - corpusembeddings, corpus