curl --request POST \
--url https://api.statisfy.com/v1/evaluations/results/score \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"judged_by": "<string>",
"result_id": "<string>",
"scores": {},
"passed": true,
"reason": "<string>"
}
'import requests
url = "https://api.statisfy.com/v1/evaluations/results/score"
payload = {
"judged_by": "<string>",
"result_id": "<string>",
"scores": {},
"passed": True,
"reason": "<string>"
}
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({
judged_by: '<string>',
result_id: '<string>',
scores: {},
passed: true,
reason: '<string>'
})
};
fetch('https://api.statisfy.com/v1/evaluations/results/score', 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.statisfy.com/v1/evaluations/results/score",
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([
'judged_by' => '<string>',
'result_id' => '<string>',
'scores' => [
],
'passed' => true,
'reason' => '<string>'
]),
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.statisfy.com/v1/evaluations/results/score"
payload := strings.NewReader("{\n \"judged_by\": \"<string>\",\n \"result_id\": \"<string>\",\n \"scores\": {},\n \"passed\": true,\n \"reason\": \"<string>\"\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.statisfy.com/v1/evaluations/results/score")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"judged_by\": \"<string>\",\n \"result_id\": \"<string>\",\n \"scores\": {},\n \"passed\": true,\n \"reason\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/evaluations/results/score")
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 \"judged_by\": \"<string>\",\n \"result_id\": \"<string>\",\n \"scores\": {},\n \"passed\": true,\n \"reason\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"case_id": "<string>",
"id": "<string>",
"defer_reason": "<string>",
"deferred": false,
"error": "<string>",
"judged_by": "<string>",
"output": {},
"passed": true,
"reason": "<string>",
"scores": {},
"tool_calls": [
{}
],
"trace_id": "<string>",
"turns": 123
}Score one result
Writes a verdict onto a result. Scoring under a different judged_by adds a verdict rather than replacing the first, so two judges on one run can be compared instead of one silently overwriting the other. The run’s totals follow.
curl --request POST \
--url https://api.statisfy.com/v1/evaluations/results/score \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"judged_by": "<string>",
"result_id": "<string>",
"scores": {},
"passed": true,
"reason": "<string>"
}
'import requests
url = "https://api.statisfy.com/v1/evaluations/results/score"
payload = {
"judged_by": "<string>",
"result_id": "<string>",
"scores": {},
"passed": True,
"reason": "<string>"
}
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({
judged_by: '<string>',
result_id: '<string>',
scores: {},
passed: true,
reason: '<string>'
})
};
fetch('https://api.statisfy.com/v1/evaluations/results/score', 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.statisfy.com/v1/evaluations/results/score",
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([
'judged_by' => '<string>',
'result_id' => '<string>',
'scores' => [
],
'passed' => true,
'reason' => '<string>'
]),
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.statisfy.com/v1/evaluations/results/score"
payload := strings.NewReader("{\n \"judged_by\": \"<string>\",\n \"result_id\": \"<string>\",\n \"scores\": {},\n \"passed\": true,\n \"reason\": \"<string>\"\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.statisfy.com/v1/evaluations/results/score")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"judged_by\": \"<string>\",\n \"result_id\": \"<string>\",\n \"scores\": {},\n \"passed\": true,\n \"reason\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/evaluations/results/score")
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 \"judged_by\": \"<string>\",\n \"result_id\": \"<string>\",\n \"scores\": {},\n \"passed\": true,\n \"reason\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"case_id": "<string>",
"id": "<string>",
"defer_reason": "<string>",
"deferred": false,
"error": "<string>",
"judged_by": "<string>",
"output": {},
"passed": true,
"reason": "<string>",
"scores": {},
"tool_calls": [
{}
],
"trace_id": "<string>",
"turns": 123
}Authorizations
An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.
Body
Response
Successful Response
What the worker did, in the shape its mode produces. Proactive: acted, any drafts it composed, and its own summary. Reactive: answered, the reply text, the two ways a reply can be withheld — held_by_guardrail (the platform stopped it) and no_reply (the worker judged the thread needed none) — and loop_in: the part of the ask handed to a person while the reply goes out (note for them, a follow-up draft they finish, and the guardrail's flag on it), null when nothing was left for a person. A loop_in is a hand-off as much as deferred is. Results recorded before loop-ins were (16 Nov 2026) have no loop_in key: there, its absence does not mean nobody was looped in.
Was this page helpful?