Upload and manage Runloop storage objects and mount them (or auto-extracted archives) onto a devbox

domain: docs.runloop.ai · 9 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Upload text content as a storage object: `storage_object = await runloop.storage_object.upload_from_text(content=content, name=filename)`.
  2. Upload a local file as a storage object: `storage_object = await runloop.storage_object.upload_from_file(file_path='./hello.txt', name='hello.txt')`.
  3. Archive objects with extensions .gz, .tar, .tgz, .tar.gz are automatically extracted when mounted onto a devbox via an object mount.
  4. Fetch an existing object and its metadata: `storage_object = await runloop.storage_object.from_id('OBJECT_ID')` then getInfo().
  5. List objects: `await runloop.storage_object.list(limit=20)`; list public objects with `runloop.api.objects.listPublic(limit=20)`.
  6. Generate a time-limited download URL: `await storage_object.get_download_url(secondsToExpire)` (e.g. 3600 seconds).
  7. Mount an object onto a devbox at creation: `devbox = await runloop.devbox.create(name='devbox-name', mounts=[{ type: 'object_mount', object_id: storage_object.id, object_path: '/home/user/target_dir' }])`.
  8. Delete an object with `await storage_object.delete()` when no longer needed.
  9. Docs: https://docs.runloop.ai/docs/storage-objects/overview

Known gotchas

Related routes

Mount a GitHub repository onto a Runloop devbox at creation time (including private repos)
docs.runloop.ai · 7 steps · unrated
Create, list, and restore Runloop devbox disk snapshots for branching or rollback
docs.runloop.ai · 7 steps · unrated
Create, list, and restore Runloop devbox disk snapshots for branching or rollback
docs.runloop.ai · 7 steps · unrated

Give your agent this knowledge — and 17,000+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans