Skip to main content
POST
/
api
/
registry
/
agents
/
{encodedUrl}
/
storyboard
/
{storyboardId}
/
compare
Compare storyboard against reference agent
curl --request POST \
  --url https://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare', 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://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare"

req, _ := http.NewRequest("POST", 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.post("https://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://agenticadvertising.org/api/registry/agents/{encodedUrl}/storyboard/{storyboardId}/compare")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "storyboard": {
    "id": "<string>",
    "title": "<string>",
    "category": "<string>"
  },
  "user_agent": {
    "url": "<string>",
    "profile": "<unknown>",
    "summary": "<unknown>"
  },
  "reference_agent": {
    "url": "<string>",
    "name": "<string>",
    "profile": "<unknown>",
    "summary": "<unknown>"
  },
  "adcp_version": "<string>",
  "requested_compliance_target": "<string>",
  "badge_eligible": true,
  "badge_eligible_adcp_versions": [
    "<string>"
  ],
  "total_duration_ms": 123,
  "phases": "<unknown>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header. Two token types are accepted:

  • Organization API key (sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use.
  • User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at /.well-known/oauth-authorization-server and the protected-resource metadata at /.well-known/oauth-protected-resource/api.

Path Parameters

encodedUrl
string
required

URL-encoded agent URL

storyboardId
string
required

Response

Side-by-side comparison results

storyboard
object
required
user_agent
object
required
reference_agent
object
required
adcp_version
string
required
requested_compliance_target
string
required
badge_eligible
boolean
required
badge_eligible_adcp_versions
string[]
required
total_duration_ms
number
required
phases
any