Skip to main content

RespondStreamEvent

Discriminated union of every event emitted on the streaming /v1/respond SSE stream. The discriminator type mirrors the SSE event: line.

type stringrequired

Discriminated union of every event emitted on the streaming /v1/respond SSE stream. The discriminator type mirrors the SSE event: line.

Possible values: [metadata, text, guardrail_modulation, completion, error]

interaction_idstringrequired
inferred_emotional_state objectnullablerequired

Structured emotional inference for the turn (mirrors the non-streaming respond response field). null when inference is disabled or failed.

primarystring
confidencenumber
secondarystring[]
intensitystring
valencenumber
arousalnumber
memory objectrequired
consultedbooleanrequired
summary_usedstringnullablerequired
significant_moments_referencedintegerrequired
RespondStreamEvent
{
"type": "metadata",
"interaction_id": "string",
"inferred_emotional_state": {
"primary": "string",
"confidence": 0,
"secondary": [
"string"
],
"intensity": "string",
"valence": 0,
"arousal": 0
},
"memory": {
"consulted": true,
"summary_used": "string",
"significant_moments_referenced": 0
}
}