Send a client chat message

Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. turnId and submitMode are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields.

Request

This endpoint expects an object.
messageslist of objectsRequired
sessionIdstringRequired>=1 character
assistantMessageIdstringOptional
clientToolslist of objectsOptional
clientToolsFingerprintstringOptional<=128 characters
inputsmap from strings to anyOptional
metadatamap from strings to anyOptional
submitModeenumOptional
Allowed values:
turnIdstringOptional1-128 characters

Response

SSE stream of chat execution events
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object
OR
object

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error