TextStreamInterfaceTextStreamMessage
HTTP API schema
← HTTP API referenceView source specification ↗
A chunk of streamed text, with its stream ID and sequence, and whether it is the final chunk.
TextStreamInterfaceTextStreamMessage fields
- streamId
stringRequired Unique identifier for this text stream
minLength: 1
- sequenceId
integerRequired Sequence ID for this text stream
minimum: 0
- isFinal
booleanRequired Whether this is the final chunk in the stream
Default:
false- text
stringRequired