Skip to main content

AiChatSubscriptions

No description

type AiChatSubscriptions {
watchChat(
chatId: Long!
fromSeq: Long
): [ChatEventGql!]
}

Fields​

AiChatSubscriptions.watchChat ● [ChatEventGql!] list object​

Subscribe to a chat's live events (text deltas, tool calls, diffs, approvals)

AiChatSubscriptions.watchChat.chatId ● Long! non-null scalar​
AiChatSubscriptions.watchChat.fromSeq ● Long scalar​

Replay persisted events with seq > fromSeq from the DB before going live (reload-resilience)

Returned By​

aiChat subscription