Drives and data · NoMac

Docs · Drives and data+

Drives and data

Each user's work stays on a drive of their own, back on their next Mac. Here is what it costs, what NoMac keeps for a user, and how to delete it.

Their drive

What it costs

An account has 10 drives included, your team's own drives counting too. Past them, each save of a user's drive costs 1¢ per GB of changed data, from your credit; a drive is never refused or replaced for it. Eachdrive.savedwebhook carries the save's charge, and labels.getsays whether a user's saves are charged.

What NoMac keeps for a user

Their driveUntil 30 days pass without a session (a Mac running counts as use), then deleted, with a drive.deleted webhook.

File linksThe upload and download links your user's Mac made, until they expire.

Their Macs' recordsTimes, cost and label, for your billing and ours.

Never your account's secrets, and nothing your user's agent put outside ~/drive.

Read and delete a user

TypeScriptPython

const user = await nomac.labels.get("user-42");
// { macs: { running: [...], drive: { used_bytes, saved_at, saving, charged, expires_at } }, phones: { running: [...] } }

await nomac.labels.delete("user-42"); // when they delete their account with you

Deleting removes the user's drive and file copies, and their phones' workspaces and saved states; a repeat finds nothing left. It answers label_in_usewhile a Mac or phone of theirs runs, and label_busywhile their last drive save or phone replay is still saving (try again in a minute). The records stay for billing.

Over REST: GETand DELETE /api/v1/labels/{label}, and every user's use and cost for a period with GET /api/v1/usage/labels. To bill a user, see Webhooks and billing.

Previous← Show the desktop NextA phone per user →