GET/api/v1/signals/themes
Get themes and extracted signals
Theme extractions across the workspace's documents, paginated.
PARAMETERS
- pagequery · integer
- Page number, 1-based.e.g. 1
- per_pagequery · integer
- Items per page.e.g. 20
- themequery · string
- Only this theme (signal template name).e.g. string
- executivequery · string
- Only this executive.e.g. string
- companyquery · string
- Only this company.e.g. string
- communication_typequery · string
- Only this communication type.e.g. string
- signal_idquery · string
- One signal.e.g. string
- refreshquery · boolean
- Recompute instead of serving the cached copy.e.g. true
- force_refreshquery · boolean
- Same as refresh.e.g. true
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/signals/themes" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/signals/themes", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/signals/themes", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"pagination": {
"page": 1,
"per_page": 1,
"total_count": 1,
"total_pages": 1
},
"themes": [
{
"auto_tags": [
{
"extracted_value": "Jane Doe",
"name": "Executives"
}
],
"json_data": {},
"signal_id": "string",
"template_id": "string",
"template_name": "Pricing power"
}
]
}
