Review Group Insights Aspect Diagnostics Route
curl --request POST \
--url https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics"
payload = { "advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({advertiser_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-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://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'advertiser_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics"
payload := strings.NewReader("{\n \"advertiser_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"advertiser_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"advertiser_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "trustpilot",
"advertiser_name": "<string>",
"classified_reviews": 0,
"examined_reviews": 0,
"sample_avg_rating": 3,
"min_mentions": 0,
"sample_is_platform_total": false,
"sample_basis_notice": "Computed over AITasker's depth-capped sample of collected reviews, and within that only the reviews we classified — not the platform's full review population. Unclassified and uncollected reviews are excluded from every figure rather than counted as zero.",
"aspects": [
{
"aspect": "<string>",
"aspect_label": "<string>",
"negative_reviews": 0,
"avg_rating_with_negative": 3,
"avg_rating_without": 3,
"max_sample_uplift": 2,
"below_min_mentions": false,
"sub_themes": [
{
"sub_theme": "<string>",
"reviews": 2,
"negative": 0,
"positive": 0
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Brand Reviews
Review Group Insights Aspect Diagnostics Route
Per-aspect rating impact and sub-theme rollups for one brand.
Reads only columns the classification pass already wrote — no provider call and no model participates, so every figure here is counted.
POST
/
api
/
v1
/
brands
/
{brand_id}
/
brand-intelligence
/
review-group-insights
/
aspect-diagnostics
Review Group Insights Aspect Diagnostics Route
curl --request POST \
--url https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics"
payload = { "advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({advertiser_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-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://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'advertiser_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics"
payload := strings.NewReader("{\n \"advertiser_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"advertiser_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/brands/{brand_id}/brand-intelligence/review-group-insights/aspect-diagnostics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"advertiser_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "trustpilot",
"advertiser_name": "<string>",
"classified_reviews": 0,
"examined_reviews": 0,
"sample_avg_rating": 3,
"min_mentions": 0,
"sample_is_platform_total": false,
"sample_basis_notice": "Computed over AITasker's depth-capped sample of collected reviews, and within that only the reviews we classified — not the platform's full review population. Unclassified and uncollected reviews are excluded from every figure rather than counted as zero.",
"aspects": [
{
"aspect": "<string>",
"aspect_label": "<string>",
"negative_reviews": 0,
"avg_rating_with_negative": 3,
"avg_rating_without": 3,
"max_sample_uplift": 2,
"below_min_mentions": false,
"sub_themes": [
{
"sub_theme": "<string>",
"reviews": 2,
"negative": 0,
"positive": 0
}
]
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Per-aspect diagnostics for ONE brand on ONE platform.
Platform is required for the same reason the matrix requires it: reply and aspect behaviour differ enough between Trustpilot and Google that a pooled figure describes neither.
Response
Successful Response
The per-brand teardown layer under the cohort matrix.
Available options:
trustpilot, google Required range:
x >= 0Required range:
x >= 0Required range:
1 <= x <= 5Required range:
x >= 0sample_basis_notice
string
default:Computed over AITasker's depth-capped sample of collected reviews, and within that only the reviews we classified — not the platform's full review population. Unclassified and uncollected reviews are excluded from every figure rather than counted as zero.
Show child attributes
Show child attributes
Was this page helpful?