Golem · AsyncAPI Specification
Golem Worker Connect (WebSocket) API
Version 1.0
AsyncAPI description of Golem's worker `connect` WebSocket endpoint. The REST route GET /v1/components/{component_id}/workers/{agent_name}/connect upgrades the connection to a WebSocket (wss://) and streams a durable worker's live event log - stdout, stderr, structured log output, and invocation events - to the connected client. This is a genuine WebSocket transport, not Server-Sent Events. Authentication uses a bearer token.
Channels
/v1/components/{component_id}/workers/{agent_name}/connect
Stream live events emitted by the worker.
WebSocket channel that streams live events for a single durable worker. The client opens the connection and receives a stream of worker event messages; no client message body is required to start the stream.
Messages
WorkerEvent
Worker Event
A single event emitted by a connected worker.
Servers
wss
hosted
release.api.golem.cloud
Golem Cloud managed hosted service (WebSocket).
ws
selfHosted
localhost:9881
Local self-hosted Golem worker service (WebSocket).