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.
Name of a region, for example 'California'.
Type of a region, for example 'state' or 'province'.
Name of a country.
A two character country code, for example 'US' or 'IN'.
A language code, for example 'en', typically selected by the user.
A locale, for exampl 'en-US'.
Response
A search location returned by /v2/location
. Can be passed to /v2/chat/completions
requests.
Represents an encoded canonical location string.
The country code of the search location.
The language code of the search location.
The city of the search location (used in output only).
The region of the search location (used in output only).
The country name of the search location (used in output only).