---
title: "Preview a Drive PDF or image, or play a video or audio file"
method: GET
path: "/v1/documents/google-drive/files/{fileId}/content"
tags: ["Documents"]
---

# Preview a Drive PDF or image, or play a video or audio file

`GET /v1/documents/google-drive/files/{fileId}/content`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/documents/google-drive/files/{fileId}/content`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Requires organization membership, Workbot and Documents, and the member’s currently authorized Drive connection. Reads recheck provider access.

## Path parameters

- `fileId` string, required

## Query parameters

- `connectionId` string, required

## Response `200`

Document result.

- unknown

## Other responses

- `400`: The file cannot be shown.
- `409`: Reconnect or reload the changed file.

## Changes

- **2026-10-17** `018fac19dc53`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/documents/google-drive/files/:fileId/content/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
