---
title: "Search Google Drive files as the calling member"
method: GET
path: "/v1/capabilities/google-workspace/drive-files"
tags: ["Capability Sources"]
---

# Search Google Drive files as the calling member

`GET /v1/capabilities/google-workspace/drive-files`

Searches the calling member's Google Drive files by name and full text, using their connected Google Workspace account.

## Query parameters

- `query` string, required
- `maxResults` integer

## Response `200`

Google Drive files returned.

- GoogleWorkspaceDriveFilesResponse
  - `ok` true, required
  - `files` GoogleWorkspaceDriveFileSummary[], required
    - `id` string, required
    - `name` string, required
    - `mimeType` string, required
    - `modifiedTime` string, required
    - `webViewLink` string, required
    - `size` string, nullable, required

## Other responses

- `401` — The caller must be signed in.
- `409` — The calling member has not connected their Google account or is missing permission.
- `502` — Google rejected the request.

---

[API](https://skmtc.net/openworklabs/apis/den-api.md) · [All operations](https://skmtc.net/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openworklabs/den-api/versions/805150503452/schema)
