---
title: "GET /files/{fileId}/export"
method: GET
path: "/files/{fileId}/export"
tags: ["files"]
---

# GET /files/{fileId}/export

`GET /files/{fileId}/export`

Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Note that the exported content is limited to 10 MB.

## Path parameters

- `fileId` string, required

## Query parameters

- `mimeType` string, required

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/drive.md) · [All operations](https://skmtc.dev/google/apis/drive/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/drive/revisions/f3444ff3fae2/schema)
