RL runs
Get Run
Live status and metrics; once packaged, the verdict and where the outputs are (output).
GET
/
v1
/
rl_runs
/
{run_id}
Get Run
curl --request GET \
--url https://api.kiteml.com/v1/rl_runs/{run_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kiteml.com/v1/rl_runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kiteml.com/v1/rl_runs/{run_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://api.kiteml.com/v1/rl_runs/{run_id}",
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://api.kiteml.com/v1/rl_runs/{run_id}"
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://api.kiteml.com/v1/rl_runs/{run_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kiteml.com/v1/rl_runs/{run_id}")
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{
"budget": {
"iterations": 500,
"max_tokens": 400,
"num_envs": 2048
},
"completed_at": "2026-09-28T19:59:53.818362Z",
"created_at": "2026-09-28T19:15:36.753577Z",
"description": "Walk forward at a steady pace with a level body and alternating feet.",
"engine": "2026-09-28",
"from": {
"mode": "fork",
"policy": "4d574ce4c547"
},
"group_id": "rlg_01M3MQ39HV4YNTWNNY2GHM55VC",
"hardware_tier": "gcp_gpu_l4",
"id": "rlr_01M3MQ39HVAEBQ3F64K6JDF9XR",
"metadata": {
"example": "rl_runs/walk.json"
},
"metrics": {
"elapsed_s": 411.4,
"env_steps": 24576000,
"iteration": 500,
"max_iterations": 500,
"mean_reward": 6.39074,
"steps_per_second": 59745,
"terms": {
"clearance": 0.46359,
"feet": 0.04187,
"head": 0,
"pose": 0.81887,
"regularizers": -0.545,
"slip": -0.00441,
"track": 3.61929,
"upright": 1.99652
}
},
"object": "rl_run",
"output": {
"archive_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/archive",
"bytes": 12294261,
"files": 43,
"files_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files",
"policy_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files/policy/policy.onnx",
"report_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/report",
"sha256": "d085065b6d2bf18d5b0bffd67c8b8ed0834136e446d608fce13834ea2976706f",
"video_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files/media/video.mp4"
},
"outputs": {
"formats": [
"onnx",
"pt",
"torchscript"
],
"videos": [
{
"command": {
"vx": 0.3
},
"seconds": 8
}
]
},
"progress": 1,
"report": {
"best_checkpoint": 500,
"verdict": "pass"
},
"robot": "open_duck_mini_v2",
"seed": 0,
"started_at": "2026-09-28T19:51:13.239324Z",
"status": "succeeded",
"status_message": "done: verdict pass",
"task": {
"commands": {
"vx": [
0.2,
0.4
],
"vy": [
-0.05,
0.05
],
"yaw": [
-0.2,
0.2
]
},
"objective": "velocity",
"params": {},
"scene": {
"items": []
}
},
"title": "Open Duck: steady walk (fine-tuned)",
"tokens": {
"charged": 117,
"refunded": 50,
"reserved": 167
},
"visibility": "private"
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Authorizations
A Kite API key (kite_...), from Platform API → Keys in the dashboard.
Headers
The dated contract your code was written against. Without it you get 2026-09-27; every response says which version served it.
Available options:
2026-09-27 Path Parameters
Response
Successful Response
One policy training in simulation.
rlr_ + a time-ordered ULID
Available options:
queued, processing, canceling, succeeded, failed, canceled Required range:
0 <= x <= 1The resolved task: every default filled in
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
rl_run Allowed value:
"rl_run"Within queued/processing/canceling: queued, starting, training, packaging
Once packaged
Show child attributes
Show child attributes
Once packaged: where the bundle is
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Get Run
curl --request GET \
--url https://api.kiteml.com/v1/rl_runs/{run_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kiteml.com/v1/rl_runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kiteml.com/v1/rl_runs/{run_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://api.kiteml.com/v1/rl_runs/{run_id}",
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://api.kiteml.com/v1/rl_runs/{run_id}"
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://api.kiteml.com/v1/rl_runs/{run_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kiteml.com/v1/rl_runs/{run_id}")
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{
"budget": {
"iterations": 500,
"max_tokens": 400,
"num_envs": 2048
},
"completed_at": "2026-09-28T19:59:53.818362Z",
"created_at": "2026-09-28T19:15:36.753577Z",
"description": "Walk forward at a steady pace with a level body and alternating feet.",
"engine": "2026-09-28",
"from": {
"mode": "fork",
"policy": "4d574ce4c547"
},
"group_id": "rlg_01M3MQ39HV4YNTWNNY2GHM55VC",
"hardware_tier": "gcp_gpu_l4",
"id": "rlr_01M3MQ39HVAEBQ3F64K6JDF9XR",
"metadata": {
"example": "rl_runs/walk.json"
},
"metrics": {
"elapsed_s": 411.4,
"env_steps": 24576000,
"iteration": 500,
"max_iterations": 500,
"mean_reward": 6.39074,
"steps_per_second": 59745,
"terms": {
"clearance": 0.46359,
"feet": 0.04187,
"head": 0,
"pose": 0.81887,
"regularizers": -0.545,
"slip": -0.00441,
"track": 3.61929,
"upright": 1.99652
}
},
"object": "rl_run",
"output": {
"archive_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/archive",
"bytes": 12294261,
"files": 43,
"files_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files",
"policy_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files/policy/policy.onnx",
"report_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/report",
"sha256": "d085065b6d2bf18d5b0bffd67c8b8ed0834136e446d608fce13834ea2976706f",
"video_url": "/v1/rl_runs/rlr_01M3MQ39HVAEBQ3F64K6JDF9XR/files/media/video.mp4"
},
"outputs": {
"formats": [
"onnx",
"pt",
"torchscript"
],
"videos": [
{
"command": {
"vx": 0.3
},
"seconds": 8
}
]
},
"progress": 1,
"report": {
"best_checkpoint": 500,
"verdict": "pass"
},
"robot": "open_duck_mini_v2",
"seed": 0,
"started_at": "2026-09-28T19:51:13.239324Z",
"status": "succeeded",
"status_message": "done: verdict pass",
"task": {
"commands": {
"vx": [
0.2,
0.4
],
"vy": [
-0.05,
0.05
],
"yaw": [
-0.2,
0.2
]
},
"objective": "velocity",
"params": {},
"scene": {
"items": []
}
},
"title": "Open Duck: steady walk (fine-tuned)",
"tokens": {
"charged": 117,
"refunded": 50,
"reserved": 167
},
"visibility": "private"
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}