# CreateProcessRequest


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "additionalProperties": false,
  "description": "CreateProcessRequest starts an interactive process.",
  "properties": {
    "cmd": {
      "description": "cmd is the argv vector.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "env": {
      "additionalProperties": {
        "title": "value",
        "type": "string"
      },
      "description": "env adds environment variables.",
      "type": "object"
    },
    "label": {
      "description": "(OPTIONAL) label is unique within the sandbox; omission retains the server-generated default.",
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "pty": {
      "$ref": "#/components/schemas/PtyConfig",
      "description": "pty requests a pseudo-terminal; absence uses separate stdin/stdout/stderr pipes."
    },
    "session": {
      "description": "session is an optional opaque session tag stored verbatim; empty means untagged.",
      "type": "string"
    },
    "user": {
      "description": "user is the user to run as.",
      "type": "string"
    },
    "workingDir": {
      "description": "working_dir is the process working directory.",
      "type": "string"
    }
  },
  "required": [
    "cmd"
  ],
  "title": "CreateProcessRequest",
  "type": "object"
}
```



