curl --request GET \
--url https://api.tastelabs.com/judge/brand-adherence/{job_id}/result \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tastelabs.com/judge/brand-adherence/{job_id}/result"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tastelabs.com/judge/brand-adherence/{job_id}/result', 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.tastelabs.com/judge/brand-adherence/{job_id}/result",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.tastelabs.com/judge/brand-adherence/{job_id}/result"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.tastelabs.com/judge/brand-adherence/{job_id}/result")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tastelabs.com/judge/brand-adherence/{job_id}/result")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"job_id": "0f5b2c9a-6a1e-4b0e-9f0e-1c2d3e4f5a6b",
"status": "completed",
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com",
"is_public": false,
"accepted_at": "2026-08-25T12:00:00Z",
"completed_at": "2026-08-25T12:01:10Z",
"score": 0.85,
"recommendations": [
"Snap the hero heading from 44px to 48px to match the reference type scale."
],
"fixes": [
{
"action": "snap_to_token",
"property": "font_size",
"from": "44px",
"to_value": "48px"
}
]
}{
"detail": {
"error": "NOT_FOUND",
"message": "Submission not found"
}
}{
"detail": {
"error": "NOT_READY",
"message": "Brand adherence job is extracting"
}
}{
"detail": {
"error": "BRAND_ADHERENCE_FAILED",
"message": "Brand adherence job failed"
}
}"Internal Server Error"Get brand-adherence verdict
Returns the verdict for a brand-adherence job: one score, the recommendations, and the fixes.
The verdict streams in: while the job runs you may receive a 200 with a partial verdict (components the run has not produced yet stay null or empty), and before the first component lands you receive 409 NOT_READY. Keep polling until status is completed. A failed job returns 424 and will never produce a verdict, so stop polling on it.
Authentication is optional here: with a valid key you can read your own jobs; without one, only jobs made public are returned.
curl --request GET \
--url https://api.tastelabs.com/judge/brand-adherence/{job_id}/result \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tastelabs.com/judge/brand-adherence/{job_id}/result"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tastelabs.com/judge/brand-adherence/{job_id}/result', 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.tastelabs.com/judge/brand-adherence/{job_id}/result",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.tastelabs.com/judge/brand-adherence/{job_id}/result"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.tastelabs.com/judge/brand-adherence/{job_id}/result")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tastelabs.com/judge/brand-adherence/{job_id}/result")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"job_id": "0f5b2c9a-6a1e-4b0e-9f0e-1c2d3e4f5a6b",
"status": "completed",
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com",
"is_public": false,
"accepted_at": "2026-08-25T12:00:00Z",
"completed_at": "2026-08-25T12:01:10Z",
"score": 0.85,
"recommendations": [
"Snap the hero heading from 44px to 48px to match the reference type scale."
],
"fixes": [
{
"action": "snap_to_token",
"property": "font_size",
"from": "44px",
"to_value": "48px"
}
]
}{
"detail": {
"error": "NOT_FOUND",
"message": "Submission not found"
}
}{
"detail": {
"error": "NOT_READY",
"message": "Brand adherence job is extracting"
}
}{
"detail": {
"error": "BRAND_ADHERENCE_FAILED",
"message": "Brand adherence job failed"
}
}"Internal Server Error"Authorizations
API key issued by the Taste Engine. Create one in the dashboard at https://engine.tastelabs.com/app/api-keys.
Path Parameters
Brand-adherence job identifier, as returned by POST /judge/brand-adherence.
Response
The verdict. May be partial while the job runs.
The verdict for a brand-adherence job: one score plus recommendations and fixes.
Lifecycle status of a brand-adherence job.
accepted, extracting, judging, completed, failed How well the source page follows the reference brand. null until the run has produced at least one scored component.
0 <= x <= 1Recommendation strings, worst-first, with exact target values. Capped at 20.
Structured fix objects, worst-first, capped at 20. Each carries an action discriminator (e.g. snap_to_token, add_color_token) plus fields specific to that action.
Was this page helpful?

