GET/v1/insights/overview
How the operation ran over 7, 14, 30 or 90 days, against the period before: documents checked by verdict, cases opened and decided, the time to a decision, requests completed, the findings that came up most, and each collection’s numbers.
- Who may
- Owner, Admin, Analyst and Viewer
- CLI
kontiga insights overview [--days <7|14|30|90>] [--collection-id <collection_id>]- MCP tool
get_insights_overview- Returns
- The period and the one before it, by day (by week over 90 days), with its totals, its findings and its collections.
Parameters
daysThe period, in days, ending today. Over 90 days the buckets are weeks.
collection_idOnly the numbers of this collection.
curl -X GET "https://api.kontiga.com/v1/insights/overview?days=7" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/insights/overview
{
"object": "insights_overview",
"as_of": "2026-11-27T09:00:00Z",
"time_zone": "Europe/Dublin",
"period": { "from": "2026-11-21", "to": "2026-11-27", "days": 7, "granularity": "day" },
"comparison_period": { "from": "2026-11-14", "to": "2026-11-20" },
"collection_id": null,
"buckets": [
{
"start": "2026-11-26",
"end": "2026-11-26",
"days": 1,
"documents": { "trusted": 28, "review": 4, "high_risk": 1 },
"cases": { "opened": 6, "approved": 8, "rejected": 1, "needs_attention": 2 },
"time_to_decision": { "median_hours": 4.0, "p90_hours": 19.5, "decisions": 11 },
"requests": { "sent": 7, "completed": 5 }
}
],
"totals": {
"documents_checked": 214,
"trusted": 181,
"review": 25,
"high_risk": 8,
"cases_opened": 41,
"cases_decided": 52,
"approved": 39,
"rejected": 6,
"needs_attention": 7,
"median_hours_to_decision": 5.0,
"p90_hours_to_decision": 26.0,
"requests_sent": 44,
"requests_completed": 33,
"median_hours_to_complete": 21.5
},
"comparison": {
"documents_checked": 198,
"trusted": 170,
"review": 21,
"high_risk": 7,
"cases_opened": 38,
"cases_decided": 45,
"approved": 33,
"rejected": 5,
"needs_attention": 7,
"median_hours_to_decision": 6.5,
"p90_hours_to_decision": 30.0,
"requests_sent": 40,
"requests_completed": 29,
"median_hours_to_complete": 24.0
},
"findings": [
{ "id": "ins_1Fx8Qw2", "kind": "fraud", "title": "An amount was changed after the document was made", "policy": null, "documents": 6, "previous": 4, "mostly_on": "Payslips" },
{ "id": "ins_7Cv3Bn5", "kind": "policy", "title": "The employer's tax number is missing", "policy": "Income verification standard", "documents": 3, "previous": 5, "mostly_on": "Payslips" }
],
"collections": [
{ "collection_id": "col_5Gk3Tm7", "name": "Mortgage application", "documents_checked": 152, "trusted": 127, "review": 19, "high_risk": 6, "cases_opened": 29, "cases_decided": 37, "median_hours_to_decision": 5.5, "requests_sent": 31, "requests_completed": 24 },
{ "collection_id": "col_9Rf2Lx4", "name": "Tenancy check", "documents_checked": 47, "trusted": 41, "review": 5, "high_risk": 1, "cases_opened": 12, "cases_decided": 15, "median_hours_to_decision": 3.5, "requests_sent": 13, "requests_completed": 9 }
],
"outside_collections": { "documents_checked": 15, "trusted": 13, "review": 1, "high_risk": 1 }
}GET/v1/insights
By day: documents checked by verdict, cases decided, and the median hours from a case’s last document to its decision.
- Who may
- Owner, Admin, Analyst and Viewer
- CLI
kontiga insights series [--days <7|30|90>]- MCP tool
get_insight_series- Returns
- One row a day, oldest first.
Parameters
daysHow many days, ending today.
curl -X GET "https://api.kontiga.com/v1/insights?days=30" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/insights
{
"items": [
{ "day": "2026-11-25", "trusted": 31, "review": 6, "high_risk": 2, "cases_decided": 9, "median_hours_to_decision": 5.5 },
{ "day": "2026-11-26", "trusted": 28, "review": 4, "high_risk": 1, "cases_decided": 11, "median_hours_to_decision": 4.0 }
],
"next_cursor": null
}POST/v1/insights/exports
The numbers the overview shows, for the same period and collection, as a CSV or a JSON file: one row per measure, bucket and breakdown, each rate with its numerator and denominator. No end customer is named in it.
- Who may
- Owner, Admin, Analyst and Viewer
- CLI
kontiga insights export --format <csv|json> [--days <7|14|30|90>] [--collection-id <collection_id>] [--output <path>]- MCP tool
export_insights- Returns
- The export, ready: its file name, its rows and the file itself.
Parameters
formatRequiredThe file’s format. Both hold one row per measure, bucket and breakdown, each rate with its numerator and denominator. One of
csv,json.daysThe period, as for the overview.
collection_idOnly the numbers of this collection.
curl -X POST https://api.kontiga.com/v1/insights/exports \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"format": "csv",
"days": 7
}'POST /v1/insights/exports
{
"id": "inx_5Tq2Wd8",
"object": "insights_export",
"status": "ready",
"format": "csv",
"rows": 186,
"file_name": "insights-2026-11-21-to-2026-11-27.csv",
"content_type": "text/csv",
"content": "measure,bucket_start,bucket_end,breakdown,value,numerator,denominator,unit,statistic\ndocuments_checked,2026-11-26,2026-11-26,trusted,28,,,documents,count\n...",
"expires_at": "2026-11-28T09:00:00Z"
}GET/v1/me/summary_subscription
How often you get the insights summary by email, and when the next one is sent. Yours alone, in this workspace.
- Who may
- Every member, for themselves
- CLI
kontiga summary get- MCP tool
get_summary_subscription- Returns
- How often the summary is sent to you, and when next.
No parameters.
curl -X GET https://api.kontiga.com/v1/me/summary_subscription \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/me/summary_subscription
{
"object": "summary_subscription",
"frequency": "weekly",
"next_at": "2026-11-30T08:00:00Z",
"email": "ines.moreau@harbourline.example"
}PUT/v1/me/summary_subscription
Get the insights summary by email every Monday, every day or on the first of the month, at 08:00, or stop it. It holds the period’s numbers and one link back to Insights, never a case reference or a person’s name.
- Who may
- Every member, for themselves
- CLI
kontiga summary update --frequency <weekly|daily|monthly|none>- MCP tool
update_summary_subscription- Returns
- How often the summary is sent to you now, and when next.
Parameters
frequencyRequiredweeklyon Mondays,dailyormonthlyon the 1st, each at 08:00, ornoneto stop it. It changes only yours.
curl -X PUT https://api.kontiga.com/v1/me/summary_subscription \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"frequency": "weekly"
}'PUT /v1/me/summary_subscription
{
"object": "summary_subscription",
"frequency": "weekly",
"next_at": "2026-11-30T08:00:00Z",
"email": "ines.moreau@harbourline.example"
}