# Outcome reasons

> 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/outcome-reasons

Every decision on a case gives at least one reason from the workspace's own list. Each reason applies to one or more outcomes, may require a comment, and has a kind that Insights counts by. A reason that was used is archived, never deleted, so past decisions keep it.

Updated November 28, 2026

## The outcome reason object

- `id` (string): The reason's id, starting with `rsn_`.
- `code` (string): A stable key for the API and reports, made from the words when the reason is added.
- `label` (string): The words members pick.
- `outcomes` (array): Where it may be used: `approved`, `rejected`, `needs_attention`.
- `kind` (enum): `fraud`, `policy`, `incomplete` or `other`. Only `fraud` counts in fraud figures.
- `requires_comment` (boolean): Whether the member must add a comment when they pick it.
- `active` (boolean): `false` once archived. Settings lists archived reasons; deciding a case does not.
- `built_in` (boolean): Kontiga's own, such as `agent_handover` for a case the reasoning agent hands to the team. It cannot be archived.
- `used` (number): How many decisions gave it.

## List the outcome reasons

The workspace's own reasons a decision can give, for each outcome, and which need a comment.

`GET /v1/outcome_reasons`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga outcome-reasons list [--outcome <approved|rejected|needs_attention>]`. MCP tool: `list_outcome_reasons`.

**Parameters**
- `outcome` (enum): Only the reasons for this outcome. One of `approved`, `rejected`, `needs_attention`.

**Returns** list of outcome reasons: The active reasons, in the workspace's order.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/outcome_reasons?outcome=rejected" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga outcome-reasons list --outcome rejected
```

MCP tool `list_outcome_reasons`:

```json
{
  "name": "list_outcome_reasons",
  "arguments": {
    "outcome": "rejected"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.outcomeReasons.list({
  outcome: "rejected",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.outcome_reasons.list(outcome="rejected")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.OutcomeReasons.List(ctx, &kontiga.OutcomeReasonsListParams{
	Outcome: "rejected",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.outcomeReasons().list(OutcomeReasonsListParams.builder()
    .outcome("rejected")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.OutcomeReasons.ListAsync(new OutcomeReasonsListOptions
{
    Outcome = "rejected",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->outcomeReasons->list([
    'outcome' => 'rejected',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.outcome_reasons.list(outcome: "rejected")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .outcome_reasons()
    .list(kontiga::outcome_reasons::ListParams {
        outcome: "rejected".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "rsn_4Bt7Qe1",
      "object": "outcome_reason",
      "code": "document_fraud",
      "label": "Document fraud suspected",
      "outcomes": ["rejected"],
      "kind": "fraud",
      "requires_comment": false
    },
    {
      "id": "rsn_6Hm2Wz9",
      "object": "outcome_reason",
      "code": "identity_not_verified",
      "label": "Identity not verified",
      "outcomes": ["rejected"],
      "kind": "policy",
      "requires_comment": false
    },
    {
      "id": "rsn_8Ck5Lr3",
      "object": "outcome_reason",
      "code": "screening_match",
      "label": "Screening match confirmed",
      "outcomes": ["rejected"],
      "kind": "policy",
      "requires_comment": false
    },
    {
      "id": "rsn_2Nv9Ds6",
      "object": "outcome_reason",
      "code": "policy_not_met",
      "label": "Does not meet our policy",
      "outcomes": ["rejected"],
      "kind": "policy",
      "requires_comment": false
    },
    {
      "id": "rsn_5Jx3Fp8",
      "object": "outcome_reason",
      "code": "incomplete",
      "label": "Information incomplete",
      "outcomes": ["rejected"],
      "kind": "incomplete",
      "requires_comment": false
    },
    {
      "id": "rsn_7Gq1Tk4",
      "object": "outcome_reason",
      "code": "withdrawn",
      "label": "Withdrawn by the applicant",
      "outcomes": ["rejected"],
      "kind": "other",
      "requires_comment": false
    },
    {
      "id": "rsn_9Ra6Mh2",
      "object": "outcome_reason",
      "code": "other",
      "label": "Other",
      "outcomes": ["rejected", "needs_attention"],
      "kind": "other",
      "requires_comment": true
    }
  ],
  "next_cursor": null
}
```

## List the outcome reasons to manage

Every outcome reason of the workspace, archived ones included, in order, with how many decisions used each. Deciding a case reads only the active ones.

