GET/api/v2/events
Signed-in sessionConsole session only
Subscribe to Server-Sent Events for real-time updates on jobs, discovery, drift, and apply operations
- Requires
organization:read(plusaudit:readfor audit topics). - Closes within 1 second of sign-out or permission loss, or within 30 seconds on the next heartbeat when idle.
Parameters
Query and header1 required of 3
topicsstringqueryrequired
Comma-separated topics to subscribe (e.g., job:*, target:uuid:discovery)
X-Organization-IDstring · uuidheader
Active organization context for topic authorization.
Last-Event-IDstringheader
Opaque resume cursor from previous stream
Responses
200
SSE stream
429
Too Many Requests
500
Streaming could not be started
Common errors: 400 401 403 504. They mean the same for every operation, see Errors.