# TimeoutOptions


[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": "TimeoutOptions selects deadline behavior; presence enables this feature for the sandbox.\nan explicit RESTART (or its deprecated alias KEEP) initial timeout must be at least one hour",
  "properties": {
    "autoResume": {
      "description": "Omission selects the advertised default; false does not disable RESTART or KEEP cycles.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "onTimeout": {
      "description": "on_timeout defaults to DELETE; an explicit UNSPECIFIED is invalid.",
      "not": {
        "enum": [
          "unspecified"
        ]
      },
      "oneOf": [
        {
          "$ref": "#/components/schemas/TimeoutAction"
        },
        {
          "type": "null"
        }
      ]
    },
    "timeout": {
      "$ref": "#/components/schemas/Duration",
      "description": "timeout is the initial TTL; omission selects the advertised action default."
    }
  },
  "title": "TimeoutOptions",
  "type": "object"
}
```



