Agent
Stream agent run events
Streams all events for an agent run using Server-Sent Events (SSE). Replays all historical events, then streams new events until the run completes. Includes keepalive comments every 15 seconds. Only the user who created the run (in the same organization) can access it.
This endpoint is useful for reconnecting to an in-progress run after a page refresh.
get/api/agent/runs/{runId}/events
Path parameters
runIdstring required
Agent run ID (base64 URL-safe 32-byte token)
Headers
X-Grafana-Org-Idstring
Grafana organization ID for multi-tenant isolation. Defaults to '1' if not provided.
Response
Server-Sent Events stream