api.StreamLogsResponse
stream object
Stream contains the stream state for the requested stream
ConsumerCount tracks the number of active WebSocket consumers for this stream. When this drops to 0, streaming should be disabled.
CreatedAt is when the stream was created
End is the timestamp until which to stream logs. If zero, logs will be streamed indefinitely (live tailing).
ID is the unique identifier of the stream state
JobID is the identifier of the job associated with the stream
LogLevel is the minimum log level to stream (e.g., "info", "error")
NodeID is the identifier of the node associated with the stream and the job
Start is the timestamp from which to start streaming logs. If zero, logs will be streamed from the current time.
Streaming indicates whether log streaming is enabled for this job/node
UpdatedAt is when the stream was last updated
{
"stream": {
"consumer_count": 0,
"created_at": "string",
"end": "string",
"id": "string",
"job_id": "string",
"log_level": "string",
"node_id": "string",
"start": "string",
"streaming": true,
"updated_at": "string"
}
}