Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Three server-sent event channels.
POST /api/adk/run_sse
GET /api/rag/stream/{agent_id}
connected
status
complete
GET /api/notifications/stream
const res = await fetch("/api/adk/run_sse", { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${token}`, }, body: JSON.stringify(payload), }); const reader = res.body.getReader(); const decoder = new TextDecoder(); while (true) { const { done, value } = await reader.read(); if (done) break; for (const line of decoder.decode(value).split("\n")) { if (line.startsWith("data: ")) { handle(JSON.parse(line.slice(6))); } } }
Related topics