Get per-step diagnostics for a compliance run
curl --request GET \
--url https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics \
--header 'Authorization: Bearer <token>'import requests
url = "https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics', 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}/compliance/diagnostics",
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://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics"
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://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics")
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{
"agent_url": "<string>",
"run_id": "<string>",
"count": 123,
"diagnostics": [
{
"id": 123,
"run_id": "<string>",
"agent_url": "<string>",
"storyboard_id": "<string>",
"phase_id": "<string>",
"step_id": "<string>",
"task": "<string>",
"step_passed": true,
"captured_at": "<string>",
"duration_ms": 123,
"request_url": "<string>",
"request_jsonb": "<unknown>",
"response_status": 123,
"response_headers_jsonb": {},
"response_jsonb": "<unknown>",
"extraction_path": "<string>",
"extraction_note": "<string>",
"error_text": "<string>",
"adcp_error_jsonb": "<unknown>",
"failed_validations_jsonb": "<unknown>",
"served_by_agent_url": "<string>"
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Agent Compliance
Get per-step diagnostics for a compliance run
Returns the exact request and response payloads the runner captured for failing storyboard steps on a single compliance run.
Lets agent owners diff what the runner sent against their own probes without re-running the storyboard. Owner-only, with static admin API key access for support/debugging — payloads echo seller-side account/brand identifiers and may carry sensitive descriptive fields. If run_id is omitted, resolves to the latest run for the agent.
GET
/
api
/
registry
/
agents
/
{encodedUrl}
/
compliance
/
diagnostics
Get per-step diagnostics for a compliance run
curl --request GET \
--url https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics \
--header 'Authorization: Bearer <token>'import requests
url = "https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics', 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}/compliance/diagnostics",
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://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics"
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://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/registry/agents/{encodedUrl}/compliance/diagnostics")
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{
"agent_url": "<string>",
"run_id": "<string>",
"count": 123,
"diagnostics": [
{
"id": 123,
"run_id": "<string>",
"agent_url": "<string>",
"storyboard_id": "<string>",
"phase_id": "<string>",
"step_id": "<string>",
"task": "<string>",
"step_passed": true,
"captured_at": "<string>",
"duration_ms": 123,
"request_url": "<string>",
"request_jsonb": "<unknown>",
"response_status": 123,
"response_headers_jsonb": {},
"response_jsonb": "<unknown>",
"extraction_path": "<string>",
"extraction_note": "<string>",
"error_text": "<string>",
"adcp_error_jsonb": "<unknown>",
"failed_validations_jsonb": "<unknown>",
"served_by_agent_url": "<string>"
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
bearerAuthoauth2
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-serverand the protected-resource metadata at/.well-known/oauth-protected-resource/api.
Path Parameters
URL-encoded agent URL
Query Parameters
Specific compliance run UUID. Defaults to latest.
Max rows (default 500, max 1000)
Was this page helpful?
⌘I