Skip to main content
GET
Stream a Google Drive file's bytes to host file transport

Authorizations

Authorization
string
header
required

MCP access token issued by the Den OAuth authorization server, passed as Authorization: Bearer <token>. Used by MCP transports and the direct-upload routes they call.

Path Parameters

fileId
string
required
Required string length: 1 - 512
Pattern: ^[A-Za-z0-9_-]+$

Query Parameters

format
string

Google Docs, Sheets, Slides and Drawings only: export format, such as xlsx or csv for a Sheet, docx, md, txt or pdf for a Doc, pptx for Slides. Defaults to the Office format.

Pattern: ^[a-z]{2,5}$
connectionId
string
Pattern: ^(google-workspace|emc_[A-Za-z0-9]+)$

Response

File bytes.

The response is of type file.