The outcome reason object
idThe reason’s id, starting with
rsn_.codeA stable key for the API and reports, made from the words when the reason is added.
labelThe words members pick.
outcomesWhere it may be used:
approved,rejected,needs_attention.kindfraud,policy,incompleteorother. Onlyfraudcounts in fraud figures.requires_commentWhether the member must add a comment when they pick it.
activefalseonce archived. Settings lists archived reasons; deciding a case does not.built_inKontiga’s own, such as
agent_handoverfor a case the reasoning agent hands to the team. It cannot be archived.usedHow many decisions gave it.
GET/v1/outcome_reasons
The workspace’s own reasons a decision can give, for each outcome, and which need a comment.
- 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- Returns
- The active reasons, in the workspace’s order.
Parameters
outcomeOnly the reasons for this outcome. One of
approved,rejected,needs_attention.
curl -X GET "https://api.kontiga.com/v1/outcome_reasons?outcome=rejected" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/outcome_reasons
{
"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
}GET/v1/settings/cases/reasons
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.
- Who may
- Owner, Admin, Analyst, Developer and Viewer
- CLI
kontiga settings reasons list- MCP tool
list_reason_settings- Returns
- Every reason, active and archived, in order, with its use.
No parameters.
curl -X GET https://api.kontiga.com/v1/settings/cases/reasons \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/settings/cases/reasons
{
"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
}POST/v1/outcome_reasons
A reason members can pick for one or more outcomes, with its kind for Insights.
- 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- Returns
- The reason, active.
Parameters
labelRequiredThe words members pick. At most 80 characters.
outcomesRequiredThe outcomes it applies to, one or more. One of
approved,rejected,needs_attention. At most 3 items.kindWhat Insights counts it as.
otherwhen left out. One offraud,policy,incomplete,other.requires_commentWhether a comment must go with it.
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
}'POST /v1/outcome_reasons
{
"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
}PATCH/v1/outcome_reasons/{reason_id}
Its words, its kind, whether a comment is needed, or archive it. A reason is never deleted, so past decisions keep it.
- 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- Returns
- The reason, changed.
Parameters
reason_idRequiredThe reason to change. In the path.
labelNew words. The code stays the same. At most 80 characters.
kindA new kind. One of
fraud,policy,incomplete,other.requires_commentWhether a comment must go with it from now on.
activefalsearchives it: it leaves the list a decision offers and stays on past decisions.
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
}'PATCH /v1/outcome_reasons/{reason_id}
{
"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
}