API endpoint to start a preview chat session with an unpublished agent for testing purposes.
Identifier of the agent.
If set to true, the session will only be registered and the bot will not be started.
If provided, overrides the agent used to start the chat.
Initial context used to prefill variables when starting the session.
{
"First name": "John",
"Email": "john@gmail.com"
}If provided, it will be used as the session identifier and will overwrite any existing session with the same ID.
Password required if the agent was created with password protection.
richText, markdown Successful response