List the prediction models you can use, with their ids and credit cost.
GET/v1/prediction/models
- Passive: the target is not contacted
The source of truth for model_id values. Models missing from the list are retired. Without a key only public models are returned; with a key, models your organization can access.
Response fields · 9ShowHide
message_code
Status string, e.g. success
id
Model identifier to pass as model_id
type
Model category, e.g. global
name
Display name
version
Model version
enabled
Whether the model is enabled
access_level
e.g. public
credits_per_use
Credits charged per prediction
status
Serving health: ready, down or unknown
curl 'https://api.geoinfer.com/v1/prediction/models' \
-H 'X-GeoInfer-Key: YOUR_API_KEY'{
"message_code": "success",
"data": [
{
"id": "global_v4_1",
"type": "global",
"name": "Global",
"version": "4.1",
"enabled": true,
"access_level": "public",
"credits_per_use": 1,
"status": "ready"
}
]
}