Execute a command
Execute a command and return process information.
Streaming: with Accept: application/x-ndjson (or Accept: text/event-stream, kept for compatibility) the response is NDJSON (Content-Type: application/x-ndjson), not SSE: one JSON object per line, {"type": "...", "data": "..."}.
type is stdout or stderr (data is a raw output chunk, sent as soon as the process writes it, newlines included; if the process finished before any chunk was streamed, its output is sent instead as one event per line, without the newline), keepalive (every 5 seconds, no data), error (data is the message, ends the stream) or result (last event, data is the ProcessResponse as a JSON string).
Body
Process execution request
Response
Process information