Skip to content

KB/api

GET /api/v1/agents/stream

Last verified

Auto-generated. This article is rebuilt from FastAPI route introspection by scripts/build_api_kb.py. Edit the route docstring in app/ and re-run the script β€” do not edit this file directly.

GET /api/v1/agents/stream

Handler: app.signals.routes.get_agents_stream
Methods: GET

Description

Server-Sent Events stream of regime changes and critical alert fire/resolve.

Event types:

The stream polls the signals DB every 5 seconds. Clients should reconnect with exponential backoff; use the snapshot event to resynchronise.

Bounded by _STREAM_MAX_CONNECTIONS concurrent connections (503 over the cap) and _STREAM_MAX_LIFETIME_SECONDS per connection (API audit P1) β€” the stream emits a close event and ends at the lifetime cap so the client reconnects.

Curl

curl -s https://bigclawd.com/api/v1/agents/stream