Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/places/autocomplete | Return Google Places predictions for cities or airports |
Authentication: send your Voyant API key via
Authorization: Bearer. The service proxies Google Places using your workspace configuration and never exposes your Google API key directly.Key concepts
- Queries shorter than three characters return an empty list to avoid unnecessary API calls.
- Use
kind=cityorkind=airportto restrict the type of predictions returned from Google Places. - Responses include
place_id, a human-readabledescription, and astructured_formattingpayload suitable for UI display. - The API gracefully degrades: Google errors are surfaced in the response while keeping
predictionsas an empty array.