`GET /v1/settings/cases/reasons`. Who may: Owner, Admin, Analyst, Developer and Viewer. CLI: `kontiga settings reasons list`. MCP tool: `list_reason_settings`.

**Parameters**

**Returns** list of outcome reasons: Every reason, active and archived, in order, with its use.

API:

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

CLI:

```bash
kontiga settings reasons list
```

MCP tool `list_reason_settings`:

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

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.reasonSettings.list();
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.reason_settings.list()
```

Go:

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

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.reasonSettings().list();
```

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.reason_settings.list
```

Rust:

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

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "rsn_1Aq4Re7",
      "object": "outcome_reason",
      "code": "requirements_met",
      "label": "All requirements met",
      "outcomes": ["approved"],
      "kind": "other",
      "requires_comment": false,
      "active": true,
      "built_in": false,
      "position": 1,
      "used": 214
    },
    {
      "id": "rsn_3Dk8Yp5",
      "object": "outcome_reason",
      "code": "approved_with_exception",
      "label": "Approved with an exception",
      "outcomes": ["approved"],
      "kind": "other",
      "requires_comment": true,
      "active": true,
      "built_in": false,
      "position": 2,
      "used": 9
    },
    {
      "id": "rsn_4Bt7Qe1",
      "object": "outcome_reason",
      "code": "document_fraud",
      "label": "Document fraud suspected",
      "outcomes": ["rejected"],
      "kind": "fraud",
      "requires_comment": false,
      "active": true,
      "built_in": false,
      "position": 3,
      "used": 17
    },
    {
      "id": "rsn_6Wy3Gb8",
      "object": "outcome_reason",
      "code": "second_look",
      "label": "Needs a second look",
      "outcomes": ["needs_attention"],
      "kind": "other",
      "requires_comment": false,
      "active": true,
      "built_in": false,
      "position": 4,
      "used": 31
    },
    {
      "id": "rsn_0Ze5Hu2",
      "object": "outcome_reason",
      "code": "agent_handover",
      "label": "Sent to the team for review",
      "outcomes": ["needs_attention"],
      "kind": "other",
      "requires_comment": false,
      "active": true,
      "built_in": true,
      "position": 5,
      "used": 12
    },
    {
      "id": "rsn_2Fs7Jc4",
      "object": "outcome_reason",
      "code": "missing_bank_letter",
      "label": "Bank letter missing",
      "outcomes": ["needs_attention"],
      "kind": "incomplete",
      "requires_comment": false,
      "active": false,
      "built_in": false,
      "position": 6,
      "used": 3
    }
  ],
  "next_cursor": null
}
```

## Add an outcome reason

A reason members can pick for one or more outcomes, with its kind for Insights.

`POST /v1/outcome_reasons`. Who may: Owner and Admin. CLI: `kontiga outcome-reasons create --label <text> --outcomes <approved|rejected|needs_attention>,... [--kind <fraud|policy|incomplete|other>] [--requires-comment <true|false>]`. MCP tool: `create_outcome_reason`.

**Parameters**
- `label` (string, required): The words members pick. At most 80 characters.
- `outcomes` (array of enum, required): The outcomes it applies to, one or more. One of `approved`, `rejected`, `needs_attention`. At most 3 items.
- `kind` (enum, default "other"): What Insights counts it as. `other` when left out. One of `fraud`, `policy`, `incomplete`, `other`.
- `requires_comment` (boolean, default false): Whether a comment must go with it.

**Returns** reason: The reason, active.

API:

```bash
curl -X POST https://api.kontiga.com/v1/outcome_reasons \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Valuation below the agreed price",
    "outcomes": [
      "rejected",
      "needs_attention"
    ],
    "kind": "policy",
    "requires_comment": true
  }'
```

CLI:

```bash
kontiga outcome-reasons create \
  --label 'Valuation below the agreed price' \
  --outcomes rejected,needs_attention \
  --kind policy \
  --requires-comment
```

MCP tool `create_outcome_reason`:

