Skip to main content
KiwiFS broadcasts knowledge-base changes over Server-Sent Events (SSE). Use GET /api/kiwi/events for live updates in the web UI or external integrations.
There is no WebSocket endpoint. SSE is the only real-time transport.

Event stream

SSE output

Event types

Client guidance

The SSE connection stays open indefinitely. Implement reconnection logic with backoff. Send the Last-Event-ID header to resume where you left off.
  • Use curl -N (no buffer) or a native SSE client library.
  • Authenticate the same way as other /api/kiwi routes when auth is enabled.
  • Events fire after the full pipeline: storage → git → index → broadcast.

Pipeline parity

Writes through any protocol (NFS, S3, WebDAV, FUSE, REST, MCP) emit the same event types.

Agent interface

Protocol overview.

Webhooks

Outbound HTTP notifications (complementary to SSE).
Last modified on May 23, 2026