Skip to main content

MLflow API Reference

This page provides an index of important MLflow APIs used in agents, with direct links to the official MLflow documentation.

MLflow features marked as "Databricks only" are only available on Databricks-managed MLflow.

Beta and Experimental Features

Some of the APIs referenced on this page are currently in the Beta or Experimental stages. These APIs are subject to change or removal in future releases. Experimental APIs are available to all customers, and Beta APIs are available to most customers automatically. If you do not have access to a Beta API and need to request access, contact your Databricks support representative.

Experiment management​

Manage MLflow experiments and runs for tracking agent development:

SDK​

Entities​

Tracing​

Instrument and capture execution traces from agents:

SDK​

Entities​

Tracing integrations​

Auto-instrumentation for GenAI frameworks and libraries that provide a dedicated autolog() function. For the complete list of supported integrations — including those traced through an OpenAI-compatible client — see MLflow Tracing Integrations.

Evaluation and monitoring​

Core evaluation SDK​

Core APIs for offline evaluation and production monitoring:

Built-in scorers​

Quality assessment scorers ready for immediate use. See Built-in LLM judges for what each one evaluates.

Single-turn scorers:

Tool-call scorers:

Multi-turn (conversation) scorers:

Helpers:

Production monitoring scorer lifecycle SDK​

Beta

This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.

Scorer lifecycle management for continuous quality tracking in production:

Scorer instance methods​

Scorer registry functions​

Scorer properties​

Configuration classes​

Assessment entities​

Data structures for storing evaluation results and feedback:

Evaluation datasets​

Create and manage versioned test datasets for systematic evaluation:

SDK​

Entities​

Human labeling and review app (Databricks only)​

Human feedback collection and review workflows for systematic quality assessment:

Labeling session SDK​

Label schema types​

Label schema SDK​

Entities​

Prompt management​

Version control and lifecycle management for prompts used in agents:

SDK​

Entities​

Prompt optimization​

Beta

This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.

Automated prompt improvement using data-driven optimization algorithms:

SDK​

Optimizers​

Entities​

App version tracking​

Track and manage agent versions in production:

SDK​

Entities​