---
title: "Import Google Drive Files"
method: POST
path: "/api/cloud/google-drive/{connection_id}/import"
tags: ["cloud-storage"]
---

# Import Google Drive Files

`POST /api/cloud/google-drive/{connection_id}/import`

Import files from Google Drive and process them with OCR

This downloads files from Google Drive, uploads them to S3,
and creates Document records that can be processed with OCR.

## Path parameters

- `connection_id` string, required

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body

- ImportFilesRequest
  - `connection_id` string, required
  - `file_ids` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/718de1c0d866/schema)
