v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
process

Get process by identifier

Get information about a process by its PID or name

get/process/{identifier}

Path parameters

identifierstring required

Process identifier (PID or name)

Response

Process information

commandstring required
completedAtstring required
exitCodeinteger required
keepAliveboolean

Whether scale-to-zero is disabled for this process

logsstring required
maxRestartsinteger
namestring required
pidstring required
restartCountinteger
restartOnFailureboolean
startedAtstring required
status'failed' | 'killed' | 'stopped' | 'running' | 'completed' required
stderrstring required
stdoutstring required
workingDirstring required

Example response

{
  "command": "ls -la",
  "completedAt": "Wed, 01 Jan 2023 12:01:00 GMT",
  "logs": "logs output",
  "maxRestarts": 3,
  "name": "my-process",
  "pid": "1234",
  "restartCount": 2,
  "restartOnFailure": true,
  "startedAt": "Wed, 01 Jan 2023 12:00:00 GMT",
  "status": "running",
  "stderr": "stderr output",
  "stdout": "stdout output",
  "workingDir": "/home/user"
}