---
name: gog-sites
description: "Google Sites via the gog CLI (read-only, Drive-backed): list and get site metadata, search sites, and print a site's web URL. Use to discover and inspect Google Sites with JSON output."
---

# gog sites

Read-only Google Sites lookups (Drive-backed) with parseable output. Pick the
account on every call with `--account <email>` (or set `GOG_ACCOUNT`).

## Reads

```bash
gog --account you@example.com sites list --json --wrap-untrusted
gog --account you@example.com sites get <siteId> --json --wrap-untrusted
gog --account you@example.com sites search "team" --json --wrap-untrusted
gog --account you@example.com sites url <siteId>
```

## Safety

- Read-only surface — no mutations. Pass `--no-input` in automation.
- stdout is data (`--json`/`--plain`); hints go to stderr.

## Discovery

`gog sites --help` · `gog sites <cmd> --help` · `gog schema sites <cmd> --json`
Reference: <https://gogcli.sh/>
