---
updatedAt: 2026-08-18T18:39:20.000Z
agentTools:
  projectIndex: https://stockpit.readme.io/llms.txt
---

# Mutations

See the [Queries](/reference/file-queries) page for a presentation of this resource.

> **Note** : There is no public mutation for the File entity. The input data types below are exposed by the API and used by other public mutations.

<br/>

# Input data types

## FileInput data type

| id <span style={{ fontWeight: "normal" }}>- [ID](/reference/data-types#id) </span> |
| :--------------------------------------------------------------------------------- |
| Unique identifier of the file                                                      |

## TmpBucketFileInput data type

| uuid <span style={{ fontWeight: "normal" }}>- [String](/reference/data-types#string) </span> |
| :------------------------------------------------------------------------------------------- |
| Identifier of the temporary upload                                                           |

| bucket <span style={{ fontWeight: "normal" }}>- [String](/reference/data-types#string) </span> |
| :--------------------------------------------------------------------------------------------- |
| Storage bucket of the temporary upload                                                         |

| key <span style={{ fontWeight: "normal" }}>- [String](/reference/data-types#string) </span> |
| :------------------------------------------------------------------------------------------ |
| Storage key of the temporary upload                                                         |

| name <span style={{ fontWeight: "normal" }}>- [String](/reference/data-types#string) </span> |
| :------------------------------------------------------------------------------------------- |
| Name of the temporary file                                                                   |

| content\_type <span style={{ fontWeight: "normal" }}>- [String](/reference/data-types#string) </span> |
| :---------------------------------------------------------------------------------------------------- |
| MIME type of the temporary file                                                                       |

| max\_size <span style={{ fontWeight: "normal" }}>- [Int](/reference/data-types#int) </span> |
| :------------------------------------------------------------------------------------------ |
| Maximum allowed size of the temporary file in bytes                                         |