> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stardrift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Place Autocomplete

> Google Places autocomplete powering the Saved "Add a place" search.



## OpenAPI

````yaml /openapi.json get /saved/place-autocomplete
openapi: 3.1.0
info:
  title: Stardrift API
  description: >-
    Read and edit the authenticated user's trips, itineraries, recorded
    bookings, and saved lists. Private records are owner-scoped. MCP tool names
    are documented separately from these HTTP operations.
  version: v1
servers:
  - url: https://stardrift.ai/api
security: []
paths:
  /saved/place-autocomplete:
    get:
      tags:
        - saved
      summary: Place Autocomplete
      description: Google Places autocomplete powering the Saved "Add a place" search.
      operationId: place_autocomplete_saved_place_autocomplete_get
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            minLength: 2
            title: Query
        - name: lat
          in: query
          required: false
          schema:
            anyOf:
              - type: number
              - type: 'null'
            title: Lat
        - name: lng
          in: query
          required: false
          schema:
            anyOf:
              - type: number
              - type: 'null'
            title: Lng
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlaceSuggestion'
                title: Response Place Autocomplete Saved Place Autocomplete Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PlaceSuggestion:
      properties:
        place_id:
          type: string
          title: Place Id
        name:
          type: string
          title: Name
        address:
          type: string
          title: Address
        types:
          items:
            type: string
          type: array
          title: Types
      type: object
      required:
        - place_id
        - name
        - address
      title: PlaceSuggestion
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````