Skip to main content
An upload is the ledger entry for a single file the Miru Agent has collected from a device and uploaded to your bucket. Once a file rule with an upload block is deployed to a device, the Miru Agent handles the rest: detecting when a matching file is finished, uploading it to your bucket, and recording it in the ledger with the properties below.

Properties

Source
The source file collected from the device. See Sources.
Destination
Where the collected file was uploaded. See Destinations.
string
The digest of the uploaded file. Used to deduplicate uploads, so each file is uploaded exactly once, and to verify integrity.Example: sha256:1234567890
integer
The size of the uploaded file, in bytes.
enum
The status of the upload.Allowed values:
  • pending
  • uploaded
datetime
Timestamp of when the upload was durably confirmed. Null until the upload completes.
Device
The device that produced the upload.
File Rule
The file rule that produced the upload.
Deployment
The deployment that was active on the device when the upload was produced.
Uploads also carry the standard created_at, updated_at, and workspace_id bookkeeping fields.

Sources

An upload’s source identifies the file collected from the device and when it was last modified.
string
Absolute path of the file on the device. Its basename renders the {file_name} variable in the upload path template.Example: /var/log/robot/robot.log
datetime
The file’s mtime timestamp as reported by the operating system.
datetime
The timestamp of when the file was first observed by the Miru Agent for this upload.
datetime
The timestamp of when the file was last observed by the Miru Agent for this upload.

Destinations

An upload’s destination identifies the bucket and object key where the file was written.
Bucket
The registered bucket the file was uploaded to.
string
The object path the file was written to in the destination bucket. Rendered from the rule’s path template, it carries the device’s verified ID.Example: logs/dvc_123/upl_123/robot.log

Status

An upload’s status tracks whether the device has confirmed that the file was durably written to the destination bucket. Uploads begin in the pending state. A device may retry or resume the transfer while the upload remains pending. After the device confirms the durable write, the upload transitions to uploaded, which is its terminal state.
Last modified on August 12, 2026