Parameters
JSON body
Request body
application/jsonquestionstringRequiredLength: 1–∞
answerstringRequiredLength: 1–∞
roomIdstringOptionalLength: 24–24
modelstringOptionalLength: 0–100
sourcestringOptionalLength: 0–32
externalUserRefstringOptionalLength: 0–64
inputTokensstring | integerOptionalOne of 2:
Variant 1
stringinteger
Default:
0Variant 2
integer
Range: 0–∞
outputTokensstring | integerOptionalOne of 2:
Variant 1
stringinteger
Default:
0Variant 2
integer
Range: 0–∞
toolCallsobject[]OptionalOptional tool-call trace to attach to the assistant message. Each item is a flexible object; the /conversation UI expects at least {toolCallId, toolName, args?, result?, state?} shape.
Each array item:
object
metadataobjectOptional