curl --request GET \
--url https://api.onkernel.com/invocations/{id}/events \
--header 'Authorization: Bearer <token>'{
"event": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>"
}Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and status updates for an invocation. The stream terminates automatically once the invocation reaches a terminal state.
curl --request GET \
--url https://api.onkernel.com/invocations/{id}/events \
--header 'Authorization: Bearer <token>'{
"event": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The invocation ID to follow.
Show logs since the given time (RFC timestamps or durations like 5m).
"2025-06-20T12:00:00Z"
SSE stream of invocation state updates and logs.