Skip to main content

MLflow API Reference

This page provides an index of important MLflow APIs used in GenAI applications, 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 GenAI application development:

SDK

Entities

Tracing

Instrument and capture execution traces from GenAI applications:

SDK

Entities

Tracing integrations

Auto-instrumentation for popular GenAI frameworks and libraries:

Evaluation and monitoring

Core evaluation SDK

Core APIs for offline evaluation and production monitoring:

Built-in scorers

Quality assessment scorers ready for immediate use:

Built-in scorer helpers:

Judge functions

LLM-based assessment functions for direct use or scorer wrapping:

Judge output entities

Production monitoring scorer lifecycle SDK (Databricks only)

Beta

This feature is in Beta.

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 GenAI applications:

SDK

Entities

Prompt optimization

Beta

This feature is in Beta.

Automated prompt improvement using data-driven optimization algorithms:

SDK

Entities

App version tracking

Track and manage GenAI application versions in production:

SDK

Entities