Send message
POST /workspaces/{workspace_id}/chat
POST
/workspaces/{workspace_id}/chat
Send a message to the AI assistant and receive a response. Supports streaming via Server-Sent Events.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
string format: uuid
Workspace ID
Request Body required
Section titled “Request Body required ”object
message
required
User message
string
stream
Enable streaming response
boolean
include_history
Include conversation history
boolean
scenario_id
Active scenario for context
string format: uuid
stack_id
Active stack for context
string format: uuid
model
Override default model
string
temperature
number
Responses
Section titled “ Responses ”Chat response (streaming or complete)
object
message
object
id
string format: uuid
role
string
content
string
agent_name
string
created_at
string format: date-time
citations
Array<object>
object
number
integer
source_id
string
chunk_text
string
usage
object
input_tokens
integer
output_tokens
integer
Server-Sent Events stream
string