Train
curl --request POST \
--url https://api.jeantechnologies.com/v1/train \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "dating",
"force": false
}
'import requests
url = "https://api.jeantechnologies.com/v1/train"
payload = {
"domain": "dating",
"force": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'dating', force: false})
};
fetch('https://api.jeantechnologies.com/v1/train', 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.jeantechnologies.com/v1/train",
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([
'domain' => 'dating',
'force' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.jeantechnologies.com/v1/train"
payload := strings.NewReader("{\n \"domain\": \"dating\",\n \"force\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.jeantechnologies.com/v1/train")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"domain\": \"dating\",\n \"force\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jeantechnologies.com/v1/train")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"domain\": \"dating\",\n \"force\": false\n}"
response = http.request(request)
puts response.read_body{
"domain": "dating",
"status": "queued",
"run_id": "tr_2026_05_17_001",
"triplets_used": 4218,
"estimated_completion_minutes": 35
}Feedback & Training
Train
Manually trigger a fine-tune for a domain ranker.
POST
/
train
Train
curl --request POST \
--url https://api.jeantechnologies.com/v1/train \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "dating",
"force": false
}
'import requests
url = "https://api.jeantechnologies.com/v1/train"
payload = {
"domain": "dating",
"force": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'dating', force: false})
};
fetch('https://api.jeantechnologies.com/v1/train', 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.jeantechnologies.com/v1/train",
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([
'domain' => 'dating',
'force' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.jeantechnologies.com/v1/train"
payload := strings.NewReader("{\n \"domain\": \"dating\",\n \"force\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.jeantechnologies.com/v1/train")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"domain\": \"dating\",\n \"force\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jeantechnologies.com/v1/train")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"domain\": \"dating\",\n \"force\": false\n}"
response = http.request(request)
puts response.read_body{
"domain": "dating",
"status": "queued",
"run_id": "tr_2026_05_17_001",
"triplets_used": 4218,
"estimated_completion_minutes": 35
}By default, fine-tunes run automatically once the triplet budget for a domain is reached. Use this endpoint to force a run sooner: right after a major product change, a marketing push that shifts your user mix, or to validate that newly added outcomes flow through.
The call returns immediately. The actual fine-tune runs async, typically 15 to 60 minutes depending on triplet volume. The new head is deployed when training completes; subsequent
curl https://api.jeantechnologies.com/v1/train \
-H "Authorization: Bearer $JEAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "domain": "dating", "force": true }'
requests.post(
"https://api.jeantechnologies.com/v1/train",
headers={"Authorization": f"Bearer {os.environ['JEAN_API_KEY']}"},
json={"domain": "dating", "force": True},
).json()
const res = await fetch("https://api.jeantechnologies.com/v1/train", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.JEAN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ domain: "dating", force: true }),
});
Example response
{
"domain": "dating",
"status": "queued",
"run_id": "tr_2026_05_17_001",
"triplets_used": 4218,
"estimated_completion_minutes": 35
}
/match requests automatically use it.
We notify the email on file when a run completes. Webhook callbacks land in a later release.
Authorizations
API key issued by Jean Technologies. Contact the team for access.
Body
application/json
⌘I

