# FilesUploadRequest


[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
{
  "description": "UploadRequest is one frame in an upload stream.",
  "oneOf": [
    {
      "properties": {
        "data": {
          "description": "data appends bytes to the current file.",
          "format": "byte",
          "type": "string"
        }
      },
      "required": [
        "data"
      ],
      "title": "data",
      "type": "object"
    },
    {
      "properties": {
        "header": {
          "$ref": "#/components/schemas/FileHeader",
          "description": "header starts a new file. The first frame, and the first frame after each\ncompleted file, must be this arm."
        }
      },
      "required": [
        "header"
      ],
      "title": "header",
      "type": "object"
    }
  ],
  "title": "UploadRequest",
  "type": "object",
  "unevaluatedProperties": false
}
```



