AI Models & Releases
ghealth Explained: The Open-Source Google Health API CLI
ghealth is Google's open-source command-line tool for reading Fitbit and Pixel Watch data through the Google Health API. This guide covers installation, the main commands, what data it reaches, and what to check before an AI agent uses it.
Key takeaways
- ghealth is Google's own open-source command-line tool for the Google Health API, announced by the Google Health team on July 1, 2026 under the Apache 2.0 license.
- Google ended support for the Fitbit Web API on September 30, 2026 and turns it off on October 30, 2026, with the Google Health API, launched on March 24, 2026, as its replacement.
- As of October 12, 2026 there is no packaged release, so installing ghealth means building it from source with Go 1.23 or later and linking it to your own Google Cloud project.
- The tool covers 40 data types, while Google's compatibility table lists 23 data types for the Fitbit Air and no ECG.
- ghealth stores sign-in tokens as plain text on your machine and its setup wizard defaults to all nine read-only scopes, so narrow the permissions before an AI agent uses it.
ghealth is an open-source command-line tool from Google that reads your Fitbit and Pixel Watch data through the Google Health API, the service that replaces the Fitbit Web API. You type a short command in a terminal (the text window where commands run) and get your steps, sleep or heart rate back as structured text. This guide covers who made ghealth, why the Fitbit Web API is going away, installation and sign-in, the main commands, use by AI agents, the data it reaches, and the privacy questions to settle first. All facts were checked on October 12, 2026.
