← API reference
CANONICAL TYPE REFERENCE

UpdateFileInput

Input for updating a file. Only provided fields are changed.

Associated job ID

Associated component ID

Associated order ID

Associated estimate ID

Associated invoice ID

Associated purchase order ID

nameString

Display name

Original filename

mimeTypeString

MIME type

File size in bytes

Storage key for external-backed files. Cannot be set on a folder-managed file.

checksumString

File checksum

File category

Processing status

Usage role when attached to a component

Parent file ID for versioned files

Version number

Processing metadata (JSON)

ID of the user uploading the file

View exact SDL
"""Input for updating a file. Only provided fields are changed."""
input UpdateFileInput {
  """Associated job ID"""
  jobId: JobID
  """Associated component ID"""
  componentId: ComponentID
  """Associated order ID"""
  orderId: OrderID
  """Associated estimate ID"""
  estimateId: EstimateID
  """Associated invoice ID"""
  invoiceId: InvoiceID
  """Associated purchase order ID"""
  purchaseOrderId: PurchaseOrderID
  """Display name"""
  name: String
  """Original filename"""
  originalFilename: String
  """MIME type"""
  mimeType: String
  """File size in bytes"""
  sizeBytes: Int
  """
  Storage key for external-backed files. Cannot be set on a folder-managed file.
  """
  externalStorageKey: String
  """File checksum"""
  checksum: String
  """File category"""
  category: FileCategory
  """Processing status"""
  status: FileStatus
  """Usage role when attached to a component"""
  usageRole: ComponentFileUsageRole
  """Parent file ID for versioned files"""
  parentFileId: FileID
  """Version number"""
  versionNumber: Int
  """Processing metadata (JSON)"""
  processingMetadata: JSONMap
  """ID of the user uploading the file"""
  uploadedByUserId: UserID
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.