Move an upload to another path in the same project, keeping its ID. Requires project.uploads.write.
Arguments
inputMoveUploadInput!requiredinput.projectReferenceStringProject ID
input.uploadReferenceStringUpload UUID or project-relative path of the upload to move.
input.sourcePathStringAnother spelling of uploadReference. Send one of the two.
input.destinationPathString!requiredDestination file path
Responses
mutation MoveUpload($input: MoveUploadInput!) { moveUpload(input: $input) { success error file { id path name size mimeType createdAt updatedAt } id path fileName contentType sizeBytes url status visibility createdAt updatedAt deletedAt }}{ "data": { "moveUpload": { "success": false, "error": "string", "file": { "id": "string", "path": "string", "name": "string", "size": 0, "mimeType": "string", "createdAt": "string", "updatedAt": "string" }, "id": "string", "path": "string", "fileName": "string", "contentType": "string", "sizeBytes": 0, "url": "https://example.com", "status": "pending", "visibility": "project", "createdAt": "2026-01-01T00:00:00Z", "updatedAt": "2026-01-01T00:00:00Z", "deletedAt": "2026-01-01T00:00:00Z" } }}The MoveUploadPayload! in data.moveUpload.