Google Places Command Guide (si orbit google places)
si orbit google places is the Google Places API (New) bridge for autocomplete, search, details, photos, local reporting, and raw API access.
Related:
Auth policy:
- API key only (Places API New web service usage).
- Credentials should be injected from
si vault(or compatible env keys). - Settings should store env references/pointers, not raw keys.
Credential Keys (Vault-Compatible)
Per account alias<ACCOUNT> (uppercase slug):
GOOGLE_<ACCOUNT>_PLACES_API_KEYGOOGLE_<ACCOUNT>_PROD_PLACES_API_KEYGOOGLE_<ACCOUNT>_STAGING_PLACES_API_KEYGOOGLE_<ACCOUNT>_DEV_PLACES_API_KEYGOOGLE_<ACCOUNT>_PROJECT_IDGOOGLE_<ACCOUNT>_DEFAULT_REGION_CODEGOOGLE_<ACCOUNT>_DEFAULT_LANGUAGE_CODEGOOGLE_<ACCOUNT>_API_BASE_URL
GOOGLE_PLACES_API_KEYGOOGLE_PROJECT_IDGOOGLE_API_BASE_URLGOOGLE_DEFAULT_ACCOUNTGOOGLE_DEFAULT_ENVGOOGLE_DEFAULT_REGION_CODEGOOGLE_DEFAULT_LANGUAGE_CODE
prod,staging,devare the supported context labels.testis intentionally not used as a standalone environment mode.
Context + Auth + Diagnostics
Session Tokens
Use sessions for autocomplete -> details flows:Search + Details
Photos
Types + Reports
report usage is local-log-based and reads the bridge log (~/.si/logs/google-places.log by default).
Raw Escape Hatch
Field Mask Policy
text,nearby, anddetailsrequire field masks.- Presets are available via
--field-preset(search-basic,details-basic, etc.). - Wildcard
*is blocked unless--allow-wildcard-maskis explicitly set. - Human mode prints a field-mask cost hint (
low|medium|high).
Error Reporting
On failures,si orbit google places surfaces:
- HTTP status and Google status/code
- request id (when present)
- error message and structured details payload
- redacted raw body for debugging