```json
{
  "name": "create_outcome_reason",
  "arguments": {
    "label": "Valuation below the agreed price",
    "outcomes": [
      "rejected",
      "needs_attention"
    ],
    "kind": "policy",
    "requires_comment": true
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.outcomeReasons.create({
  label: "Valuation below the agreed price",
  outcomes: ["rejected", "needs_attention"],
  kind: "policy",
  requires_comment: true,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.outcome_reasons.create(
    label="Valuation below the agreed price",
    outcomes=["rejected", "needs_attention"],
    kind="policy",
    requires_comment=True,
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.OutcomeReasons.Create(ctx, &kontiga.OutcomeReasonsCreateParams{
	Label:           "Valuation below the agreed price",
	Outcomes:        []string{"rejected", "needs_attention"},
	Kind:            "policy",
	RequiresComment: true,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.outcomeReasons().create(OutcomeReasonsCreateParams.builder()
    .label("Valuation below the agreed price")
    .outcomes(List.of("rejected", "needs_attention"))
    .kind("policy")
    .requiresComment(true)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.OutcomeReasons.CreateAsync(new OutcomeReasonsCreateOptions
{
    Label = "Valuation below the agreed price",
    Outcomes = new[] { "rejected", "needs_attention" },
    Kind = "policy",
    RequiresComment = true,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->outcomeReasons->create([
    'label' => 'Valuation below the agreed price',
    'outcomes' => ['rejected', 'needs_attention'],
    'kind' => 'policy',
    'requires_comment' => true,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.outcome_reasons.create(
  label: "Valuation below the agreed price",
  outcomes: ["rejected", "needs_attention"],
  kind: "policy",
  requires_comment: true
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .outcome_reasons()
    .create(kontiga::outcome_reasons::CreateParams {
        label: "Valuation below the agreed price".into(),
        outcomes: vec!["rejected".into(), "needs_attention".into()],
        kind: "policy".into(),
        requires_comment: true,
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "id": "rsn_7Pd2Nx6",
  "object": "outcome_reason",
  "code": "valuation_below_price",
  "label": "Valuation below the agreed price",
  "outcomes": ["rejected", "needs_attention"],
  "kind": "policy",
  "requires_comment": true,
  "active": true,
  "built_in": false,
  "position": 16,
  "used": 0
}
```

## Change an outcome reason

Its words, its kind, whether a comment is needed, or archive it. A reason is never deleted, so past decisions keep it.

`PATCH /v1/outcome_reasons/{reason_id}`. Who may: Owner and Admin. CLI: `kontiga outcome-reasons update <reason_id> [--label <text>] [--kind <fraud|policy|incomplete|other>] [--requires-comment <true|false>] [--active <true|false>]`. MCP tool: `update_outcome_reason`.

**Parameters**
- `reason_id` (id (rsn_), required): The reason to change. In the path.
- `label` (string): New words. The code stays the same. At most 80 characters.
- `kind` (enum): A new kind. One of `fraud`, `policy`, `incomplete`, `other`.
- `requires_comment` (boolean): Whether a comment must go with it from now on.
- `active` (boolean): `false` archives it: it leaves the list a decision offers and stays on past decisions.

**Returns** reason: The reason, changed.

API:

```bash
curl -X PATCH https://api.kontiga.com/v1/outcome_reasons/rsn_2Fs7Jc4 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "active": false
  }'
```

CLI:

```bash
kontiga outcome-reasons update rsn_2Fs7Jc4 --active=false
```

MCP tool `update_outcome_reason`:

```json
{
  "name": "update_outcome_reason",
  "arguments": {
    "reason_id": "rsn_2Fs7Jc4",
    "active": false
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.outcomeReasons.update("rsn_2Fs7Jc4", {
  active: false,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.outcome_reasons.update("rsn_2Fs7Jc4", active=False)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.OutcomeReasons.Update(ctx, "rsn_2Fs7Jc4", &kontiga.OutcomeReasonsUpdateParams{
	Active: false,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.outcomeReasons().update("rsn_2Fs7Jc4", OutcomeReasonsUpdateParams.builder()
    .active(false)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.OutcomeReasons.UpdateAsync("rsn_2Fs7Jc4", new OutcomeReasonsUpdateOptions
{
    Active = false,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->outcomeReasons->update('rsn_2Fs7Jc4', [
    'active' => false,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.outcome_reasons.update("rsn_2Fs7Jc4", active: false)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .outcome_reasons()
    .update("rsn_2Fs7Jc4".into(), kontiga::outcome_reasons::UpdateParams {
        active: false,
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "rsn_2Fs7Jc4",
  "object": "outcome_reason",
  "code": "missing_bank_letter",
  "label": "Bank letter missing",
  "outcomes": ["needs_attention"],
  "kind": "incomplete",
  "requires_comment": false,
  "active": false,
  "built_in": false,
  "position": 6,
  "used": 3
}
```
