Check evidence coverage
curl --request GET \
--url https://api.closedloop.sh/v1/coverage \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/coverage"
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://api.closedloop.sh/v1/coverage', 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.closedloop.sh/v1/coverage",
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://api.closedloop.sh/v1/coverage"
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://api.closedloop.sh/v1/coverage")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/coverage")
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{
"verdict": "informative",
"reason": "density_threshold_met",
"reads_as": "84 insights across 6 themes cover the requested scope, so a weak match is worth noticing, but it still is not proof that nobody wants it.",
"policy_version": "1",
"density_threshold": 50,
"filters": {
"product_id": null,
"product_feature_id": null,
"product_area_id": "223e4567-e89b-42d3-a456-426614174000",
"feature_area_id": null
},
"date_range": {
"from": null,
"to": null
},
"scope": {
"insight_count": 84,
"all_time_insight_count": 84,
"theme_count": 6,
"customer_count": 31,
"deal_blocker_count": 4,
"feedback_since": "2026-01-12T09:00:00Z"
},
"team": {
"insight_count": 508,
"feedback_since": "2025-11-03T12:00:00Z"
}
}Analytics
Check evidence coverage
Check whether a product or area has enough feedback to draw conclusions from, with insight totals and the dates your feedback covers.
GET
/
coverage
Check evidence coverage
curl --request GET \
--url https://api.closedloop.sh/v1/coverage \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/coverage"
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://api.closedloop.sh/v1/coverage', 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.closedloop.sh/v1/coverage",
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://api.closedloop.sh/v1/coverage"
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://api.closedloop.sh/v1/coverage")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/coverage")
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{
"verdict": "informative",
"reason": "density_threshold_met",
"reads_as": "84 insights across 6 themes cover the requested scope, so a weak match is worth noticing, but it still is not proof that nobody wants it.",
"policy_version": "1",
"density_threshold": 50,
"filters": {
"product_id": null,
"product_feature_id": null,
"product_area_id": "223e4567-e89b-42d3-a456-426614174000",
"feature_area_id": null
},
"date_range": {
"from": null,
"to": null
},
"scope": {
"insight_count": 84,
"all_time_insight_count": 84,
"theme_count": 6,
"customer_count": 31,
"deal_blocker_count": 4,
"feedback_since": "2026-01-12T09:00:00Z"
},
"team": {
"insight_count": 508,
"feedback_since": "2025-11-03T12:00:00Z"
}
}Authorizations
Query Parameters
Response
Coverage verdict and supporting totals