Nestor docs
Data

Data

Upload a dataset once and use it from runs and Endpoints. A Data item is a file or directory stored by Nestor with a fixed digest and a nestor:// reference. Every reader gets the exact bytes that were uploaded, verified on the way.

nestor data upload ./support-tickets.jsonl --name "support tickets"
nestor run . --command 'python train.py' --input /data/tickets=nestor://data/dat_…

You never choose a bucket, region, storage class or encryption setting; those are Nestor's and your organization's policy.

What you get

  • Immutable bytes. A READY item never changes. Each file has a SHA-256 digest, and the item has a digest over all of them.
  • Usage rules attached. Each item records what it may be used for: training, serving or application. A workload cannot read an item for a use it does not permit.
  • Every read recorded, every deletion audited. Downloads are recorded, and deletion is a tracked Operation.
  • Run results are Data too. Outputs and checkpoints from training runs and Runs are published as Data items that record which run produced them.

Upload

nestor data upload ./dataset/ --name "eval set v3" --use training
from nestor import Nestor

client = Nestor()
item = client.data.upload("./dataset/", name="eval set v3", permitted_uses=["training"])
print(item.id, item.reference)      # dat_…, nestor://data/dat_…

The CLI hashes each file, uploads it and waits until the item is READY. --use restricts the permitted uses (repeat it for several); by default an upload permits all three. Permitted uses cannot be changed after upload.

Upload limits: 256 files per item, 1 GiB per file and 4 GiB per item.

Use it

Reference the whole item or one file inside it:

ReferenceMeaning
nestor://data/dat_…The whole item, mounted as a directory.
nestor://data/dat_…/files/PATHOne file. Percent-encode / inside the path.
  • In a run: --input /data/NAME=REFERENCE mounts it read-only under /data/. The item must permit training.
  • In a container Endpoint: mount model weights or other files read-only; the item must permit serving. See Deploy a container.

Inspect and download

nestor data list
nestor data get dat_…
nestor data files dat_…
nestor data download dat_… ./copy

Downloads check each file's size and digest before replacing the destination.

Delete

nestor data delete dat_…

The item disappears from lists at once and can no longer be used by new workloads. Workloads already using it keep their copy until they finish. Nestor removes the bytes after those finish and a retention period of at least seven days, then records the deletion in the audit log.

Storage allowance

Data counts toward your project's storage allowance, 1 GiB for a starter organization. Usage in the Console shows current use. Contact tirth@nestor.software for more.

Documentation source ad860f2fd0ba

On this page