Skip to main content
POST
Send a turn and stream progress, deltas, widgets, confirmations and done

Authorizations

Authorization
string
header
required

API key or OAuth access token.

Headers

Last-Event-ID
string

Resume after this event sequence id.

Body

application/json
prompt
string
required
Maximum string length: 32000
scopeType
enum<string>
required
Available options:
customer,
advertiser
scopeId
string
required
Minimum string length: 1
attachments
object[]
required
Maximum array length: 5
pageContext
object
required
conversationUid
string
Minimum string length: 6
preferredLanguage
enum<string>
Available options:
ar,
de,
en,
es,
fr,
hi,
it,
ko,
nl,
pl,
pt,
sv,
tr,
ja,
zh
modelContext
object[]

Response

OK

Server-sent events; each data: line carries one frame below.