GET
/
api
/
bash
/
processes
/
managed
curl --request GET \
  --url http://localhost:4242/{computer_name}/api/bash/processes/managed
[
  {
    "pid": 1234,
    "command": "long-running-task",
    "status": "running",
    "output": "Processing...\n50% complete"
  }
]

Response

200
application/json
Successfully retrieved process list
pid
integer
required

Process ID

Example:

1234

command
string
required

Command that was executed

Example:

"ls -la"

status
string
required

Current status of the process

Example:

"running"

output
string | null

Process output if available

Example:

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