Skip to content

UpsertFileInput ​

Type: Input

Input for creating or updating an external-backed file. Cloud-backed files go through requestFileUploads / completeFileUploads.

Fields ​

NameTypeDefaultDescription
categoryFileCategory!File category (required)
checksumStringFile checksum
componentIdComponentIDAssociated component ID
estimateIdEstimateIDAssociated estimate ID
externalStorageKeyStringStorage key for external-backed files. Required on create; cannot be set on cloud-backed files.
idFileIDID for update; omit for create
invoiceIdInvoiceIDAssociated invoice ID
jobIdJobIDAssociated job ID
mimeTypeString!MIME type (required)
nameString!Display name (required)
orderIdOrderIDAssociated order ID
originalFilenameString!Original filename (required)
parentFileIdFileIDParent file ID for versioned files
processingMetadataJSONMapProcessing metadata (JSON)
purchaseOrderIdPurchaseOrderIDAssociated purchase order ID
sizeBytesInt!File size in bytes (required)
statusFileStatusProcessing status (defaults to ready for external creates)
uploadedByUserIdUserIDID of the user uploading the file
usageRoleComponentFileUsageRoleUsage role when attached to a component
versionNumberIntVersion number (defaults to 1)

Connect machines, automate workflows, and build custom apps for print production.