Resolve policy
curl --request GET \
--url https://agenticadvertising.org/api/policies/resolveimport requests
url = "https://agenticadvertising.org/api/policies/resolve"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agenticadvertising.org/api/policies/resolve', 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/policies/resolve",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/policies/resolve"
req, _ := http.NewRequest("GET", url, nil)
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/policies/resolve")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/policies/resolve")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"policy_id": "gdpr_consent",
"version": "1.0.0",
"name": "GDPR Consent Requirements",
"description": "Requirements for valid consent under GDPR",
"jurisdictions": [
"EU",
"EEA"
],
"region_aliases": {
"EU": [
"DE",
"FR",
"IT"
]
},
"policy_categories": [
"age_restricted",
"pharmaceutical_advertising"
],
"channels": [
"display",
"video"
],
"governance_domains": [
"campaign",
"creative"
],
"effective_date": "2025-05-25T00:00:00.000Z",
"sunset_date": "<string>",
"source_url": "https://eur-lex.europa.eu/eli/reg/2016/679/oj",
"source_name": "EUR-Lex",
"policy": "Data subjects must provide freely given, specific, informed and unambiguous consent...",
"guidance": "<string>",
"exemplars": {
"pass": [
{
"scenario": "Ad for alcohol shown during children's programming",
"explanation": "Violates watershed timing rules for alcohol advertising"
}
],
"fail": [
{
"scenario": "Ad for alcohol shown during children's programming",
"explanation": "Violates watershed timing rules for alcohol advertising"
}
]
},
"ext": {},
"created_at": "2026-03-01T12:00:00.000Z",
"updated_at": "2026-03-01T12:00:00.000Z"
}{
"error": "<string>"
}{
"error": "<string>",
"policy_id": "<string>"
}Policy Registry
Resolve policy
Resolve a single policy by ID. Optionally pin to a specific version — returns null if the version does not match.
GET
/
api
/
policies
/
resolve
Resolve policy
curl --request GET \
--url https://agenticadvertising.org/api/policies/resolveimport requests
url = "https://agenticadvertising.org/api/policies/resolve"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agenticadvertising.org/api/policies/resolve', 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/policies/resolve",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/policies/resolve"
req, _ := http.NewRequest("GET", url, nil)
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/policies/resolve")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/policies/resolve")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"policy_id": "gdpr_consent",
"version": "1.0.0",
"name": "GDPR Consent Requirements",
"description": "Requirements for valid consent under GDPR",
"jurisdictions": [
"EU",
"EEA"
],
"region_aliases": {
"EU": [
"DE",
"FR",
"IT"
]
},
"policy_categories": [
"age_restricted",
"pharmaceutical_advertising"
],
"channels": [
"display",
"video"
],
"governance_domains": [
"campaign",
"creative"
],
"effective_date": "2025-05-25T00:00:00.000Z",
"sunset_date": "<string>",
"source_url": "https://eur-lex.europa.eu/eli/reg/2016/679/oj",
"source_name": "EUR-Lex",
"policy": "Data subjects must provide freely given, specific, informed and unambiguous consent...",
"guidance": "<string>",
"exemplars": {
"pass": [
{
"scenario": "Ad for alcohol shown during children's programming",
"explanation": "Violates watershed timing rules for alcohol advertising"
}
],
"fail": [
{
"scenario": "Ad for alcohol shown during children's programming",
"explanation": "Violates watershed timing rules for alcohol advertising"
}
]
},
"ext": {},
"created_at": "2026-03-01T12:00:00.000Z",
"updated_at": "2026-03-01T12:00:00.000Z"
}{
"error": "<string>"
}{
"error": "<string>",
"policy_id": "<string>"
}Query Parameters
Example:
"gdpr_consent"
Return null if the current version does not match
Response
Policy resolved
Example:
"gdpr_consent"
Example:
"1.0.0"
Example:
"GDPR Consent Requirements"
Example:
"Requirements for valid consent under GDPR"
Available options:
regulation, standard Available options:
must, should, may Example:
["EU", "EEA"]
Show child attributes
Show child attributes
Example:
{ "EU": ["DE", "FR", "IT"] }
Example:
[
"age_restricted",
"pharmaceutical_advertising"
]
Example:
["display", "video"]
Example:
["campaign", "creative"]
Example:
"2025-05-25T00:00:00.000Z"
Example:
"https://eur-lex.europa.eu/eli/reg/2016/679/oj"
Example:
"EUR-Lex"
Example:
"Data subjects must provide freely given, specific, informed and unambiguous consent..."
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
registry, community Available options:
pending, approved Example:
"2026-03-01T12:00:00.000Z"
Example:
"2026-03-01T12:00:00.000Z"
Was this page helpful?
⌘I