MLflow traces
Get Trace v3
Get Trace (returning a TraceInfoV3). Differences between TraceV3 and Trace are assessments and semantics of TraceLocation, which describes where the Trace is stored.
GET
/
api
/
2.0
/
mlflow
/
traces
/
{trace_id}
Get Trace v3
curl --request GET \
--url https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}import requests
url = "https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"trace_info": {
"trace_id": "<string>",
"trace_location": {
"type": "TRACE_LOCATION_TYPE_UNSPECIFIED",
"mlflow_experiment": {
"experiment_id": "<string>"
},
"inference_table": {
"full_table_name": "<string>"
}
},
"state": "TRACE_STATUS_UNSPECIFIED",
"client_request_id": "<string>",
"request": "{\"x\":1,\"y\":2}",
"response": "3",
"request_preview": "{\"x\":1,\"y\":2}",
"response_preview": "3",
"request_time": "2025-09-03T19:36:13.792Z",
"execution_duration": "0.052s",
"trace_metadata": {
"mlflow.source.name": "sdktest.py",
"mlflow.source.type": "LOCAL",
"mlflow.sourceRun": "5d7bf43a73704e109d3e468842737bd7",
"mlflow.trace.sizeBytes": "1309"
},
"assessments": [
{
"assessment_id": "assessment-67890-fghij",
"assessor_name": "quality_evaluator_v1",
"assessment_type": "QUALITY",
"score": 0.85,
"timestamp_ms": 1640995800000,
"max_score": 1,
"comments": "High quality response with accurate information",
"metadata": {}
}
],
"tags": {
"question_topic": "DBSQL",
"domino.prog.metric.metric": "1",
"domino.prog.label.label": "good"
}
}
}{
"error_code": "INTERNAL_ERROR",
"message": "<string>"
}{
"error_code": "INTERNAL_ERROR",
"message": "<string>"
}Was this page helpful?
⌘I
Get Trace v3
curl --request GET \
--url https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}import requests
url = "https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/2.0/mlflow/traces/{trace_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"trace_info": {
"trace_id": "<string>",
"trace_location": {
"type": "TRACE_LOCATION_TYPE_UNSPECIFIED",
"mlflow_experiment": {
"experiment_id": "<string>"
},
"inference_table": {
"full_table_name": "<string>"
}
},
"state": "TRACE_STATUS_UNSPECIFIED",
"client_request_id": "<string>",
"request": "{\"x\":1,\"y\":2}",
"response": "3",
"request_preview": "{\"x\":1,\"y\":2}",
"response_preview": "3",
"request_time": "2025-09-03T19:36:13.792Z",
"execution_duration": "0.052s",
"trace_metadata": {
"mlflow.source.name": "sdktest.py",
"mlflow.source.type": "LOCAL",
"mlflow.sourceRun": "5d7bf43a73704e109d3e468842737bd7",
"mlflow.trace.sizeBytes": "1309"
},
"assessments": [
{
"assessment_id": "assessment-67890-fghij",
"assessor_name": "quality_evaluator_v1",
"assessment_type": "QUALITY",
"score": 0.85,
"timestamp_ms": 1640995800000,
"max_score": 1,
"comments": "High quality response with accurate information",
"metadata": {}
}
],
"tags": {
"question_topic": "DBSQL",
"domino.prog.metric.metric": "1",
"domino.prog.label.label": "good"
}
}
}{
"error_code": "INTERNAL_ERROR",
"message": "<string>"
}{
"error_code": "INTERNAL_ERROR",
"message": "<string>"
}