Skip to content
Docs menu

Back to all methods

queryGarminGraphql

destructive

POSTs the caller's GraphQL body verbatim to `/graphql-gateway/graphql`. **The leading slash is load-bearing**: `connectapi` composes the request URL by plain string concatenation (`` `https://connectapi.${domain}${path}` ``), not `URL`-relative joining, so omitting the leading slash here would silently glue onto the hostname (`connectapi.garmin.comgraphql-gateway/graphql`) rather than 404 — the usual "a 404 means the URL is wrong" heuristic would not even catch it. The leading slash is therefore hardcoded and deliberate; `tests/services/misc.test.ts` pins the literal composed URL

queryGarminGraphql(query)
ParameterTypeOptionalDescription
queryobjectno

In Claude this is the query_garmin_graphql tool.

Guide: profile-and-misc