List runs with optional search and tag filtering
curl --request GET \
--url https://pluto-api.trainy.ai/api/runs/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://pluto-api.trainy.ai/api/runs/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://pluto-api.trainy.ai/api/runs/list', 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://pluto-api.trainy.ai/api/runs/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://pluto-api.trainy.ai/api/runs/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pluto-api.trainy.ai/api/runs/list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pluto-api.trainy.ai/api/runs/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"runs": [
{
"id": 123,
"name": "<string>",
"number": 123,
"displayId": "<string>",
"status": "<string>",
"tags": [
"<string>"
],
"createdAt": "<string>",
"_flatConfig": {},
"_flatSystemMetadata": {}
}
],
"total": 123
}{
"error": "<string>"
}Runs
List runs with optional search and tag filtering
Lists runs in a project with optional search using ILIKE substring matching. Supports tag filtering with OR logic (returns runs with ANY of the specified tags).
GET
/
api
/
runs
/
list
List runs with optional search and tag filtering
curl --request GET \
--url https://pluto-api.trainy.ai/api/runs/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://pluto-api.trainy.ai/api/runs/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://pluto-api.trainy.ai/api/runs/list', 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://pluto-api.trainy.ai/api/runs/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://pluto-api.trainy.ai/api/runs/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pluto-api.trainy.ai/api/runs/list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pluto-api.trainy.ai/api/runs/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"runs": [
{
"id": 123,
"name": "<string>",
"number": 123,
"displayId": "<string>",
"status": "<string>",
"tags": [
"<string>"
],
"createdAt": "<string>",
"_flatConfig": {},
"_flatSystemMetadata": {}
}
],
"total": 123
}{
"error": "<string>"
}Authorizations
API key obtained from the mlop dashboard
Query Parameters
Project name
Example:
"my-project"
Search term for run names (substring match)
Example:
"training"
Comma-separated list of tags to filter by (OR logic)
Example:
"baseline,experiment"
Maximum number of runs to return
Required range:
1 <= x <= 200Example:
50
When true, attach _flatConfig and _flatSystemMetadata to each run. Off by default for lean SDK responses.
Example:
false
JSON-encoded array of {source:'config'|'systemMetadata', key:string}. Restricts _flatConfig/_flatSystemMetadata to the listed keys. Empty array = no field values.
Example:
"[{\"source\":\"config\",\"key\":\"lr\"}]"
Was this page helpful?
⌘I