Fetch a downloaded file's bytes or metadata from a Browserbase session (GET /v1/downloads/{id})

domain: browserbase.com · 4 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Get the download id from GET /v1/downloads?sessionId=<session-id>.
  2. GET https://api.browserbase.com/v1/downloads/{id} with header X-BB-API-Key: <api key>.
  3. Send Accept: application/json to get metadata (id, sessionId, filename, mimeType, size, checksum, createdAt).
  4. Send Accept: application/octet-stream to get the raw file bytes for saving to disk.

Known gotchas

Related routes

List files downloaded in a Browserbase session (GET /v1/downloads?sessionId=...)
browserbase.com · 4 steps · unrated
Trigger a file download inside a Browserbase session and retrieve the file through the Downloads API
docs.browserbase.com · 10 steps · unrated
Fetch CDP logs for a Browserbase session (GET /v1/sessions/{id}/logs)
browserbase.com · 3 steps · unrated

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

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