> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.labric.co/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.labric.co/_mcp/server.

# Get a model

GET https://platform.labric.co/api/v1/ml-models/{ml_model_id}

Get one ML model's training status and results.

Requires an API key with the `read` scope.

Reference: https://docs.labric.co/api-reference/labric-api/models/get

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `ml_model_id` (string, required)

## Response

### 200

OK

- `id` (string, required)
- `name` (string, required)
- `task_type` (string, required)
- `description` (string, optional, nullable)
- `target_column` (string, optional, nullable)
- `feature_columns` (list of string, optional, nullable)
- `image_columns` (list of string, optional, nullable)
- `problem_type` (string, optional, nullable)
- `currently_active` (boolean, optional, default: false)
- `status` (string, optional, nullable)
- `version_number` (integer, optional, nullable)
- `dataset_id` (string, optional, nullable)
- `quality_preset` (string, optional, nullable)
- `error_message` (string, optional, nullable)
- `training_started_at` (datetime, optional, nullable)
- `training_completed_at` (datetime, optional, nullable)
- `evaluation_metrics` (map from string to any, optional, nullable)

## Errors

### 400 Bad Request Error

Bad Request

- `detail` (string, required)

### 401 Unauthorized Error

Unauthorized

- `detail` (string, required)

### 403 Forbidden Error

Forbidden

- `detail` (string, required)

### 404 Not Found Error

Not Found

- `detail` (string, required)

### 422 Unprocessable Entity Error

Unprocessable Content

- `detail` (list of map from string to any, required)

### 500 Internal Server Error

Internal Server Error

- `detail` (string, required)

## Examples

**Response**

```json
{
  "id": "6b1e4c2a-9d3f-4a7b-8c5e-1f2a3b4c5d6e",
  "name": "Coating adhesion classifier",
  "task_type": "tabular",
  "description": "Predicts whether a cured coating passes the pull-off adhesion test from its cure schedule and substrate preparation.",
  "target_column": "adhesion_pass",
  "feature_columns": [
    "cure_temperature_c",
    "cure_time_min",
    "substrate_roughness_um",
    "primer_thickness_um"
  ],
  "image_columns": null,
  "problem_type": "binary",
  "currently_active": true,
  "status": "ready",
  "version_number": 3,
  "dataset_id": "2c7d9e1f-3a4b-4c5d-8e6f-7a8b9c0d1e2f",
  "quality_preset": "good_quality",
  "error_message": null,
  "training_started_at": "2026-08-14T09:12:04Z",
  "training_completed_at": "2026-08-14T09:41:37Z",
  "evaluation_metrics": {
    "accuracy": 0.94,
    "f1": 0.93,
    "precision": 0.92,
    "recall": 0.95,
    "roc_auc": 0.97
  }
}
```

**SDK Code**

```python
from labric import Labric

client = Labric(
    api_key="YOUR_TOKEN_HERE",
)

client.models.get(
    ml_model_id="6b1e4c2a-9d3f-4a7b-8c5e-1f2a3b4c5d6e",
)

```