Skip to main content

AgentSubscriptions

No description

type AgentSubscriptions {
watchAgentRun(
agentRunId: Long!
fromSeq: Long
): [AgentRunEventGql!]
}

Fields​

AgentSubscriptions.watchAgentRun ● [AgentRunEventGql!] list object​

Subscribe to an agent run's live events (text deltas, tool calls, approvals)

AgentSubscriptions.watchAgentRun.agentRunId ● Long! non-null scalar​
AgentSubscriptions.watchAgentRun.fromSeq ● Long scalar​

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

Returned By​

agents subscription