Skip to main content
GET
/
api
/
provider-restrictions
/
map
Get all restrictions as a map (keyed by provider/model)
curl --request GET \
  --url https://api.mentionlab.io/api/provider-restrictions/map
[
  {
    "allowedCountries": [
      "US",
      "FR"
    ],
    "provider": "openai",
    "model": "ai-mode"
  }
]

Response

200 - application/json

Map of provider/model keys to their allowed countries

allowedCountries
string[]
required

List of allowed ISO 3166-1 alpha-2 country codes

Example:
["US", "FR"]
provider
string

Provider name (e.g., openai, anthropic)

Example:

"openai"

model
string

Specific model/provider key from MAP_PROVIDER_MODEL

Example:

"ai-mode"