GET
/
deployments
/
{id}
/
events
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted
});

const response = await client.deployments.follow('id');

console.log(response);
{
  "event": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The deployment ID to follow.

Query Parameters

since
string

Show logs since the given time (RFC timestamps or durations like 5m).

Example:

"2025-06-20T12:00:00Z"

Response

200
text/event-stream

SSE stream of deployment state updates and logs.

Union type representing any deployment event. A log entry from the application.