Skip to main content
POST
Create Chat Completion
Generate an intelligent conversational reply using your trained workspace agent.

Headers

string
required
Bearer token: Bearer lb_live_YOUR_API_KEY
string
required
application/json

Body Parameters

string
required
The customer query or text message.
string
Unique conversation thread identifier to maintain state and history across turns.
object
Optional customer profile details.
boolean
default:"false"
Whether to stream responses back as server-sent events (text/event-stream).

Response