Determine search location.
Request payload is a Location
object. Returns a SearchLocation
object.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Identifies a location. Used as input to /v2/location
requests.
Name of a city.
A two character country code, for example 'US' or 'IN'.
Name of a country.
A language code, for example 'en', typically selected by the user.
A locale, for exampl 'en-US'.
Name of a region, for example 'California'.
Type of a region, for example 'state' or 'province'.
Response
A search location returned by /v2/location
. Can be passed to /v2/chat/completions
requests.
The country code of the search location.
The language code of the search location.
Represents an encoded canonical location string.
The city of the search location (used in output only).
The country name of the search location (used in output only).
The region of the search location (used in output only).