---
title: "Get the Google Drive connection"
method: GET
path: "/google-drive/connection/"
tags: ["google-drive"]
---

# Get the Google Drive connection

`GET /google-drive/connection/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/google-drive/connection/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Whether the signed-in user has connected Google Drive in this workspace. The grant is per user: drive.file reaches only the files that person picked.

## Response `200`

Successful Response

- GoogleDriveConnectionReadSchema: Whether the signed-in user has connected Drive in this workspace. Always a 200, never a 404: the settings page is asking "Connect, or pick?" and both answers are ordinary.
  - `configured` boolean, required: Whether this deployment has a Google Drive client at all. False means the Connect button should not be offered.
  - `connected` boolean, required
  - `connected_at` string, date-time, nullable, required
  - `google_account_email` string, nullable, required: Which Google account is connected, for the caption.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
