Commands
Read a command's output
The command’s output as newline-delimited JSON: one object per piece of output (stream, offset, data; encoding: "base64" when not UTF-8), then {"event": "end", "status", "exit_code"} once it has ended. With follow=1 the answer stays open and streams output as it is written. Start from stdout_offset and stderr_offset to read only what is new.
GET
Read a command's output