← API reference
CANONICAL TYPE REFERENCE

ChatSessionStreamChunk

A chunk of a streaming chat response

The session ID this chunk belongs to

contentString

Partial text content received

Partial custom app content (for app dev context)

isCompleteBoolean!

Whether this is the final chunk

The message ID (available in final chunk)

View exact SDL
"""A chunk of a streaming chat response"""
type ChatSessionStreamChunk {
  """The session ID this chunk belongs to"""
  sessionId: ChatSessionID!
  """Partial text content received"""
  content: String
  """Partial custom app content (for app dev context)"""
  appContent: CustomAppContent
  """Whether this is the final chunk"""
  isComplete: Boolean!
  """The message ID (available in final chunk)"""
  messageId: ChatMessageID
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.