Retrieve Visibility Overview
curl --request GET \
--url https://api.lightsage.com/v2/visibility/overview \
--header 'X-Lightsage-Api-Key: <api-key>'import requests
url = "https://api.lightsage.com/v2/visibility/overview"
headers = {"X-Lightsage-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Lightsage-Api-Key': '<api-key>'}};
fetch('https://api.lightsage.com/v2/visibility/overview', 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.lightsage.com/v2/visibility/overview",
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-Lightsage-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://api.lightsage.com/v2/visibility/overview"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Lightsage-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://api.lightsage.com/v2/visibility/overview")
.header("X-Lightsage-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lightsage.com/v2/visibility/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Lightsage-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"company": {
"name": "<string>",
"domain": "<string>",
"logo_url": "<string>",
"relationship": "<string>"
},
"date_range": {
"start_date": "<string>",
"end_date": "<string>",
"granularity": "day",
"latest_run_date": "<string>",
"active_prompts_only": true
},
"has_data": true,
"snapshot": {
"recommendation_score": 123,
"recommendation_score_rank": 123,
"visibility_score": 123,
"visibility_score_rank": 123,
"share_of_voice": 123,
"share_of_voice_rank": 123,
"average_position": 123,
"average_position_rank": 123,
"total_citations": 0
},
"timeseries": {
"recommendation_score": [
{
"date": "<string>",
"value": 123
}
],
"visibility_score": [
{
"date": "<string>",
"value": 123
}
]
},
"by_platform": {
"platforms": [
{
"platform_id": "<string>",
"name": "<string>",
"icon_url": "<string>",
"mention_count": 0,
"prompt_run_count": 0
}
],
"recommendation_score": {},
"visibility_score": {},
"citations": {}
},
"competitors": [
{
"company": {
"name": "<string>",
"domain": "<string>",
"logo_url": "<string>",
"relationship": "<string>"
},
"recommendation_score": 123,
"recommendation_score_rank": 123,
"visibility_score": 123,
"visibility_score_rank": 123,
"share_of_voice": 123,
"share_of_voice_rank": 123,
"average_position": 123,
"average_position_rank": 123
}
],
"period": {
"start_date": "<string>",
"end_date": "<string>",
"days": 123,
"previous_start_date": "<string>",
"previous_end_date": "<string>",
"previous_days": 123,
"partial": true,
"name": "<string>",
"timezone": "UTC"
},
"coverage": {
"comparable": true,
"current": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"previous": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"notes": [
"<string>"
],
"days": [
{
"date": "<string>",
"period": "current",
"runs": 123,
"expected_runs": 123,
"status": "ok"
}
]
},
"rates": {
"headline_metric": "owned_citations",
"current": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"previous": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"change": {
"owned_citations": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Visibility
Retrieve Visibility Overview
Returns aggregate snapshot, daily trends, per-platform breakdowns, and competitor comparison, with run coverage and per-run rates against the previous period. Calculated from active prompts only.
GET
/
v2
/
visibility
/
overview
Retrieve Visibility Overview
curl --request GET \
--url https://api.lightsage.com/v2/visibility/overview \
--header 'X-Lightsage-Api-Key: <api-key>'import requests
url = "https://api.lightsage.com/v2/visibility/overview"
headers = {"X-Lightsage-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Lightsage-Api-Key': '<api-key>'}};
fetch('https://api.lightsage.com/v2/visibility/overview', 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.lightsage.com/v2/visibility/overview",
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-Lightsage-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://api.lightsage.com/v2/visibility/overview"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Lightsage-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://api.lightsage.com/v2/visibility/overview")
.header("X-Lightsage-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lightsage.com/v2/visibility/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Lightsage-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"company": {
"name": "<string>",
"domain": "<string>",
"logo_url": "<string>",
"relationship": "<string>"
},
"date_range": {
"start_date": "<string>",
"end_date": "<string>",
"granularity": "day",
"latest_run_date": "<string>",
"active_prompts_only": true
},
"has_data": true,
"snapshot": {
"recommendation_score": 123,
"recommendation_score_rank": 123,
"visibility_score": 123,
"visibility_score_rank": 123,
"share_of_voice": 123,
"share_of_voice_rank": 123,
"average_position": 123,
"average_position_rank": 123,
"total_citations": 0
},
"timeseries": {
"recommendation_score": [
{
"date": "<string>",
"value": 123
}
],
"visibility_score": [
{
"date": "<string>",
"value": 123
}
]
},
"by_platform": {
"platforms": [
{
"platform_id": "<string>",
"name": "<string>",
"icon_url": "<string>",
"mention_count": 0,
"prompt_run_count": 0
}
],
"recommendation_score": {},
"visibility_score": {},
"citations": {}
},
"competitors": [
{
"company": {
"name": "<string>",
"domain": "<string>",
"logo_url": "<string>",
"relationship": "<string>"
},
"recommendation_score": 123,
"recommendation_score_rank": 123,
"visibility_score": 123,
"visibility_score_rank": 123,
"share_of_voice": 123,
"share_of_voice_rank": 123,
"average_position": 123,
"average_position_rank": 123
}
],
"period": {
"start_date": "<string>",
"end_date": "<string>",
"days": 123,
"previous_start_date": "<string>",
"previous_end_date": "<string>",
"previous_days": 123,
"partial": true,
"name": "<string>",
"timezone": "UTC"
},
"coverage": {
"comparable": true,
"current": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"previous": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"notes": [
"<string>"
],
"days": [
{
"date": "<string>",
"period": "current",
"runs": 123,
"expected_runs": 123,
"status": "ok"
}
]
},
"rates": {
"headline_metric": "owned_citations",
"current": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"previous": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"change": {
"owned_citations": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Query Parameters
Named period, resolved in UTC by the server: last_7_days, last_14_days, last_30_days, last_90_days (N days ending today), this_week, last_week, an ISO week such as 2026-W43 (Monday to Sunday), this_month, last_month, a month such as 2026-10, this_quarter, last_quarter, or a quarter such as 2026Q4. A current week, month, or quarter ends today. The response's period gives the resolved dates and the matching previous period. Do not combine with start_date or end_date.
Maximum string length:
20Response
Successful Response