Skip to main content

ProcessRunRequest

HTTP API schema for ProcessRunRequest.

{
  "type": "object",
  "required": [
    "command"
  ],
  "properties": {
    "args": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "command": {
      "type": "string"
    },
    "cwd": {
      "type": "string",
      "nullable": true
    },
    "env": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "maxOutputBytes": {
      "type": "integer",
      "nullable": true,
      "minimum": 0
    },
    "timeoutMs": {
      "type": "integer",
      "format": "int64",
      "nullable": true,
      "minimum": 0
    }
  }
}