Stream deployment events via SSE
Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and status updates for a deployment. The stream terminates automatically once the deployment reaches a terminal state.
GET
/deployments/{id}/eventsEstablishes a Server-Sent Events (SSE) stream that delivers real-time logs and status updates for a deployment. The stream terminates automatically once the deployment reaches a terminal state.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
The deployment ID to follow.
Query Parameters
since?string
Show logs since the given time (RFC timestamps or durations like 5m).
Response
text/event-stream
SSE stream of deployment state updates and logs.
Union type representing any deployment event.
A log entry from the application.
curl -X GET "https://example.com/deployments/string/events"{ "event": "log", "timestamp": "2019-08-24T14:15:22Z", "message": "string"}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}