Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
Delta changes in streaming response

Fields

FieldTypeRequiredDescriptionExample
Audio*components.ChatAudioOutput:heavy_minus_sign:N/A{"data": "UklGRnoGAABXQVZFZm10IBAAAAABAAEAQB8AAEAfAAABAAgAZGF0YQoGAACBhYqFbF1f","expires_at": 1677652400,"id": "audio_abc123","transcript": "Hello! How can I help you today?"}
Contentoptionalnullable.OptionalNullable[string]:heavy_minus_sign:Message content deltaHello
Reasoningoptionalnullable.OptionalNullable[string]:heavy_minus_sign:Reasoning content deltaI need to
ReasoningDetails[]components.ReasoningDetailUnion:heavy_minus_sign:Reasoning details for extended thinking models[
{"text": "Let me think about this...","type": "text"}
]
Refusaloptionalnullable.OptionalNullable[string]:heavy_minus_sign:Refusal message delta<nil>
Role*components.ChatStreamDeltaRole:heavy_minus_sign:The role of the message authorassistant
ToolCalls[]components.ChatStreamToolCall:heavy_minus_sign:Tool calls delta