List a brand's prompts with their metrics
curl --request GET \
--url https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts \
--header 'X-API-KEY: <api-key>'import requests
url = "https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts', 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://core.cognizo.ai/api/v2/brands/{brand_id}/prompts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://core.cognizo.ai/api/v2/brands/{brand_id}/prompts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"topic_name": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"region_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"country_code": "<string>",
"visibility": 123,
"mentioned": true,
"last_run": "<string>",
"citation_share": 123,
"citation_share_diff": 123,
"ads": [
{
"ad_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_name": "<string>",
"advertiser_domain": "<string>",
"appearance_count": 123,
"prompt_count": 123,
"title": "<string>",
"body": "<string>",
"image_url": "<string>",
"target_url": "<string>",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z"
}
],
"visibility_diff": 123,
"sentiment": 123,
"sentiment_diff": 123,
"top_competitors": [
{
"id": "<string>",
"name": "<string>",
"visibility": 123,
"domain": "<string>",
"sentiment": 123,
"visibility_diff": 123,
"sentiment_diff": 123
}
],
"volume": 123,
"volume_confidence": 123,
"volume_change": 123,
"volume_change_percent": 123
}
],
"meta": {
"page": 123,
"page_size": 123,
"total_items": 123,
"total_pages": 123,
"counts": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}
}Prompts
List a brand's prompts with their metrics
GET
/
api
/
v2
/
brands
/
{brand_id}
/
prompts
List a brand's prompts with their metrics
curl --request GET \
--url https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts \
--header 'X-API-KEY: <api-key>'import requests
url = "https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts', 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://core.cognizo.ai/api/v2/brands/{brand_id}/prompts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://core.cognizo.ai/api/v2/brands/{brand_id}/prompts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.cognizo.ai/api/v2/brands/{brand_id}/prompts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"topic_name": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"region_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"country_code": "<string>",
"visibility": 123,
"mentioned": true,
"last_run": "<string>",
"citation_share": 123,
"citation_share_diff": 123,
"ads": [
{
"ad_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_name": "<string>",
"advertiser_domain": "<string>",
"appearance_count": 123,
"prompt_count": 123,
"title": "<string>",
"body": "<string>",
"image_url": "<string>",
"target_url": "<string>",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z"
}
],
"visibility_diff": 123,
"sentiment": 123,
"sentiment_diff": 123,
"top_competitors": [
{
"id": "<string>",
"name": "<string>",
"visibility": 123,
"domain": "<string>",
"sentiment": 123,
"visibility_diff": 123,
"sentiment_diff": 123
}
],
"volume": 123,
"volume_confidence": 123,
"volume_change": 123,
"volume_change_percent": 123
}
],
"meta": {
"page": 123,
"page_size": 123,
"total_items": 123,
"total_pages": 123,
"counts": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}
}Authorizations
Path Parameters
Query Parameters
Comma-separated sort keys; prefix with - for descending. Valid keys: prompt, topic, region, visibility, sentiment, volume, competitors (by tracked-competitor count), last_run, citation_share. Unknown keys are ignored and the list falls back to visibility desc. (Note: the competitor sort key is competitors, NOT top_competitors — that is a response field, not a sort key.)
Prompt text ILIKE search
Restrict the result set to these prompt_ids.
Found-brand restriction (legacy filter[brands]). Narrows visibility rows to these found_brand_ids.
⌘I

