Skip to main content
GET
/
locations
List or look up locations
curl --request GET \
  --url https://api.istari.ai/v2/locations \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "location_id": "<string>",
      "name": "<string>",
      "location_type": "<string>",
      "parent_id": "<string>",
      "path": "<string>",
      "doc_count": 123
    }
  ],
  "count": 123
}

Authorizations

x-api-key
string
header
required

Your GOI API key. Create one on the GOI dashboard under API keys.

Query Parameters

parent_id
string | null
name
string | null
location_type
string | null
limit
integer | null

Response

Location items plus count.

items
LocationItem · object[]
required
count
integer
required