API Reference

List Models

Returns available prediction models and their configurations. **Unauthenticated** — returns only `public` models (e.g. Global). **Authenticated** — if your API key has whitelist access, the response also includes `whitelist` models such as High Accuracy region-specific models. Pass your key in the `X-GeoInfer-Key` header.

GET
/v1/prediction/models

Authorization

ApiKeyAuth
X-GeoInfer-Key<token>

API key prefixed with geo_. Manage keys at https://app.geoinfer.com/en/api.

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/prediction/models"

{
  "message_code": "success",
  "data": [
    {
      "id": "global_v0_1",
      "type": "global",
      "name": "Global",
      "version": "0.1",
      "enabled": true,
      "access_level": "public",
      "credits_per_use": 1
    }
  ]
}