Get AI agent traffic overview for a brand report
curl --request GET \
--url https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats', 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://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats",
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://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats"
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://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats")
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{
"availability": "connected_with_data",
"startDate": "2026-08-07",
"endDate": "2026-08-20",
"domains": [
"adidas.com",
"blog.adidas.com"
],
"totalAgentVisits": 15234,
"pagesVisited": 412,
"topEngine": "chatgpt",
"engines": [
{
"engine": "chatgpt",
"visits": 9418
},
{
"engine": "google",
"visits": 3902
},
{
"engine": "perplexity",
"visits": 1105
},
{
"engine": "other",
"visits": 809
}
],
"trend": [
{
"dayId": "20260820",
"engine": "chatgpt",
"bot": "GPTBot",
"visitCount": 742
},
{
"dayId": "20260820",
"engine": "google",
"bot": "Google-Extended",
"visitCount": 128
},
{
"dayId": "20260820",
"engine": "other",
"bot": "Amazonbot",
"visitCount": 64
}
]
}{
"message": "Validation failed",
"target": "query",
"errors": [
{
"path": "country",
"message": "Required",
"code": "invalid_type"
}
]
}{
"message": "Report not found"
}{
"message": "Report not found"
}{
"message": "Report not found"
}Brand Reports
Get AI agent traffic overview for a brand report
Overview of AI crawler and agent traffic across the brand report’s own domains: total visits, distinct pages visited, the busiest engine, per-engine totals, and a daily trend with each engine’s share. Check availability before rendering — not_connected means no logs connector is set up and the metrics are null, not zero.
GET
/
v1
/
reports
/
brand
/
{reportId}
/
agent-analytics
/
stats
Get AI agent traffic overview for a brand report
curl --request GET \
--url https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats', 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://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats",
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://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats"
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://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.otterly.ai/v1/reports/brand/{reportId}/agent-analytics/stats")
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{
"availability": "connected_with_data",
"startDate": "2026-08-07",
"endDate": "2026-08-20",
"domains": [
"adidas.com",
"blog.adidas.com"
],
"totalAgentVisits": 15234,
"pagesVisited": 412,
"topEngine": "chatgpt",
"engines": [
{
"engine": "chatgpt",
"visits": 9418
},
{
"engine": "google",
"visits": 3902
},
{
"engine": "perplexity",
"visits": 1105
},
{
"engine": "other",
"visits": 809
}
],
"trend": [
{
"dayId": "20260820",
"engine": "chatgpt",
"bot": "GPTBot",
"visitCount": 742
},
{
"dayId": "20260820",
"engine": "google",
"bot": "Google-Extended",
"visitCount": 128
},
{
"dayId": "20260820",
"engine": "other",
"bot": "Amazonbot",
"visitCount": 64
}
]
}{
"message": "Validation failed",
"target": "query",
"errors": [
{
"path": "country",
"message": "Required",
"code": "invalid_type"
}
]
}{
"message": "Report not found"
}{
"message": "Report not found"
}{
"message": "Report not found"
}Authorizations
Path Parameters
Query Parameters
Response
Agent traffic overview for the brand report.
Whether these numbers can be trusted. not_connected means no logs connector is active for this report — metrics are null, NOT zero, because nothing is being measured. connected_no_data means a connector is active but matched no visits in this window, so the zeros are real. connected_with_data means the payload is populated.
Available options:
not_connected, connected_no_data, connected_with_data Example:
"connected_with_data"