# ExecRequest


[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": "ExecRequest runs a command to completion.",
  "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"
    },
    "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": "ExecRequest",
  "type": "object"
}
```



