---
title: "Get Connection Status"
method: GET
path: "/api/focused/google/connection-status"
tags: ["Google Connection"]
---

# Get Connection Status

`GET /api/focused/google/connection-status`

Check if user has an active Google Calendar connection.

Called by MCP server with X-User-ID header (from validated JWT).

Args:
    x_user_id: User ID from JWT (set by MCP after token validation)
    session: Database session

Returns:
    200: {
        "connected": true,
        "connected_at": "2025-01-15T10:30:00Z",
        "scopes": ["https://www.googleapis.com/auth/calendar.readonly"]
    }
    or
    200: {"connected": false}

Note:
    Returns 200 even when not connected (not an error condition).

## Headers

- `X-User-ID` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/priority-guard/apis/priority-guardian.md) · [All operations](https://skmtc.net/priority-guard/apis/priority-guardian/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/priority-guard/priority-guardian/versions/8579218b716d/schema)
