curl --request POST \
--url https://api.tastelabs.com/judge/brand-adherence \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com"
}
'import requests
url = "https://api.tastelabs.com/judge/brand-adherence"
payload = {
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({reference_url: 'https://stripe.com', source_url: 'https://staging.example.com'})
};
fetch('https://api.tastelabs.com/judge/brand-adherence', 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",
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([
'reference_url' => 'https://stripe.com',
'source_url' => 'https://staging.example.com'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tastelabs.com/judge/brand-adherence"
payload := strings.NewReader("{\n \"reference_url\": \"https://stripe.com\",\n \"source_url\": \"https://staging.example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.tastelabs.com/judge/brand-adherence")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"reference_url\": \"https://stripe.com\",\n \"source_url\": \"https://staging.example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tastelabs.com/judge/brand-adherence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reference_url\": \"https://stripe.com\",\n \"source_url\": \"https://staging.example.com\"\n}"
response = http.request(request)
puts response.read_body{
"job_id": "0f5b2c9a-6a1e-4b0e-9f0e-1c2d3e4f5a6b",
"status": "accepted",
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com",
"accepted_at": "2026-08-25T12:00:00Z",
"is_public": false
}{
"detail": {
"error": "UNAUTHORIZED",
"message": "Bearer token or X-API-Key required"
}
}{
"detail": {
"error": "INSUFFICIENT_CREDITS",
"message": "Not enough credits for this request.",
"balance": 0,
"required": 1
}
}{
"detail": {
"error": "FORBIDDEN",
"message": "This key is not allowed to call this endpoint."
}
}{
"detail": {
"error": "SUBMISSION_NOT_FOUND",
"message": "Reference or source submission not found"
}
}{
"detail": [
{
"loc": [
"body",
"url"
],
"msg": "Field required",
"type": "missing"
}
]
}"Internal Server Error"Create brand-adherence job
Judges how well a page (the source_url) adheres to a reference site’s brand (the reference_url). Use it to score a rebuild, a generated page, or a redesign against the brand it should follow.
The job runs asynchronously: poll GET /judge/brand-adherence/{job_id} until the status is completed or failed, then read the verdict from GET /judge/brand-adherence/{job_id}/result.
Both URLs are extracted automatically, and a recent extraction of either side is reused. You do not need to create submissions first.
curl --request POST \
--url https://api.tastelabs.com/judge/brand-adherence \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com"
}
'import requests
url = "https://api.tastelabs.com/judge/brand-adherence"
payload = {
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({reference_url: 'https://stripe.com', source_url: 'https://staging.example.com'})
};
fetch('https://api.tastelabs.com/judge/brand-adherence', 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",
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([
'reference_url' => 'https://stripe.com',
'source_url' => 'https://staging.example.com'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tastelabs.com/judge/brand-adherence"
payload := strings.NewReader("{\n \"reference_url\": \"https://stripe.com\",\n \"source_url\": \"https://staging.example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.tastelabs.com/judge/brand-adherence")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"reference_url\": \"https://stripe.com\",\n \"source_url\": \"https://staging.example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tastelabs.com/judge/brand-adherence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reference_url\": \"https://stripe.com\",\n \"source_url\": \"https://staging.example.com\"\n}"
response = http.request(request)
puts response.read_body{
"job_id": "0f5b2c9a-6a1e-4b0e-9f0e-1c2d3e4f5a6b",
"status": "accepted",
"reference_url": "https://stripe.com",
"source_url": "https://staging.example.com",
"accepted_at": "2026-08-25T12:00:00Z",
"is_public": false
}{
"detail": {
"error": "UNAUTHORIZED",
"message": "Bearer token or X-API-Key required"
}
}{
"detail": {
"error": "INSUFFICIENT_CREDITS",
"message": "Not enough credits for this request.",
"balance": 0,
"required": 1
}
}{
"detail": {
"error": "FORBIDDEN",
"message": "This key is not allowed to call this endpoint."
}
}{
"detail": {
"error": "SUBMISSION_NOT_FOUND",
"message": "Reference or source submission not found"
}
}{
"detail": [
{
"loc": [
"body",
"url"
],
"msg": "Field required",
"type": "missing"
}
]
}"Internal Server Error"Authorizations
API key issued by the Taste Engine. Create one in the dashboard at https://engine.tastelabs.com/app/api-keys.
Body
Response
The job was accepted and queued for processing.
Lifecycle status of a brand-adherence job.
accepted, extracting, judging, completed, failed Per-side reuse at each pipeline layer. Reuse makes the job faster.
Show child attributes
Show child attributes
Was this page helpful?

