curl --request POST \
--url https://agenticadvertising.org/api/brands/{domain}/refresh \
--header 'Authorization: Bearer <token>'import requests
url = "https://agenticadvertising.org/api/brands/{domain}/refresh"
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/brands/{domain}/refresh', 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/brands/{domain}/refresh",
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/brands/{domain}/refresh"
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/brands/{domain}/refresh")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/brands/{domain}/refresh")
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{
"domain": "<string>",
"status": "refreshed",
"changed": true,
"source": "<string>",
"live_variant": "authoritative_location",
"before": {
"manifest_hash": "<string>",
"brand_name": "<string>",
"logo_urls": [
"<string>"
],
"last_validated": "2023-11-07T05:31:56Z"
},
"after": {
"manifest_hash": "<string>",
"brand_name": "<string>",
"logo_urls": [
"<string>"
],
"last_validated": "2023-11-07T05:31:56Z"
},
"cache_entries_evicted": 123,
"checked_at": "2023-11-07T05:31:56Z",
"reason": "no_registry_row",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"retry_after": 123
}{
"error": "<string>"
}Re-read a brand's own brand.json now
Fetches the domain’s live /.well-known/brand.json through the same validation, persistence and relationship-trust path as the scheduled crawler, stores it when valid, drops the cached verdicts for the domain, and returns the stored record before and after. It only re-reads the document the brand itself publishes, so any authenticated caller may use it. Applies to records with source: brand_json; hosted, community, enriched and stub records return status: not_applicable with the reason. An unreachable or invalid origin leaves the stored record unchanged.
Rate limits: 5 minutes per domain, 30 requests per user per hour.
curl --request POST \
--url https://agenticadvertising.org/api/brands/{domain}/refresh \
--header 'Authorization: Bearer <token>'import requests
url = "https://agenticadvertising.org/api/brands/{domain}/refresh"
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/brands/{domain}/refresh', 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/brands/{domain}/refresh",
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/brands/{domain}/refresh"
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/brands/{domain}/refresh")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agenticadvertising.org/api/brands/{domain}/refresh")
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{
"domain": "<string>",
"status": "refreshed",
"changed": true,
"source": "<string>",
"live_variant": "authoritative_location",
"before": {
"manifest_hash": "<string>",
"brand_name": "<string>",
"logo_urls": [
"<string>"
],
"last_validated": "2023-11-07T05:31:56Z"
},
"after": {
"manifest_hash": "<string>",
"brand_name": "<string>",
"logo_urls": [
"<string>"
],
"last_validated": "2023-11-07T05:31:56Z"
},
"cache_entries_evicted": 123,
"checked_at": "2023-11-07T05:31:56Z",
"reason": "no_registry_row",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"retry_after": 123
}{
"error": "<string>"
}Authorizations
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.
Response
Refresh outcome
refreshed: the origin's brand.json was accepted and stored. origin_unavailable / origin_invalid: the origin served no document or an invalid one, and the stored record was kept. not_applicable: the record is not sourced from the brand's own brand.json; see reason.
refreshed, not_applicable, origin_unavailable, origin_invalid Was this page helpful?