# Insights

> Kontiga is document fraud detection by Bynn Intelligence for insurers, letting agents, lenders and HR screening teams: every document is compared with a proprietary library of more than 300 million original documents, gathered over 20 years.

Documentation index: https://kontiga.com/llms.txt

Section: Reference. URL: https://kontiga.com/docs/insights

Insights are the workspace's numbers over a period: documents checked by verdict, cases opened and decided, how long a decision takes, requests completed and the findings that came up most, each against the period before. Read them, export them, and choose how often the summary email reaches you. No export names an end customer.

Updated November 28, 2026

## Read the 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.

`GET /v1/insights/overview`. 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`.

**Parameters**
- `days` (literal or literal or literal or literal, default 30): The period, in days, ending today. Over 90 days the buckets are weeks.
- `collection_id` (id (col_)): Only the numbers of this collection.

**Returns** insights overview: The period and the one before it, by day (by week over 90 days), with its totals, its findings and its collections.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/insights/overview?days=7" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga insights overview --days 7
```

MCP tool `get_insights_overview`:

```json
{
  "name": "get_insights_overview",
  "arguments": {
    "days": 7
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.insights.overview({
  days: 7,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.insights.overview(days=7)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Insights.Overview(ctx, &kontiga.InsightsOverviewParams{
	Days: 7,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.insights().overview(InsightsOverviewParams.builder()
    .days(7)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Insights.OverviewAsync(new InsightsOverviewOptions
{
    Days = 7,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->insights->overview([
    'days' => 7,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.insights.overview(days: 7)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .insights()
    .overview(kontiga::insights::OverviewParams {
        days: 7,
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "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 }
}
```

## Read the insight series

By day: documents checked by verdict, cases decided, and the median hours from a case's last document to its decision.

`GET /v1/insights`. Who may: Owner, Admin, Analyst and Viewer. CLI: `kontiga insights series [--days <7|30|90>]`. MCP tool: `get_insight_series`.

**Parameters**
- `days` (literal or literal or literal, default 30): How many days, ending today.

**Returns** list of days: One row a day, oldest first.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/insights?days=30" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga insights series --days 30
```

MCP tool `get_insight_series`:

```json
{
  "name": "get_insight_series",
  "arguments": {
    "days": 30
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.insights.series({
  days: 30,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.insights.series(days=30)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Insights.Series(ctx, &kontiga.InsightsSeriesParams{
	Days: 30,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.insights().series(InsightsSeriesParams.builder()
    .days(30)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Insights.SeriesAsync(new InsightsSeriesOptions
{
    Days = 30,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->insights->series([
    'days' => 30,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.insights.series(days: 30)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .insights()
    .series(kontiga::insights::SeriesParams {
        days: 30,
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "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
}
```

## Export insights

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.

`POST /v1/insights/exports`. 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`.

**Parameters**
- `format` (enum, required): The file's format. Both hold one row per measure, bucket and breakdown, each rate with its numerator and denominator. One of `csv`, `json`.
- `days` (literal or literal or literal or literal, default 30): The period, as for the overview.
- `collection_id` (id (col_)): Only the numbers of this collection.

**Returns** insights export: The export, ready: its file name, its rows and the file itself.

API:

```bash
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
  }'
```

CLI:

```bash
kontiga insights export --format csv --days 7
```

MCP tool `export_insights`:

```json
{
  "name": "export_insights",
  "arguments": {
    "format": "csv",
    "days": 7
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.insights.export({
  format: "csv",
  days: 7,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.insights.export(format="csv", days=7)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Insights.Export(ctx, &kontiga.InsightsExportParams{
	Format: "csv",
	Days:   7,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.insights().export(InsightsExportParams.builder()
    .format("csv")
    .days(7)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Insights.ExportAsync(new InsightsExportOptions
{
    Format = "csv",
    Days = 7,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->insights->export([
    'format' => 'csv',
    'days' => 7,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.insights.export(format: "csv", days: 7)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .insights()
    .export(kontiga::insights::ExportParams {
        format: "csv".into(),
        days: 7,
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "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"
}
```

## Read your summary emails

How often you get the insights summary by email, and when the next one is sent. Yours alone, in this workspace.

`GET /v1/me/summary_subscription`. Who may: Every member, for themselves. CLI: `kontiga summary get`. MCP tool: `get_summary_subscription`.

**Parameters**

**Returns** summary subscription: How often the summary is sent to you, and when next.

API:

```bash
curl -X GET https://api.kontiga.com/v1/me/summary_subscription \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga summary get
```

MCP tool `get_summary_subscription`:

```json
{
  "name": "get_summary_subscription",
  "arguments": {}
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.summary.get();
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.summary.get()
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Summary.Get(ctx)
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.summary().get();
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Summary.GetAsync();
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->summary->get();
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.summary.get
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .summary()
    .get()
    .await?;
```

Response, 200 OK:

```json
{
  "object": "summary_subscription",
  "frequency": "weekly",
  "next_at": "2026-11-30T08:00:00Z",
  "email": "ines.moreau@harbourline.example"
}
```

## Change your summary emails

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.

`PUT /v1/me/summary_subscription`. Who may: Every member, for themselves. CLI: `kontiga summary update --frequency <weekly|daily|monthly|none>`. MCP tool: `update_summary_subscription`.

**Parameters**
- `frequency` (enum, required): `weekly` on Mondays, `daily` or `monthly` on the 1st, each at 08:00, or `none` to stop it. It changes only yours.

**Returns** summary subscription: How often the summary is sent to you now, and when next.

API:

```bash
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"
  }'
```

CLI:

```bash
kontiga summary update --frequency weekly
```

MCP tool `update_summary_subscription`:

```json
{
  "name": "update_summary_subscription",
  "arguments": {
    "frequency": "weekly"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.summary.update({
  frequency: "weekly",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.summary.update(frequency="weekly")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Summary.Update(ctx, &kontiga.SummaryUpdateParams{
	Frequency: "weekly",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.summary().update(SummaryUpdateParams.builder()
    .frequency("weekly")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Summary.UpdateAsync(new SummaryUpdateOptions
{
    Frequency = "weekly",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->summary->update([
    'frequency' => 'weekly',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.summary.update(frequency: "weekly")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .summary()
    .update(kontiga::summary::UpdateParams {
        frequency: "weekly".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "object": "summary_subscription",
  "frequency": "weekly",
  "next_at": "2026-11-30T08:00:00Z",
  "email": "ines.moreau@harbourline.example"
}
```
