List / search insights
curl --request GET \
--url https://api.closedloop.sh/v1/insights \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/insights"
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/insights', 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/insights",
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/insights"
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/insights")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/insights")
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": [
{
"id": "123e4567-e89b-42d3-a456-426614174000",
"title": "Scheduled exports are needed for reporting",
"category": "feature request",
"severity": "medium",
"customer_id": "c0ffee00-0000-4000-8000-000000000001",
"customer_name": "Acme Co",
"source": "gong_call_abc123",
"source_date": "2026-05-14T10:30:00Z",
"created_at": "2026-05-14T10:30:00Z",
"updated_at": "2026-05-15T08:12:00Z",
"feature_area_id": "523e4567-e89b-42d3-a456-426614174004",
"feature_area_name": "Exports",
"product_area_id": "423e4567-e89b-42d3-a456-426614174003",
"product_area_name": "Operations",
"product_areas": [
{
"id": "423e4567-e89b-42d3-a456-426614174003",
"name": "Operations"
}
],
"products": [
{
"id": "223e4567-e89b-42d3-a456-426614174001",
"name": "Core Platform",
"status": "active"
}
],
"product_features": [
{
"id": "323e4567-e89b-42d3-a456-426614174002",
"title": "Scheduled exports",
"product_id": "223e4567-e89b-42d3-a456-426614174001"
}
]
}
],
"pagination": {
"total": 1,
"limit": 50,
"offset": 0
}
}Insights
List / search insights
Search your product insights by customer, severity, product, area, date, or text, page through the results, or export them incrementally.
GET
/
insights
List / search insights
curl --request GET \
--url https://api.closedloop.sh/v1/insights \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/insights"
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/insights', 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/insights",
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/insights"
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/insights")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/insights")
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": [
{
"id": "123e4567-e89b-42d3-a456-426614174000",
"title": "Scheduled exports are needed for reporting",
"category": "feature request",
"severity": "medium",
"customer_id": "c0ffee00-0000-4000-8000-000000000001",
"customer_name": "Acme Co",
"source": "gong_call_abc123",
"source_date": "2026-05-14T10:30:00Z",
"created_at": "2026-05-14T10:30:00Z",
"updated_at": "2026-05-15T08:12:00Z",
"feature_area_id": "523e4567-e89b-42d3-a456-426614174004",
"feature_area_name": "Exports",
"product_area_id": "423e4567-e89b-42d3-a456-426614174003",
"product_area_name": "Operations",
"product_areas": [
{
"id": "423e4567-e89b-42d3-a456-426614174003",
"name": "Operations"
}
],
"products": [
{
"id": "223e4567-e89b-42d3-a456-426614174001",
"name": "Core Platform",
"status": "active"
}
],
"product_features": [
{
"id": "323e4567-e89b-42d3-a456-426614174002",
"title": "Scheduled exports",
"product_id": "223e4567-e89b-42d3-a456-426614174001"
}
]
}
],
"pagination": {
"total": 1,
"limit": 50,
"offset": 0
}
}