MLflow experiments and runs
Search experiments
Search for experiments that satisfy specified search criteria.
POST
/
api
/
2.0
/
mlflow
/
experiments
/
search
cURL
curl --request POST \
--url https://mycluster.domino.tech/api/2.0/mlflow/experiments/search \
--header 'Content-Type: application/json' \
--data '
{
"filter": "<string>",
"max_results": 123,
"order_by": [
"<string>"
],
"page_token": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/api/2.0/mlflow/experiments/search"
payload = {
"filter": "<string>",
"max_results": 123,
"order_by": ["<string>"],
"page_token": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
filter: '<string>',
max_results: 123,
order_by: ['<string>'],
page_token: '<string>'
})
};
fetch('https://mycluster.domino.tech/api/2.0/mlflow/experiments/search', 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/experiments/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filter' => '<string>',
'max_results' => 123,
'order_by' => [
'<string>'
],
'page_token' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/2.0/mlflow/experiments/search"
payload := strings.NewReader("{\n \"filter\": \"<string>\",\n \"max_results\": 123,\n \"order_by\": [\n \"<string>\"\n ],\n \"page_token\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/api/2.0/mlflow/experiments/search")
.header("Content-Type", "application/json")
.body("{\n \"filter\": \"<string>\",\n \"max_results\": 123,\n \"order_by\": [\n \"<string>\"\n ],\n \"page_token\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/2.0/mlflow/experiments/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"filter\": \"<string>\",\n \"max_results\": 123,\n \"order_by\": [\n \"<string>\"\n ],\n \"page_token\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"experiments": [
{
"artifact_location": "<string>",
"creation_time": 123,
"experiment_id": "<string>",
"last_update_time": 123,
"lifecycle_stage": "<string>",
"name": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"next_page_token": "<string>"
}{
"error_code": "INTERNAL_ERROR",
"message": "<string>"
}Body
application/json
String representing a SQL filter condition (e.g. "name ILIKE 'my-experiment%'")
Maximum number of experiments desired. Max threshold is 3000.
List of columns for ordering search results, which can include experiment name and last updated timestamp with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
Token indicating the page of experiments to fetch
Qualifier for type of experiments to be returned. If unspecified, return only active experiments.
Available options:
ACTIVE_ONLY, DELETED_ONLY, ALL Was this page helpful?
⌘I
cURL
curl --request POST \
--url https://mycluster.domino.tech/api/2.0/mlflow/experiments/search \
--header 'Content-Type: application/json' \
--data '
{
"filter": "<string>",
"max_results": 123,
"order_by": [
"<string>"
],
"page_token": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/api/2.0/mlflow/experiments/search"
payload = {
"filter": "<string>",
"max_results": 123,
"order_by": ["<string>"],
"page_token": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
filter: '<string>',
max_results: 123,
order_by: ['<string>'],
page_token: '<string>'
})
};
fetch('https://mycluster.domino.tech/api/2.0/mlflow/experiments/search', 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/experiments/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filter' => '<string>',
'max_results' => 123,
'order_by' => [
'<string>'
],
'page_token' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/api/2.0/mlflow/experiments/search"
payload := strings.NewReader("{\n \"filter\": \"<string>\",\n \"max_results\": 123,\n \"order_by\": [\n \"<string>\"\n ],\n \"page_token\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/api/2.0/mlflow/experiments/search")
.header("Content-Type", "application/json")
.body("{\n \"filter\": \"<string>\",\n \"max_results\": 123,\n \"order_by\": [\n \"<string>\"\n ],\n \"page_token\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/api/2.0/mlflow/experiments/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"filter\": \"<string>\",\n \"max_results\": 123,\n \"order_by\": [\n \"<string>\"\n ],\n \"page_token\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"experiments": [
{
"artifact_location": "<string>",
"creation_time": 123,
"experiment_id": "<string>",
"last_update_time": 123,
"lifecycle_stage": "<string>",
"name": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"next_page_token": "<string>"
}{
"error_code": "INTERNAL_ERROR",
"message": "<string>"
}