CreateUploadInput

FieldTypeRequiredDescription
projectReferenceString!YesProject UUID, slug or configured domain.
pathString!YesProject-relative destination path, for example assets/image.png. Leading slashes are stripped.
contentTypeStringNoMIME type; it becomes a required header of the PUT request.
sizeBytesFloat!YesFile size in bytes, a positive integer of at most 9007199254740991, checked against the storage quota.

All GraphQL types · Operations