List traces
List traces for an AI system version, applying the same server-side filter grammar as the chart endpoints (including numeric range filters on eval-metric tags). Returns MLflow-trace-compatible rows with token-based pagination.
curl --request GET \
--url https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/tracesimport requests
url = "https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/traces"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/traces', 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/model-services/v1/aisystem/{system_id}/version/{version_id}/traces",
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/model-services/v1/aisystem/{system_id}/version/{version_id}/traces"
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/model-services/v1/aisystem/{system_id}/version/{version_id}/traces")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/traces")
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{
"traces": [
{
"experiment_id": "<string>",
"request_id": "<string>",
"request_metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"status": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"timestamp_ms": 123,
"execution_time_ms": 123
}
],
"$schema": "/api/model-services/v1/aisystem/schemas/GetTracesResponseBody.json",
"next_page_token": "<string>"
}{
"$schema": "/api/model-services/v1/aisystem/schemas/ErrorModel.json",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Query Parameters
Optional URL-encoded JSON filter. Same grammar as the chart endpoints. See the /filters endpoint for available fields.
Inclusive lower bound on trace time in RFC3339 format. Defaults to 7 days ago if not specified.
Inclusive upper bound on trace time in RFC3339 format. Defaults to now if not specified.
Field to sort by. Accepts 'timestamp_ms', 'execution_time_ms', or any eval-metric facet (sorted numerically, e.g. accuracy_score) or categorical-label facet (sorted lexically, e.g. topic) name from the /filters endpoint. Defaults to 'timestamp_ms'.
Sort direction. Defaults to 'DESC'.
ASC, DESC Page size. Defaults to 20, capped at 100.
Opaque pagination token from a previous response's next_page_token.
Response
OK
Page of MLflow-trace-compatible rows.
Show child attributes
Show child attributes
A URL to the JSON Schema for this object.
"/api/model-services/v1/aisystem/schemas/GetTracesResponseBody.json"
Opaque token for fetching the next page. Omitted/empty on the last page.
Was this page helpful?
curl --request GET \
--url https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/tracesimport requests
url = "https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/traces"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/traces', 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/model-services/v1/aisystem/{system_id}/version/{version_id}/traces",
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/model-services/v1/aisystem/{system_id}/version/{version_id}/traces"
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/model-services/v1/aisystem/{system_id}/version/{version_id}/traces")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/model-services/v1/aisystem/{system_id}/version/{version_id}/traces")
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{
"traces": [
{
"experiment_id": "<string>",
"request_id": "<string>",
"request_metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"status": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"timestamp_ms": 123,
"execution_time_ms": 123
}
],
"$schema": "/api/model-services/v1/aisystem/schemas/GetTracesResponseBody.json",
"next_page_token": "<string>"
}{
"$schema": "/api/model-services/v1/aisystem/schemas/ErrorModel.json",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}