v1

latestOpenAPI 3.1.02026-07-13372867.8 KB
bash

Get Process Output

Retrieves the output of a background process by its ID.

get/api/bash/process/{pid}/output

Path parameters

pidinteger required

Response

Successfully retrieved process output

outputstring nullable

Command output if available

process_idinteger nullable

Process ID if running in background

statusstring

Command status: 'completed' or 'background'

Example response

{
  "output": "total 20\ndrwxr-xr-x  3 user  group   96 Mar 10 12:34 .",
  "status": "completed"
}