Google Connection
Get 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).
get/api/focused/google/connection-status
Request
- Base URLhttps://www.priority-guard.com (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: X-User-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-User-IDstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 2 revisions of this API.