API endpoint to initiate a new chat session with a published agent.
Public identifier of the bot.
Only provide this if the flow starts with an input block and you want to directly submit an initial response.
If enabled, OpenAI completions must be streamed from the client and the generated response sent back to the API.
Provide this if you want to overwrite an existing result.
If set to true, the session will only be registered and the bot will not be started. Useful for third-party chat platforms that require a session to exist before sending the first message.
Initial context used to prefill variables when starting the session.
{
"First name": "John",
"Email": "john@gmail.com"
}richText, markdown Original HTTP request object.
Successful response
Session identifier, used for subsequent continuation requests.
Message validated and normalized by the backend. For example, responses like tomorrow in a date input are converted into an explicit date value.
Actions to be executed on the client side.
Logs generated during the last execution.
If the agent includes dynamic avatars, returns updated avatar URLs whenever their variables change.
If the progress bar is enabled, returns a value between 0 and 100 indicating the current progress based on the longest remaining path in the flow.