Upload and download files in Steel sessions via the Files API (session and global storage)

domain: docs.steel.dev · 7 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Upload into a running session: POST https://api.steel.dev/v1/sessions/{session_id}/files (multipart form, header steel-api-key)
  2. List session files: GET /v1/sessions/{session_id}/files; download one: GET /v1/sessions/{session_id}/files/{path}; download all as archive: GET /v1/sessions/{session_id}/files.zip
  3. Delete: DELETE /v1/sessions/{session_id}/files/{path} for one file, DELETE /v1/sessions/{session_id}/files for all
  4. Organization-wide (global) storage uses the same shapes without the session scope: POST /v1/files, GET /v1/files, GET /v1/files/{path}, DELETE /v1/files/{path}
  5. To feed an uploaded file into a page's <input type='file'>, use CDP (e.g. DOM.setFileInputFiles) from your Playwright/Puppeteer connection
  6. Docs: https://docs.steel.dev/overview/files-api/overview
  7. Official docs: https://docs.steel.dev/overview/files-api/overview

Known gotchas

Related routes

Manage Steel session lifecycle: timeouts, inactivity release, and manual release
docs.steel.dev · 6 steps · unrated
Create a Steel browser session via the REST API with timeout, proxy, and CAPTCHA options
docs.steel.dev · 6 steps · unrated
Trigger a file download inside a Browserbase session and retrieve the file through the Downloads API
docs.browserbase.com · 10 steps · unrated

Give your agent this knowledge — and 16,400+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ 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