---
title: "Upload one multipart workspace file directly to Google Drive"
method: POST
path: "/v1/direct-uploads/google-workspace/drive-files"
tags: ["Direct uploads"]
---

# Upload one multipart workspace file directly to Google Drive

`POST /v1/direct-uploads/google-workspace/drive-files`

Authenticated host transport for openwork-cloud-uploads. The route immediately forwards the file to Google and does not persist it or expose its bytes to the model.

## Response `200`

Google Drive file uploaded.

- GoogleWorkspaceUploadDriveFileResponse
  - `ok` true, required
  - `file` GoogleWorkspaceDriveFileSummary, required
    - `id` string, required
    - `name` string, required
    - `mimeType` string, required
    - `modifiedTime` string, required
    - `webViewLink` string, required
    - `size` string, nullable, required

## Other responses

- `400` — The multipart upload was invalid.
- `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/revisions/db52fbf76027/schema)
