Skip to main content

ProcessInfo

HTTP API schema for ProcessInfo.

{
  "type": "object",
  "required": [
    "id",
    "command",
    "args",
    "tty",
    "interactive",
    "owner",
    "status",
    "createdAtMs"
  ],
  "properties": {
    "args": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "command": {
      "type": "string"
    },
    "createdAtMs": {
      "type": "integer",
      "format": "int64"
    },
    "cwd": {
      "type": "string",
      "nullable": true
    },
    "exitCode": {
      "type": "integer",
      "format": "int32",
      "nullable": true
    },
    "exitedAtMs": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "id": {
      "type": "string"
    },
    "interactive": {
      "type": "boolean"
    },
    "owner": {
      "$ref": "#/components/schemas/ProcessOwner"
    },
    "pid": {
      "type": "integer",
      "format": "int32",
      "nullable": true,
      "minimum": 0
    },
    "status": {
      "$ref": "#/components/schemas/ProcessState"
    },
    "tty": {
      "type": "boolean"
    }
  }
}

Related schemas: ProcessOwner, ProcessState.