retrieving-mlflow-traces

Retrieve and search MLflow traces by ID, session, user, tags, and time.

69|21|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/mlflow/skills --skill retrieving-mlflow-traces-mlflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: retrieving-mlflow-traces
Source: https://github.com/mlflow/skills/tree/main/retrieving-mlflow-traces
Command: npx skills add https://github.com/mlflow/skills --skill retrieving-mlflow-traces-mlflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mlflow, and includes scripts (resource) components.

What problem does it solve?

This Skill provides the capability to easily access and search MLflow traces, enabling users to diagnose issues and understand their experiments better.

Core Features & Use Cases

  • Trace Retrieval: Get a specific trace by ID or search for traces using various criteria like status, session, or time range.
  • Advanced Filtering: Apply complex filters to trace metadata, such as user, tags, and execution time.
  • Use Case: For example, you can retrieve and analyze the performance of a model by its session or identify the source of an error in the trace data.

Quick Start

To search for a specific trace from an experiment, run the following command:

mlflow traces search --experiment-id 1 --filter-string "metadata.\`mlflow.trace.session\` = 'session_abc'"

Frequently Asked Questions about retrieving-mlflow-traces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search MLflow traces for a specific session?

Search MLflow traces for a specific session by applying a filter string to the metadata. You can use search parameters targeting the mlflow.trace.session value to retrieve matching traces for post-mortem analysis.

What is the best way to retrieve MLflow traces for performance review?

Retrieving MLflow traces for performance review involves searching by experiment ID and execution time. Advanced filtering allows you to isolate specific model executions and analyze their performance metrics.

Can I filter MLflow traces by user and tags for troubleshooting?

Yes, you can filter MLflow traces by user and tags for troubleshooting. The search functionality supports comprehensive criteria including metadata, tags, and user information to identify error sources.

Does MLflow trace search support filtering by status and time range?

MLflow trace search supports filtering by status and time range. You can apply precise lookup parameters to narrow down traces within specific execution windows for in-depth analysis.

How do I get a specific MLflow trace by its ID?

Get a specific MLflow trace by its ID using the precise trace lookup feature. This allows direct retrieval of individual trace records without searching through the entire experiment history.