The Experiment Tracking API provides a platform-specific façade over the underlying MLflow tracking server. Rather than coupling the frontend or downstream tools directly to MLflow’s native API contract, all interactions are routed through this layer so the platform can apply consistent filtering, pagination, and enrichment. Every training run, walk-forward fold, CPCV iteration, and backtest execution is logged here with full lineage tags — includingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/najmulhossainnj/Hedge-fund-backend/llms.txt
Use this file to discover all available pages before exploring further.
strategy_id, run_type, git_commit, dataset_version, feature_version, and model_version — making it straightforward to trace any model artefact back to the exact research session that produced it.
Runs
List and Search Runs
/api/v1/tracking/runs
run_type and strategy_id. Results are ordered by start_time DESC. Use this endpoint to quickly surface all runs associated with a particular strategy or pipeline stage.
Query Parameters
Filter by the
run_type MLflow tag (e.g. "training", "walk_forward", "cpcv", "backtest"). Translated to the MLflow filter expression tags.run_type = '<value>'.Filter by the
strategy_id MLflow tag (UUID string). Translated to tags.strategy_id = '<value>'. Combine with run_type to retrieve only the backtest runs for a specific strategy.Maximum number of runs to return. The underlying MLflow search caps at 100; values above 100 are silently clamped.
Response
List of run summary objects, each containing
run_id, run_name, status, start_time, params, metrics, and tags.Count of runs returned (equal to the length of the
runs list).Get Run Detail
/api/v1/tracking/runs/{run_id}
/metrics sub-resource exposes the same final metric values as a dedicated response.
Path Parameters
The MLflow run ID string (e.g.
"abc123def456").Response
MLflow run identifier.
Human-readable run name set at creation time (typically the
run_type value).MLflow run status:
RUNNING, SCHEDULED, FINISHED, FAILED, or KILLED.Unix epoch milliseconds when the run started.
Unix epoch milliseconds when the run ended.
null if the run is still active.Root URI for this run’s artifacts in the configured artifact store (local path, S3, or MinIO).
Dictionary of logged hyperparameters (string keys and string values as stored by MLflow).
Dictionary of final metric values (string key → float).
Dictionary of all tags including lineage fields:
strategy_id, run_type, git_commit, dataset_version, feature_version, model_version, signal_version.Get Run Metrics
/api/v1/tracking/runs/{run_id}/metrics
run.data.metrics via the get_run_metrics client function, which returns a flat dictionary of metric name to final float value. Returns an empty metrics object if the run is not found.
Path Parameters
The MLflow run ID.
Response
The run identifier echoed back.
Flat dictionary of metric name → final float value as stored in
run.data.metrics. Returns an empty object {} if the run does not exist.Get Run Hyperparameters
/api/v1/tracking/runs/{run_id}/params
Path Parameters
The MLflow run ID.
Response
The run identifier echoed back.
Flat dictionary of all hyperparameters logged to this run (string keys and string values, as MLflow stores them). Returns an empty object
{} if the run is not found.Compare Runs
/api/v1/tracking/runs/compare
The
param_diff object includes a varies boolean for each hyperparameter key. When varies is true, that parameter took different values across the compared runs — these are the parameters most worth investigating as the source of performance differences. Parameters with varies: false were held constant and can be ignored in the comparison.Request Body
List of 2 to 10 MLflow run ID strings to compare. All runs must exist; a
404 is returned if any ID is not found.Response
Ordered list of run summaries (one per requested
run_id), each containing run_id, run_name, run_type, params, and metrics.Dictionary keyed by metric name.
Dictionary keyed by hyperparameter name.
Experiments
List MLflow Experiments
/api/v1/tracking/experiments
MLFLOW_EXPERIMENT_NAME setting at startup, but additional experiments may exist if multiple environments share the same tracking server or if experiments were created manually.
Response
List of experiment records.