Models

Get Model

GET/v1/models/{id}

Retrieve the full details for a specific model, including the complete scorecard specification. This is useful for auditing model definitions or comparing versions.

Authentication: JWT token. Any authenticated team member can view model details.

Path Parameters

idstringrequired

The model ID (e.g. mod_r4Kw9xPm).

Error Responses

401unauthorized

JWT is missing or expired.

404model_not_found

No model exists with the provided ID.

Get Model
curl https://api.cali-br.com/v1/models/mod_r4Kw9xPm \
  -H #a5d6ff">"Authorization: Bearer eyJhbGciOiJSUzI1NiIs..."
Response200
{
  "id": "mod_r4Kw9xPm",
  "name": "retail_unsecured_v3",
  "version": "1.2.0",
  "spec_version": "1.0",
  "status": "active",
  "environment": "production",
  "description": "Q1 2026 retail model refresh",
  "deployed_by": "user_jsmith",
  "created_at": "2026-03-20T10: 15: 00Z",
  "spec": {
    "name": "retail_unsecured_v3",
    "version": "1.2.0",
    "target": "default_flag",
    "features": [
      {
        "name": "annual_income",
        "type": "numeric",
        "bins": ["..."],
        "woe_values": ["..."]
      }
    ],
    "scaling": {
      "base_score": 600,
      "base_odds": 50,
      "pdo": 20
    }
  }
}