GET
/
api
/
bash
/
process
/
{pid}
/
output
curl --request GET \
  --url http://localhost:4242/{computer_name}/api/bash/process/{pid}/output
{
  "output": "Processing...\n50% complete",
  "process_id": 1234,
  "status": "background"
}

Path Parameters

pid
integer
required

Response

200
application/json
Successfully retrieved process output
output
string | null

Command output if available

Example:

"total 20\ndrwxr-xr-x 3 user group 96 Mar 10 12:34 ."

process_id
integer | null

Process ID if running in background

Example:

1234

status
string
default:completed

Command status: 'completed' or 'background'

Example:

"completed"