List Recipes
curl --request GET \
--url https://{host}/api/recipes \
--header 'Authorization: Bearer <token>'import requests
url = "https://{host}/api/recipes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/api/recipes', 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://{host}/api/recipes",
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://{host}/api/recipes"
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://{host}/api/recipes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/api/recipes")
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{
"apiVersion": "<string>",
"contract": {
"versions": [
"<string>"
]
},
"core": {
"version": "<string>",
"requirement": "<string>"
},
"catalog_digest": "<string>",
"recipes": [
{
"name": "<string>",
"version": "<string>",
"digest": "<string>",
"title": "<string>",
"summary": "<string>",
"source": "<string>",
"owner": "<string>",
"framework": "<string>",
"framework_version": "<string>",
"supported_framework_versions": [
"<string>"
],
"manifest_digest": "<string>",
"template_digest": "<string>",
"core_requires": "<string>",
"adapter": "<string>",
"entrypoint": {
"kind": "<string>",
"value": "<string>"
},
"template": "<string>",
"adapter_options": {},
"runtime": {
"default_version": "<string>",
"versions": {}
},
"observability": {
"mode": "<string>"
},
"lifecycle": [
"<string>"
],
"lifecycle_resources": {},
"roles": [
"<string>"
],
"category": "",
"modalities": [
"text"
],
"plugins": [
"<string>"
],
"primary_metrics": [
"<string>"
],
"metric_aliases": {},
"artifacts": {
"version": "<string>",
"checkpoints": [
"<string>"
],
"logs": [
"<string>"
],
"exports": [
"<string>"
],
"evaluations": [
"<string>"
],
"formats": {}
},
"params": [
{
"name": "<string>",
"type": "<string>",
"doc": "<string>",
"group": "<string>",
"required": true,
"default": "<unknown>",
"min": 123,
"max": 123,
"choices": [
"<unknown>"
],
"path": "<string>",
"versions": [
"<string>"
],
"exclusive_min": true
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}List Recipes
The post-training method catalog this deployment offers.
The frontend renders the method picker and the hyperparameter form from it (types,
ranges, defaults, descriptions) and the CLI validates against it locally. locale
only resolves display text — the handshake fields are identical in every language.
GET
/
api
/
recipes
List Recipes
curl --request GET \
--url https://{host}/api/recipes \
--header 'Authorization: Bearer <token>'import requests
url = "https://{host}/api/recipes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/api/recipes', 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://{host}/api/recipes",
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://{host}/api/recipes"
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://{host}/api/recipes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/api/recipes")
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{
"apiVersion": "<string>",
"contract": {
"versions": [
"<string>"
]
},
"core": {
"version": "<string>",
"requirement": "<string>"
},
"catalog_digest": "<string>",
"recipes": [
{
"name": "<string>",
"version": "<string>",
"digest": "<string>",
"title": "<string>",
"summary": "<string>",
"source": "<string>",
"owner": "<string>",
"framework": "<string>",
"framework_version": "<string>",
"supported_framework_versions": [
"<string>"
],
"manifest_digest": "<string>",
"template_digest": "<string>",
"core_requires": "<string>",
"adapter": "<string>",
"entrypoint": {
"kind": "<string>",
"value": "<string>"
},
"template": "<string>",
"adapter_options": {},
"runtime": {
"default_version": "<string>",
"versions": {}
},
"observability": {
"mode": "<string>"
},
"lifecycle": [
"<string>"
],
"lifecycle_resources": {},
"roles": [
"<string>"
],
"category": "",
"modalities": [
"text"
],
"plugins": [
"<string>"
],
"primary_metrics": [
"<string>"
],
"metric_aliases": {},
"artifacts": {
"version": "<string>",
"checkpoints": [
"<string>"
],
"logs": [
"<string>"
],
"exports": [
"<string>"
],
"evaluations": [
"<string>"
],
"formats": {}
},
"params": [
{
"name": "<string>",
"type": "<string>",
"doc": "<string>",
"group": "<string>",
"required": true,
"default": "<unknown>",
"min": 123,
"max": 123,
"choices": [
"<unknown>"
],
"path": "<string>",
"versions": [
"<string>"
],
"exclusive_min": true
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Display language (e.g. zh); falls back to the manifest's base language where a translation is missing
Response
Successful Response
The method catalog, with what a client needs for its compatibility handshake.