Locations
Retrieve normalized location details
getapi.modelmatch.com/v1/locations/retrieve/{mapboxId}
Retrieve normalized location details (city, state, county, zip, coordinates) for a suggestion ID from suggestLocations. A location dictionary id resolves from Model Match's own data and echoes back its id; any other id resolves through Mapbox.
Authorization
Path parameters
mapboxIdstringrequiredMapbox suggestion ID
Responses
200objectNormalized location detailsShow attributesHide attributes
locationobject | nullrequiredShow child attributesHide child attributes
citystringcountystringdisplayNamestringrequiredidstringLocation dictionary id, when this location is one of ours. Pass it to a city / county filter instead of the free-text name.
latnumberlonnumberplaceTypestringrequiredstatestringzipstring400objectValidation error401objectUnauthorized403objectForbidden (authenticated, but missing required context — e.g. no active organization)404objectNot found413objectResponse payload too large — detail endpoint capped to fit Lambda response limits503objectSearch timed out or the cluster is overloaded — retry after `Retry-After` seconds.