The policy object
idThe policy’s id, starting with
pol_.nameIts name.
ownerThe team that keeps it, in your words.
documentsIts documents, each with its version, the date it applies from, its state (
processing,readyorfailed) and its numbered passages.linksWhat it is linked to: a
collection, arequirementor aworkflow_step, by id.linked_toThe same links in words, with where each opens in the console.
countsIts documents by state, its passages, its links and its open findings.
{
"id": "pol_8Hm3Qr5",
"object": "policy",
"mode": "live",
"name": "Income verification standard",
"description": "What a payslip and a bank statement must show before income is accepted.",
"owner": "Credit risk",
"documents": [
{
"id": "ks_4Rb7Tn2",
"title": "Income verification standard",
"version": "3.1",
"effective_date": "2026-09-01",
"file_name": "income-verification-standard-v3.1.pdf",
"pages": 12,
"state": "ready",
"error": null,
"passages": [
{
"id": "psg_6Lc2Wv9",
"number": "3.2",
"heading": "Payslips",
"text": "A payslip shows the employer's name and tax number, the employee's name, the pay period and the net pay."
}
],
"added_at": "2026-09-01T08:30:00Z"
}
],
"links": [
{ "target": "collection", "id": "col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2" }
],
"linked_to": [
{ "target": "collection", "id": "col_5Gk3Tm7", "label": "Mortgage application", "parent": null, "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8", "label": "Payslips", "parent": "Mortgage application", "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2", "label": "Check every document", "parent": "Mortgage review", "href": "/console/settings/workflows/wf_3Kd8Pn2" }
],
"counts": { "documents": 1, "ready": 1, "processing": 0, "failed": 0, "passages": 41, "links": 3, "open_findings": 2 },
"created_at": "2026-09-01T08:30:00Z",
"updated_at": "2026-11-20T15:41:02Z"
}POST/v1/policies
A new named group in the Policies library, for the documents that say what meets policy.
- Who may
- Owner, Admin and Developer
- CLI
kontiga policies create --name <name> [--description <text>] [--owner <team>]- MCP tool
create_policy- Returns
- The policy, with no documents yet.
Parameters
nameRequiredIts name. At most 120 characters.
descriptionWhat it covers. At most 500 characters.
ownerThe team that keeps it. At most 80 characters.
curl -X POST https://api.kontiga.com/v1/policies \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Proof of address standard",
"description": "Which documents prove an address, and how recent they must be.",
"owner": "Compliance"
}'POST /v1/policies
{
"id": "pol_2Vk9Hs4",
"object": "policy",
"mode": "live",
"name": "Proof of address standard",
"description": "Which documents prove an address, and how recent they must be.",
"owner": "Compliance",
"documents": [],
"links": [],
"linked_to": [],
"counts": { "documents": 0, "ready": 0, "processing": 0, "failed": 0, "passages": 0, "links": 0, "open_findings": 0 },
"created_at": "2026-11-27T11:20:00Z",
"updated_at": "2026-11-27T11:20:00Z"
}GET/v1/policies
The Policies library: each policy with its documents, where it is linked, and its open findings.
- Who may
- Owner, Admin, Analyst, Developer and Viewer
- CLI
kontiga policies list- MCP tool
list_policies- Returns
- The policies, newest change first.
No parameters.
curl -X GET https://api.kontiga.com/v1/policies \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/policies
{
"items": [
{
"id": "pol_2Vk9Hs4",
"object": "policy",
"name": "Proof of address standard",
"owner": "Compliance",
"counts": { "documents": 1, "ready": 0, "processing": 1, "failed": 0, "passages": 0, "links": 0, "open_findings": 0 }
},
{
"id": "pol_8Hm3Qr5",
"object": "policy",
"name": "Income verification standard",
"owner": "Credit risk",
"counts": { "documents": 1, "ready": 1, "processing": 0, "failed": 0, "passages": 41, "links": 3, "open_findings": 2 }
}
],
"next_cursor": null
}GET/v1/policies/{policy_id}
One policy: its documents with version, effective date and numbered passages, its links, and the documents that fall short of it.
- Who may
- Owner, Admin, Analyst, Developer and Viewer
- CLI
kontiga policies get <policy_id>- MCP tool
get_policy- Returns
- The policy as it stands.
Parameters
policy_idRequiredThe policy to read. In the path.
curl -X GET https://api.kontiga.com/v1/policies/pol_8Hm3Qr5 \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/policies/{policy_id}
{
"id": "pol_8Hm3Qr5",
"object": "policy",
"mode": "live",
"name": "Income verification standard",
"description": "What a payslip and a bank statement must show before income is accepted.",
"owner": "Credit risk",
"documents": [
{
"id": "ks_4Rb7Tn2",
"title": "Income verification standard",
"version": "3.1",
"effective_date": "2026-09-01",
"file_name": "income-verification-standard-v3.1.pdf",
"pages": 12,
"state": "ready",
"error": null,
"passages": [
{
"id": "psg_6Lc2Wv9",
"number": "3.2",
"heading": "Payslips",
"text": "A payslip shows the employer's name and tax number, the employee's name, the pay period and the net pay."
}
],
"added_at": "2026-09-01T08:30:00Z"
}
],
"links": [
{ "target": "collection", "id": "col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2" }
],
"linked_to": [
{ "target": "collection", "id": "col_5Gk3Tm7", "label": "Mortgage application", "parent": null, "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8", "label": "Payslips", "parent": "Mortgage application", "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2", "label": "Check every document", "parent": "Mortgage review", "href": "/console/settings/workflows/wf_3Kd8Pn2" }
],
"counts": { "documents": 1, "ready": 1, "processing": 0, "failed": 0, "passages": 41, "links": 3, "open_findings": 2 },
"created_at": "2026-09-01T08:30:00Z",
"updated_at": "2026-11-20T15:41:02Z"
}POST/v1/policies/{policy_id}/sources
Add a document to a policy, with its version and the date it applies from; it is read into numbered passages.
- Who may
- Owner, Admin and Developer
- CLI
kontiga policies add-document <policy_id> <file> --title <title> --version <version> --effective-date <yyyy-mm-dd>- MCP tool
add_policy_document- Returns
- The policy, with the document processing.
Parameters
policy_idRequiredThe policy to add it to. In the path.
titleRequiredThe document’s title. At most 160 characters.
versionRequiredIts version, as the document numbers it. At most 32 characters.
effective_dateRequiredThe day it applies from,
yyyy-mm-dd.file_nameThe file’s name, when you send a file. At most 255 characters.
textThe document’s text, when you send it as text. At most 200,000 characters.
curl -X POST https://api.kontiga.com/v1/policies/pol_2Vk9Hs4/sources \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Proof of address standard",
"version": "1.0",
"effective_date": "2026-12-01",
"file_name": "proof-of-address-standard.pdf"
}'POST /v1/policies/{policy_id}/sources
{
"id": "pol_2Vk9Hs4",
"object": "policy",
"mode": "live",
"name": "Proof of address standard",
"documents": [
{
"id": "ks_9Pd3Xa6",
"title": "Proof of address standard",
"version": "1.0",
"effective_date": "2026-12-01",
"file_name": "proof-of-address-standard.pdf",
"pages": 0,
"state": "processing",
"error": null,
"passages": [],
"added_at": "2026-11-27T11:22:41Z"
}
],
"counts": { "documents": 1, "ready": 0, "processing": 1, "failed": 0, "passages": 0, "links": 0, "open_findings": 0 }
}POST/v1/policies/{policy_id}/links
Check the documents of a collection, a requirement or a workflow step against a policy.
- Who may
- Owner, Admin and Developer
- CLI
kontiga policies link <policy_id> --target <collection|requirement|workflow_step> --target-id <id>- MCP tool
link_policy- Returns
- The policy with the link added.
Parameters
policy_idRequiredThe policy. In the path.
targetRequiredWhat to check against it: a whole collection, one requirement, or one workflow step. One of
collection,requirement,workflow_step.target_idRequiredIts id: a
col_,rqm_orstp_id.
curl -X POST https://api.kontiga.com/v1/policies/pol_8Hm3Qr5/links \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": "requirement",
"target_id": "rqm_4Yc2Hn8"
}'POST /v1/policies/{policy_id}/links
{
"id": "pol_8Hm3Qr5",
"object": "policy",
"mode": "live",
"name": "Income verification standard",
"description": "What a payslip and a bank statement must show before income is accepted.",
"owner": "Credit risk",
"documents": [
{
"id": "ks_4Rb7Tn2",
"title": "Income verification standard",
"version": "3.1",
"effective_date": "2026-09-01",
"file_name": "income-verification-standard-v3.1.pdf",
"pages": 12,
"state": "ready",
"error": null,
"passages": [
{
"id": "psg_6Lc2Wv9",
"number": "3.2",
"heading": "Payslips",
"text": "A payslip shows the employer's name and tax number, the employee's name, the pay period and the net pay."
}
],
"added_at": "2026-09-01T08:30:00Z"
}
],
"links": [
{ "target": "collection", "id": "col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2" }
],
"linked_to": [
{ "target": "collection", "id": "col_5Gk3Tm7", "label": "Mortgage application", "parent": null, "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8", "label": "Payslips", "parent": "Mortgage application", "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2", "label": "Check every document", "parent": "Mortgage review", "href": "/console/settings/workflows/wf_3Kd8Pn2" }
],
"counts": { "documents": 1, "ready": 1, "processing": 0, "failed": 0, "passages": 41, "links": 3, "open_findings": 2 },
"created_at": "2026-09-01T08:30:00Z",
"updated_at": "2026-11-20T15:41:02Z"
}DELETE/v1/policies/{policy_id}/links/{target_id}
Stop checking a collection, a requirement or a workflow step against a policy.
- Who may
- Owner, Admin and Developer
- CLI
kontiga policies unlink <policy_id> --target <collection|requirement|workflow_step> --target-id <id>- MCP tool
unlink_policy- Returns
- The policy with the link removed.
Parameters
policy_idRequiredThe policy. In the path.
targetRequiredWhat the link is to. One of
collection,requirement,workflow_step.target_idRequiredIts id. In the path.
curl -X DELETE "https://api.kontiga.com/v1/policies/pol_8Hm3Qr5/links/rqm_4Yc2Hn8?target=requirement" \
-H "Authorization: Bearer $KONTIGA_API_KEY"DELETE /v1/policies/{policy_id}/links/{target_id}
{
"id": "pol_8Hm3Qr5",
"object": "policy",
"mode": "live",
"name": "Income verification standard",
"description": "What a payslip and a bank statement must show before income is accepted.",
"owner": "Credit risk",
"documents": [
{
"id": "ks_4Rb7Tn2",
"title": "Income verification standard",
"version": "3.1",
"effective_date": "2026-09-01",
"file_name": "income-verification-standard-v3.1.pdf",
"pages": 12,
"state": "ready",
"error": null,
"passages": [
{
"id": "psg_6Lc2Wv9",
"number": "3.2",
"heading": "Payslips",
"text": "A payslip shows the employer's name and tax number, the employee's name, the pay period and the net pay."
}
],
"added_at": "2026-09-01T08:30:00Z"
}
],
"links": [
{ "target": "collection", "id": "col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2" }
],
"linked_to": [
{ "target": "collection", "id": "col_5Gk3Tm7", "label": "Mortgage application", "parent": null, "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "requirement", "id": "rqm_4Yc2Hn8", "label": "Payslips", "parent": "Mortgage application", "href": "/console/settings/collections/col_5Gk3Tm7" },
{ "target": "workflow_step", "id": "stp_5Kw9Ld2", "label": "Check every document", "parent": "Mortgage review", "href": "/console/settings/workflows/wf_3Kd8Pn2" }
],
"counts": { "documents": 1, "ready": 1, "processing": 0, "failed": 0, "passages": 41, "links": 3, "open_findings": 2 },
"created_at": "2026-09-01T08:30:00Z",
"updated_at": "2026-11-20T15:41:02Z"
}POST/v1/policies/{policy_id}/search
The numbered passages of a policy that match a few words, best first, each with the document and the version it is in.
- Who may
- Owner, Admin, Analyst, Developer and Viewer
- CLI
kontiga policies search <policy_id> --query <words> [--top-k <n>]- MCP tool
search_policy- Returns
- The passages that match, best first, with their document, version and effective date.
Parameters
policy_idRequiredThe policy to search. In the path.
queryRequiredA few words. At most 200 characters.
top_kThe most passages to answer, 1 to 20.
curl -X POST https://api.kontiga.com/v1/policies/pol_8Hm3Qr5/search \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "employer tax number",
"top_k": 5
}'POST /v1/policies/{policy_id}/search
{
"object": "policy_search",
"policy_id": "pol_8Hm3Qr5",
"query": "employer tax number",
"passages": [
{
"document_id": "ks_4Rb7Tn2",
"document_title": "Income verification standard",
"version": "3.1",
"effective_date": "2026-09-01",
"passage": {
"id": "psg_6Lc2Wv9",
"number": "3.2",
"heading": "Payslips",
"text": "A payslip shows the employer's name and tax number, the employee's name, the pay period and the net pay."
}
}
]
}GET/v1/policies/{policy_id}/findings
Every document that fell short of a policy, newest first: the passage it quotes, what is missing and where, with the case and the person.
- Who may
- Owner, Admin, Analyst, Developer and Viewer
- CLI
kontiga policies findings <policy_id> [--open-only] [--limit <n>]- MCP tool
list_policy_findings- Returns
- The findings that quote the policy, newest document first.
Parameters
policy_idRequiredThe policy. In the path.
open_onlyOnly findings not reviewed yet.
limitHow many to answer, 1 to 200.
curl -X GET "https://api.kontiga.com/v1/policies/pol_8Hm3Qr5/findings?open_only=true" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/policies/{policy_id}/findings
{
"items": [
{
"document_id": "doc_7Qe1Mw4",
"document_title": "Payslip, September 2026",
"received_at": "2026-11-24T09:30:58Z",
"case_id": "case_7Kq2Xw9",
"case_reference": "APP-20418",
"case_title": "Mortgage application, 14 Harbour Row",
"person_name": "Marta Kowalczyk",
"finding": {
"id": "pfn_3Tz8Bk5",
"policy_id": "pol_8Hm3Qr5",
"policy_name": "Income verification standard",
"source_id": "ks_4Rb7Tn2",
"source_title": "Income verification standard, version 3.1",
"passage_id": "psg_6Lc2Wv9",
"passage_number": "3.2",
"quote": "A payslip shows the employer's name and tax number, the employee's name, the pay period and the net pay.",
"missing": "The employer's tax number is not on the payslip.",
"where": "Page 1, the header",
"reviewed": false
}
}
],
"next_cursor": null
}