Get Training Details
Page Outline
Returns a comprehensive summary of a training run, including timeline, resource usage, pipeline stage durations, and final status.
Base Path: /api/v1/models
Method: GET
Path: /{model_id}/training-metrics/details
Alias: /{model_id}/training/metrics/details
Auth: Requires a valid Bearer token (Authorization: Bearer <JWT>)
Path Parameters
| Parameter | Type | Description |
|---|---|---|
model_id | string | Unique identifier of the model |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
run_id | string | — | Specific training run ID. Defaults to the most recent run |
Behavior
- Provides a full breakdown of the training pipeline, including time spent in each stage (preprocessing, algorithm search, evaluation, post-processing).
- Resource metrics (CPU, memory peak) are included when available from the execution environment.
- Returns
HTTP 404if the model or run is not found. - Alias path
/training/metrics/detailsis fully supported.
Response
Returns a TrainingDetails object.
{
"model_id": "mdl-7f3a19bc",
"run_id": "run-20260313-a4b9c2",
"status": "completed",
"started_at": "2026-03-13T16:10:00Z",
"completed_at": "2026-03-13T16:15:12Z",
"duration_seconds": 312,
"pipeline_stages": {
"data_validation": 8,
"preprocessing": 22,
"algorithm_search": 210,
"evaluation": 48,
"artifact_upload": 24
},
"resource_usage": {
"peak_cpu_percent": 94.2,
"peak_memory_mb": 3840,
"worker_type": "cpu-4x"
},
"dataset_id": "ds-abc123",
"dataset_rows_used": 84200,
"final_algorithm": "xgboost",
"version_created": "ver-001"
}