API Reference

List Models

Get all available prediction models and their configurations. No authentication required.

GET
/v1/prediction/models

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
    },
    {
      "id": "pais_vasco_v0_1",
      "type": "accuracy",
      "name": "País Vasco",
      "version": "0.1",
      "enabled": true,
      "access_level": "whitelist",
      "credits_per_use": 3
    }
  ]
}