---
title: "List Google Drive Files"
method: GET
path: "/v1/organizations/connections/{connection_identifier}/files"
tags: ["Organization Connections"]
---

# List Google Drive Files

`GET /v1/organizations/connections/{connection_identifier}/files`

List files in Google Drive folder for preview.

Shows a preview of files in the selected folder when configuring sync operations.
Only available for Google Drive connections.

**Use Cases:**
- Preview files in a folder before selecting it for sync
- Verify folder contains expected files
- Check file types and counts

**Example:**
```bash
curl -X GET "http://localhost:8000/v1/organizations/connections/conn_abc123/files?path=/Marketing&max_results=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Path parameters

- `connection_identifier` string, required — Connection identifier - either connection ID (conn_...) or name. The system will automatically resolve names to IDs.

## Query parameters

- `path` string — Folder path to list files from
- `max_results` integer — Maximum number of files to return

## Response `200`

Successful Response

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/revisions/220a3b263fda/schema)
