quality
List quality spec
Public endpoint (no bearer token required).
GET
/
api
/
quality
/
spec
List quality spec
curl --request GET \
--url https://evalgate.com/api/quality/specimport requests
url = "https://evalgate.com/api/quality/spec"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://evalgate.com/api/quality/spec', 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://evalgate.com/api/quality/spec",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://evalgate.com/api/quality/spec"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://evalgate.com/api/quality/spec")
.asString();require 'uri'
require 'net/http'
url = URI("https://evalgate.com/api/quality/spec")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"version": "v1",
"spec": {
"version": "v1",
"weights": {
"passRate": 123,
"safety": 123,
"judgeSchema": 123,
"latencyCost": 123
},
"judgeSchemaSplit": {
"judge": 123,
"schema": 123
},
"latencyCostSplit": {
"latency": 123,
"cost": 123
},
"latency": {
"idealMs": 123,
"poorMs": 123
},
"evidenceLevel": {
"strongMinN": 123,
"mediumMinN": 123
},
"flags": {
"safetyRiskThreshold": 123,
"lowPassRateThreshold": 123,
"latencyRiskThreshold": 123,
"costRiskThreshold": 123,
"traceCoverageLowThreshold": 123
}
},
"specHash": "<string>",
"description": "<string>"
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}⌘I
List quality spec
curl --request GET \
--url https://evalgate.com/api/quality/specimport requests
url = "https://evalgate.com/api/quality/spec"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://evalgate.com/api/quality/spec', 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://evalgate.com/api/quality/spec",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://evalgate.com/api/quality/spec"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://evalgate.com/api/quality/spec")
.asString();require 'uri'
require 'net/http'
url = URI("https://evalgate.com/api/quality/spec")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"version": "v1",
"spec": {
"version": "v1",
"weights": {
"passRate": 123,
"safety": 123,
"judgeSchema": 123,
"latencyCost": 123
},
"judgeSchemaSplit": {
"judge": 123,
"schema": 123
},
"latencyCostSplit": {
"latency": 123,
"cost": 123
},
"latency": {
"idealMs": 123,
"poorMs": 123
},
"evidenceLevel": {
"strongMinN": 123,
"mediumMinN": 123
},
"flags": {
"safetyRiskThreshold": 123,
"lowPassRateThreshold": 123,
"latencyRiskThreshold": 123,
"costRiskThreshold": 123,
"traceCoverageLowThreshold": 123
}
},
"specHash": "<string>",
"description": "<string>"
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}