curl --request GET \
--url https://api.closedloop.sh/v1/themes \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/themes"
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/themes', 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/themes",
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/themes"
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/themes")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/themes")
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": "a1b2c3d4-e5f6-4a7b-8c9d-000000000001",
"title": "Payment interruption recovery",
"description": "Customers need clearer recovery paths after failed transactions.",
"ric_score": 7.8,
"status": "active"
}
],
"pagination": {
"total": 1,
"limit": 50,
"offset": 0
},
"search_mode": "semantic",
"min_similarity": 0.5
}List / search themes
List or search top-level product themes by status, product scope, evidence date, or meaning, with deterministic sorting and pagination.
curl --request GET \
--url https://api.closedloop.sh/v1/themes \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.closedloop.sh/v1/themes"
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/themes', 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/themes",
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/themes"
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/themes")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.closedloop.sh/v1/themes")
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": "a1b2c3d4-e5f6-4a7b-8c9d-000000000001",
"title": "Payment interruption recovery",
"description": "Customers need clearer recovery paths after failed transactions.",
"ric_score": 7.8,
"status": "active"
}
],
"pagination": {
"total": 1,
"limit": 50,
"offset": 0
},
"search_mode": "semantic",
"min_similarity": 0.5
}Authorizations
Team-scoped API key created in the app (Settings → API Keys).
Sent as X-API-Key: <key> on every request. The header name apikey
is also accepted as an alias.
Query Parameters
Include themes below the team's adaptive size floor. Default false.
Search text. Required when search_mode is semantic.
500Lexical substring matching, or semantic matching against theme embeddings.
lexical, semantic Minimum cosine similarity for semantic search. Valid only when search_mode is semantic.
0.3 <= x <= 1Permit lexical fallback if semantic search is unavailable. Valid only when search_mode is semantic.
Add valid merged themes, each with its final replacement_theme_id. Other filters still apply.
active, declined, shipped, parked ric_score, insight_count, unique_customer_count, created_at Filter by one product ID from /products.
Filter by one buildable product feature ID from /features.
Filter by one parent product-area ID from /areas.
Filter by one child feature-area ID from /areas. A feature area is the subject
area an insight is filed under; it is NOT a buildable feature ID from
/features, and the two are never interchangeable.
Inclusive start date, as a real calendar date in YYYY-MM-DD.
Any other form is rejected with 400 VALIDATION_ERROR - including
2026-5-1, 2026/05/01, May 1, 2026, a bare 2026, a date-time, and
impossible dates such as 2026-02-30.
^\d{4}-\d{2}-\d{2}$Inclusive end date, as a real calendar date in YYYY-MM-DD.
Validated by the same rule as date_from.
^\d{4}-\d{2}-\d{2}$Page size (max 200).
1 <= x <= 200Number of records to skip.
x >= 0Response
A page of themes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Search mode actually applied. Lexical indicates lexical/default search or an explicitly allowed fallback.
lexical, semantic Applied semantic threshold, or null when search_mode is lexical.