Get tokenizer
curl --request GET \
--url https://api.jeantechnologies.com/v1/tokenizers/{tokenizer_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jeantechnologies.com/v1/tokenizers/{tokenizer_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{
"tokenizer_id": "tok_9k2m",
"name": "catalog-v1",
"status": "ready",
"codebook": {
"levels": 4,
"resolution": "multi",
"base_size": 2048
},
"items_tokenized": 1840221,
"codebook_utilization": [
0.97,
0.91,
0.78,
0.61
],
"collision_rate": 0.004,
"created_at": "2026-08-31T18:04:11Z",
"ready_at": "2026-08-31T19:22:47Z"
}{
"error": {
"code": "invalid_request",
"message": "Field 'domain' is required.",
"details": {}
}
}Semantic IDs
Get tokenizer
Status and fit diagnostics for a tokenizer.
GET
/
tokenizers
/
{tokenizer_id}
Get tokenizer
curl --request GET \
--url https://api.jeantechnologies.com/v1/tokenizers/{tokenizer_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_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.jeantechnologies.com/v1/tokenizers/{tokenizer_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jeantechnologies.com/v1/tokenizers/{tokenizer_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{
"tokenizer_id": "tok_9k2m",
"name": "catalog-v1",
"status": "ready",
"codebook": {
"levels": 4,
"resolution": "multi",
"base_size": 2048
},
"items_tokenized": 1840221,
"codebook_utilization": [
0.97,
0.91,
0.78,
0.61
],
"collision_rate": 0.004,
"created_at": "2026-08-31T18:04:11Z",
"ready_at": "2026-08-31T19:22:47Z"
}{
"error": {
"code": "invalid_request",
"message": "Field 'domain' is required.",
"details": {}
}
}Poll this after fitting. It is also where you find out whether the fit was any good.
curl https://api.jeantechnologies.com/v1/tokenizers/tok_9k2m \
-H "Authorization: Bearer $JEAN_API_KEY"
{
"tokenizer_id": "tok_9k2m",
"name": "catalog-v1",
"status": "ready",
"codebook": { "levels": 4, "resolution": "multi", "base_size": 2048 },
"items_tokenized": 1840221,
"codebook_utilization": [0.97, 0.91, 0.78, 0.61],
"collision_rate": 0.004,
"created_at": "2026-08-31T18:04:11Z",
"ready_at": "2026-08-31T19:22:47Z"
}
Reading the diagnostics
codebook_utilization
codebook_utilization
Fraction of each level’s codebook in use, ordered by level. Healthy fits are high at level 1 and taper with depth.Low utilization at level 1 means the codebook is wider than your catalog is diverse. Reduce
base_size and refit.Low utilization at the deepest level is normal and not worth chasing. There is little residual entropy left down there by design.collision_rate
collision_rate
Fraction of items that quantized to identical codes and needed a disambiguating suffix. Suffixed items are still uniquely addressable, but they are effectively invisible to the semantics of the code, so a high rate erodes the whole premise.Under 0.01 is fine. Above roughly 0.05, add a level or widen
base_size.status: failed
status: failed
Most common causes are an unreadable
catalog.uri, item records missing both title and description, or an interactions file whose item_id values do not join to the catalog. The error body names which.Fit time scales with catalog size. Roughly 30 to 90 minutes for a few million items, longer when
modalities includes image.Authorizations
API key issued by Jean Technologies. Contact the team for access.
Path Parameters
Example:
"tok_9k2m"
Response
Tokenizer
Example:
"tok_9k2m"
Example:
"catalog-v1"
Available options:
queued, fitting, ready, failed Example:
"ready"
Residual quantization layout.
Show child attributes
Show child attributes
Example:
1840221
Fraction of each level's codebook in use, ordered by level.
Example:
[0.97, 0.91, 0.78, 0.61]
Fraction of items that required a disambiguating suffix to stay uniquely addressable.
Example:
0.004
Example:
"2026-08-31T18:04:11Z"
Example:
"2026-08-31T19:22:47Z"
⌘I

