curl --request GET \
--url https://api.galtea.ai/sessions/{id}/compatible-metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.galtea.ai/sessions/{id}/compatible-metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.galtea.ai/sessions/{id}/compatible-metrics', 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.galtea.ai/sessions/{id}/compatible-metrics",
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.galtea.ai/sessions/{id}/compatible-metrics"
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.galtea.ai/sessions/{id}/compatible-metrics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.galtea.ai/sessions/{id}/compatible-metrics")
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[
{
"id": "metric_123",
"name": "Accuracy",
"isCompatible": true,
"relevance": "linked",
"source": "PARTIAL_PROMPT",
"description": "Measures the accuracy of responses",
"incompatibilityReason": "Missing required parameters: product_capabilities, retrieval_context"
}
]{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}List metrics annotated with compatibility for a session
Returns evaluable metrics annotated with whether they can be satisfied by the session’s product metadata and test-case availability, plus a relevance ranking derived from the session’s test case’s test (linked/matching/none). A session evaluation scores output that is already stored, so the version needs no conversation target (endpoint, phone, or WebRTC connection) and compatibility never depends on one. Production (monitoring) sessions have no test case, so every metric is none, and a metric is incompatible when it needs a test-case param that monitoring cannot supply (expected_output, context, expected_tools, user_persona, goal, scenario, stopping_criterias). A metric needing only input stays compatible while some turn of the session yields text of its own; a session whose turns each carry a file, or audio with no transcript, no user_message and no text part (whatever other keys sit beside it), makes input unreadable and that metric incompatible. Span-dependent and runtime-only params are out of scope and treated as always satisfied.
curl --request GET \
--url https://api.galtea.ai/sessions/{id}/compatible-metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.galtea.ai/sessions/{id}/compatible-metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.galtea.ai/sessions/{id}/compatible-metrics', 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.galtea.ai/sessions/{id}/compatible-metrics",
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.galtea.ai/sessions/{id}/compatible-metrics"
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.galtea.ai/sessions/{id}/compatible-metrics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.galtea.ai/sessions/{id}/compatible-metrics")
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[
{
"id": "metric_123",
"name": "Accuracy",
"isCompatible": true,
"relevance": "linked",
"source": "PARTIAL_PROMPT",
"description": "Measures the accuracy of responses",
"incompatibilityReason": "Missing required parameters: product_capabilities, retrieval_context"
}
]{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}Authorizations
Query Parameters
Response
List of metrics with compatibility annotations
Whether the metric can be satisfied by the resolved evaluation context. Always checked against the product metadata and test-case availability; the conversation endpoint connection output mapping is only checked when the evaluation has to produce new output. For a session, a metric reading input is also incompatible when no turn yields text without a file, or without audio that has neither a transcript, nor a user_message, nor a text part (whatever other keys sit beside it), because the judge is sent the turns and can read neither a document nor untranscribed audio. Pass inferenceResultId to answer for the one turn a run would judge. A metric reading conversation_turns stays compatible: the turns are scored as logged.
How relevant the metric is to the tests the evaluation runs against. linked: linked to a specification of one of those tests. matching: linked to a same-product specification whose testType matches one of those tests. none: neither, or no test context was provided.
linked, matching, none "linked"
Evaluation method for the metric. FULL_PROMPT is deprecated for creation — POST /metrics rejects it with a 400. Use PARTIAL_PROMPT for new AI Evaluation metrics. The value remains in the enum because existing FULL_PROMPT metrics are still returned by reads and filters.
SELF_HOSTED, FULL_PROMPT, PARTIAL_PROMPT, HUMAN_EVALUATION, GEVAL, DEEPEVAL, DETERMINISTIC, CLASSIFIER "PARTIAL_PROMPT"