---
title: "Read file content from user's Drive"
method: GET
path: "/api/v1/drive/files/{file_id}"
---

# Read file content from user's Drive

`GET /api/v1/drive/files/{file_id}`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/api/v1/drive/files/{file_id}`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`)

AUTHORITATIVE: Read the actual content of a file from the user's Google Drive. Supports Google Docs, Sheets, PDFs, text files, Excel files. Use when user asks to 'open my file', 'read my document', 'show me what's in X', 'get content of Y'.

## Path parameters

- `file_id` string, required

## Query parameters

- `page_start` integer
- `page_end` integer
- `search_term` string

## Response `200`

LIVE file content from user's Drive

- FileContentResponse
  - `user` string
  - `file_id` string
  - `content` unknown

## Other responses

- `401`: Authentication required
- `404`: File not found
- `500`: Internal server error

---

[API](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api.md) · [All operations](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/revisions/e25648ba6027?raw)
