const terminal = await api.compute.terminals.get("YOUR_TERMINAL_ID");
const output = await terminal.output({ since: 0 });terminal = api.compute.terminals.get("YOUR_TERMINAL_ID")
output = terminal.output(since=0)idstringrequiredID returned by terminals.create(). The terminal must belong to the signed-in account.
A terminal record includes id, name, command, storageId, cwd, status, busy, exitCode, by, startedAt, port and url.