# Lookout

> 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/lookout

Kontiga Lookout is the fraud consortium of member insurers, banks and lenders. It sends you a heads-up when one of your people signs up, claims or applies for loans at several members at once, or sends a document another member already has. It says that there is a match and what kind, never the other member's data. Lookout is opt-in: only members are matched, and only members get heads-ups.

Updated November 28, 2026

## What a heads-up shows

- Your own person, case and document it is about, in full.
- How many other members the pattern spans, when each part of it happened (to the hour at a member it does not name, `at_precision`), and what kind of detail matched. Not which members.
- With a data sharing agreement, the other member's name and the details the agreement covers (the person's name as they hold it, `person_name`, and their reference for the case), marked with the agreement. You can ask that member about their case with a note. An agreement that ends shows nothing more.

Patterns

| pattern | When |
| --- | --- |
| `sign_ups` | The same person signed up at several members within days. |
| `claims` | The same person claimed at several members within days. |
| `document_reused` | A document already sent to another member. |
| `loan_applications` | The same person applied for loans at several members at the same time. |

Statuses

| status | Means |
| --- | --- |
| `new` | Nobody has looked at it yet. |
| `reviewing` | Someone on your team is looking at it. |
| `linked` | Kept with one of your cases (`linked_case_id`). |
| `escalated` | Sent on, to your fraud team or a lead. |
| `cleared` | Looked at, and nothing to act on. |

## List Lookout heads-ups

The heads-ups Lookout sent this workspace: a person who signs up, claims or borrows at several members at once, or a document another member already has. Newest first, by status, pattern, person or case.

`GET /v1/lookout/alerts`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga lookout-alerts list [--status <new|reviewing|linked|escalated|cleared>] [--pattern <sign_ups|claims|document_reused|loan_applications>] [--person-id <person_id>] [--case-id <case_id>] [--limit <n>]`. MCP tool: `list_lookout_alerts`.

**Parameters**
- `status` (enum): Only heads-ups in this status. One of `new`, `reviewing`, `linked`, `escalated`, `cleared`.
- `pattern` (enum): Only heads-ups of this pattern. One of `sign_ups`, `claims`, `document_reused`, `loan_applications`.
- `person_id` (id (per_)): Only heads-ups about this person of yours.
- `case_id` (id (case_)): Only heads-ups about this case, or linked to it.
- `limit` (integer): At most this many, from 1 to 200.

**Returns** list of lookout alerts: The heads-ups, newest first, each with its pattern, status and how many other members it spans.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/lookout/alerts?status=new" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga lookout-alerts list --status new
```

MCP tool `list_lookout_alerts`:

```json
{
  "name": "list_lookout_alerts",
  "arguments": {
    "status": "new"
  }
}
```

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.lookout_alerts.list(status="new")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.LookoutAlerts.List(ctx, &kontiga.LookoutAlertsListParams{
	Status: "new",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.lookoutAlerts().list(LookoutAlertsListParams.builder()
    .status("new")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.LookoutAlerts.ListAsync(new LookoutAlertsListOptions
{
    Status = "new",
});
```

PHP:

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

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.lookout_alerts.list(status: "new")
```

Rust:

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

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "lka_3Vn7Qm2",
      "object": "lookout_alert",
      "pattern": "claims",
      "title": "Claims at 2 other members in 9 days",
      "risk": "high_risk",
      "status": "escalated",
      "other_members": 2,
      "matched": [
        "phone",
        "bank_account"
      ],
      "window": {
        "from": "2026-11-14T04:00:00Z",
        "to": "2026-11-23T06:00:00Z"
      },
      "person_id": "per_2Kd9Lm4",
      "person_name": "Ana Ribeiro",
      "case_id": "case_6Tr1Yk5",
      "case_reference": "C-4617",
      "document_id": null,
      "linked_case_id": null,
      "assignee_id": "mem_5Hd2Kx8",
      "note": "Sent to the fraud team before anything is paid.",
      "agreements": [
        {
          "agreement_id": "dsa_4Hn8Qe2",
          "lookout_member": "Corriemoor Mutual"
        }
      ],
      "created_at": "2026-11-23T06:06:00Z",
      "updated_at": "2026-11-23T11:46:00Z"
    },
    {
      "id": "lka_8Pw1Rt5",
      "object": "lookout_alert",
      "pattern": "loan_applications",
      "title": "Loans applied for at 4 other member banks in one day",
      "risk": "high_risk",
      "status": "new",
      "other_members": 4,
      "matched": [
        "email",
        "phone"
      ],
      "window": {
        "from": "2026-11-14T04:00:00Z",
        "to": "2026-11-23T06:00:00Z"
      },
      "person_id": "per_2Kd9Lm4",
      "person_name": "Ana Ribeiro",
      "case_id": "case_6Tr1Yk5",
      "case_reference": "C-4617",
      "document_id": null,
      "linked_case_id": null,
      "assignee_id": null,
      "note": null,
      "agreements": [],
      "created_at": "2026-11-23T06:06:00Z",
      "updated_at": "2026-11-23T11:46:00Z"
    }
  ],
  "next_cursor": null
}
```

## Read a heads-up

One heads-up in full: its pattern over time, here and at other members, and what the team did with it.

`GET /v1/lookout/alerts/{alert_id}`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga lookout-alerts get <alert_id>`. MCP tool: `get_lookout_alert`.

**Parameters**
- `alert_id` (id (lka_), required): The heads-up to read. In the path.

**Returns** lookout alert: The heads-up with its timeline and its history.

API:

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

CLI:

```bash
kontiga lookout-alerts get lka_3Vn7Qm2
```

MCP tool `get_lookout_alert`:

```json
{
  "name": "get_lookout_alert",
  "arguments": {
    "alert_id": "lka_3Vn7Qm2"
  }
}
```

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.lookout_alerts.get("lka_3Vn7Qm2")
```

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.lookout_alerts.get("lka_3Vn7Qm2")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .lookout_alerts()
    .get("lka_3Vn7Qm2".into())
    .await?;
```

Response, 200 OK:

```json
{
  "id": "lka_3Vn7Qm2",
  "object": "lookout_alert",
  "pattern": "claims",
  "title": "Claims at 2 other members in 9 days",
  "risk": "high_risk",
  "status": "escalated",
  "other_members": 2,
  "matched": [
    "phone",
    "bank_account"
  ],
  "window": {
    "from": "2026-11-14T04:00:00Z",
    "to": "2026-11-23T06:00:00Z"
  },
  "person_id": "per_2Kd9Lm4",
  "person_name": "Ana Ribeiro",
  "case_id": "case_6Tr1Yk5",
  "case_reference": "C-4617",
  "document_id": null,
  "linked_case_id": null,
  "assignee_id": "mem_5Hd2Kx8",
  "note": "Sent to the fraud team before anything is paid.",
  "agreements": [
    {
      "agreement_id": "dsa_4Hn8Qe2",
      "lookout_member": "Corriemoor Mutual"
    }
  ],
  "created_at": "2026-11-23T06:06:00Z",
  "updated_at": "2026-11-23T11:46:00Z",
  "summary": "Ana Ribeiro claimed at two other Lookout members in the nine days before C-4617, with the same phone number and bank account. One of them is Corriemoor Mutual, under your data sharing agreement.",
  "timeline": [
    {
      "at": "2026-11-14T04:12:00Z",
      "where": "member",
      "what": "A claim at another member, with the same phone number and bank account",
      "agreement": {
        "agreement_id": "dsa_4Hn8Qe2",
        "lookout_member": "Corriemoor Mutual"
      },
      "reference": "CM-48213",
      "person_name": "Marta Lopes Vieira",
      "at_precision": "minute",
      "person_id": null,
      "case_id": null,
      "document_id": null
    },
    {
      "at": "2026-11-19T00:00:00Z",
      "where": "member",
      "what": "A claim at another member, with the same phone number",
      "agreement": null,
      "reference": null,
      "person_name": null,
      "at_precision": "hour",
      "person_id": null,
      "case_id": null,
      "document_id": null
    },
    {
      "at": "2026-11-23T06:00:00Z",
      "where": "here",
      "what": "C-4617 opened",
      "agreement": null,
      "reference": null,
      "person_name": null,
      "at_precision": "minute",
      "person_id": "per_2Kd9Lm4",
      "case_id": "case_6Tr1Yk5",
      "document_id": null
    }
  ],
  "history": [
    {
      "at": "2026-11-23T06:06:00Z",
      "by": null,
      "by_name": "Kontiga Lookout",
      "status": "new",
      "assignee_id": null,
      "note": null,
      "asked_member": null
    },
    {
      "at": "2026-11-23T11:46:00Z",
      "by": "mem_3Rt8Lp2",
      "by_name": "Sara Holm",
      "status": "escalated",
      "assignee_id": "mem_5Hd2Kx8",
      "note": "Sent to the fraud team before anything is paid.",
      "asked_member": null
    }
  ]
}
```

## Handle a heads-up

Moves a heads-up on: start reviewing it, link it to a case, escalate it or clear it, give it to a member of the team, or add a note. A note can also go to the member a data sharing agreement in force names on the heads-up, as a question about their case.

`PATCH /v1/lookout/alerts/{alert_id}`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga lookout-alerts update <alert_id> [--status <new|reviewing|linked|escalated|cleared>] [--assignee-id <member_id|none>] [--case-id <case_id>] [--note <text>] [--ask-agreement-id <agreement_id>]`. MCP tool: `update_lookout_alert`.

**Parameters**
- `alert_id` (id (lka_), required): The heads-up. In the path.
- `status` (enum): Its new status. `linked` needs `case_id`. One of `new`, `reviewing`, `linked`, `escalated`, `cleared`.
- `assignee_id` (id (mem_) or literal): A member of your team who handles heads-ups (an owner, an admin or an analyst), or `none`.
- `case_id` (id (case_)): One of your cases, to link it to. Given alone, it links the heads-up.
- `note` (string): At most 2,000 characters. Every change is kept in its history.
- `ask_agreement_id` (id (dsa_)): A data sharing agreement in force that names a member on this heads-up: the note also goes to that member, as a question about their case (`asked_member` in the history). Needs `note`.

**Returns** lookout alert: The heads-up as it is now, with the change in its history.

API:

```bash
curl -X PATCH https://api.kontiga.com/v1/lookout/alerts/lka_3Vn7Qm2 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "escalated",
    "assignee_id": "mem_5Hd2Kx8",
    "note": "Sent to the fraud team before anything is paid."
  }'
```

CLI:

```bash
kontiga lookout-alerts update lka_3Vn7Qm2 \
  --status escalated \
  --assignee-id mem_5Hd2Kx8 \
  --note 'Sent to the fraud team before anything is paid.'
```

MCP tool `update_lookout_alert`:

```json
{
  "name": "update_lookout_alert",
  "arguments": {
    "alert_id": "lka_3Vn7Qm2",
    "status": "escalated",
    "assignee_id": "mem_5Hd2Kx8",
    "note": "Sent to the fraud team before anything is paid."
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.lookoutAlerts.update("lka_3Vn7Qm2", {
  status: "escalated",
  assignee_id: "mem_5Hd2Kx8",
  note: "Sent to the fraud team before anything is paid.",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.lookout_alerts.update(
    "lka_3Vn7Qm2",
    status="escalated",
    assignee_id="mem_5Hd2Kx8",
    note="Sent to the fraud team before anything is paid.",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.LookoutAlerts.Update(ctx, "lka_3Vn7Qm2", &kontiga.LookoutAlertsUpdateParams{
	Status:     "escalated",
	AssigneeId: "mem_5Hd2Kx8",
	Note:       "Sent to the fraud team before anything is paid.",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.lookoutAlerts().update("lka_3Vn7Qm2", LookoutAlertsUpdateParams.builder()
    .status("escalated")
    .assigneeId("mem_5Hd2Kx8")
    .note("Sent to the fraud team before anything is paid.")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.LookoutAlerts.UpdateAsync("lka_3Vn7Qm2", new LookoutAlertsUpdateOptions
{
    Status = "escalated",
    AssigneeId = "mem_5Hd2Kx8",
    Note = "Sent to the fraud team before anything is paid.",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->lookoutAlerts->update('lka_3Vn7Qm2', [
    'status' => 'escalated',
    'assignee_id' => 'mem_5Hd2Kx8',
    'note' => 'Sent to the fraud team before anything is paid.',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.lookout_alerts.update(
  "lka_3Vn7Qm2",
  status: "escalated",
  assignee_id: "mem_5Hd2Kx8",
  note: "Sent to the fraud team before anything is paid."
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .lookout_alerts()
    .update("lka_3Vn7Qm2".into(), kontiga::lookout_alerts::UpdateParams {
        status: "escalated".into(),
        assignee_id: "mem_5Hd2Kx8".into(),
        note: "Sent to the fraud team before anything is paid.".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "lka_3Vn7Qm2",
  "object": "lookout_alert",
  "pattern": "claims",
  "title": "Claims at 2 other members in 9 days",
  "risk": "high_risk",
  "status": "escalated",
  "other_members": 2,
  "matched": [
    "phone",
    "bank_account"
  ],
  "window": {
    "from": "2026-11-14T04:00:00Z",
    "to": "2026-11-23T06:00:00Z"
  },
  "person_id": "per_2Kd9Lm4",
  "person_name": "Ana Ribeiro",
  "case_id": "case_6Tr1Yk5",
  "case_reference": "C-4617",
  "document_id": null,
  "linked_case_id": null,
  "assignee_id": "mem_5Hd2Kx8",
  "note": "Sent to the fraud team before anything is paid.",
  "agreements": [
    {
      "agreement_id": "dsa_4Hn8Qe2",
      "lookout_member": "Corriemoor Mutual"
    }
  ],
  "created_at": "2026-11-23T06:06:00Z",
  "updated_at": "2026-11-23T11:46:00Z",
  "summary": "Ana Ribeiro claimed at two other Lookout members in the nine days before C-4617, with the same phone number and bank account. One of them is Corriemoor Mutual, under your data sharing agreement.",
  "timeline": [
    {
      "at": "2026-11-14T04:12:00Z",
      "where": "member",
      "what": "A claim at another member, with the same phone number and bank account",
      "agreement": {
        "agreement_id": "dsa_4Hn8Qe2",
        "lookout_member": "Corriemoor Mutual"
      },
      "reference": "CM-48213",
      "person_name": "Marta Lopes Vieira",
      "at_precision": "minute",
      "person_id": null,
      "case_id": null,
      "document_id": null
    },
    {
      "at": "2026-11-19T00:00:00Z",
      "where": "member",
      "what": "A claim at another member, with the same phone number",
      "agreement": null,
      "reference": null,
      "person_name": null,
      "at_precision": "hour",
      "person_id": null,
      "case_id": null,
      "document_id": null
    },
    {
      "at": "2026-11-23T06:00:00Z",
      "where": "here",
      "what": "C-4617 opened",
      "agreement": null,
      "reference": null,
      "person_name": null,
      "at_precision": "minute",
      "person_id": "per_2Kd9Lm4",
      "case_id": "case_6Tr1Yk5",
      "document_id": null
    }
  ],
  "history": [
    {
      "at": "2026-11-23T06:06:00Z",
      "by": null,
      "by_name": "Kontiga Lookout",
      "status": "new",
      "assignee_id": null,
      "note": null,
      "asked_member": null
    },
    {
      "at": "2026-11-23T11:46:00Z",
      "by": "mem_3Rt8Lp2",
      "by_name": "Sara Holm",
      "status": "escalated",
      "assignee_id": "mem_5Hd2Kx8",
      "note": "Sent to the fraud team before anything is paid.",
      "asked_member": null
    }
  ]
}
```

## Read your Lookout membership

Whether the workspace takes part in Lookout, since when, and its data sharing agreements with other members.

`GET /v1/lookout/membership`. Who may: Owner, Admin, Analyst, Developer, Viewer and Billing. CLI: `kontiga lookout-membership get`. MCP tool: `get_lookout_membership`.

**Parameters**

**Returns** lookout membership: The membership and every data sharing agreement, with what each shows and when it runs.

API:

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

CLI:

```bash
kontiga lookout-membership get
```

MCP tool `get_lookout_membership`:

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

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

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

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

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

Rust:

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

Response, 200 OK:

```json
{
  "object": "lookout_membership",
  "member": true,
  "since": "2026-10-14T22:40:00Z",
  "agreements": [
    {
      "id": "dsa_4Hn8Qe2",
      "object": "data_sharing_agreement",
      "lookout_member": "Corriemoor Mutual",
      "details": ["person_name", "case_reference"],
      "starts_on": "2026-10-01",
      "ends_on": "2027-09-30",
      "status": "active"
    }
  ],
  "updated_at": "2026-10-14T22:40:00Z"
}
```

## Change your Lookout membership

Joins Lookout or leaves it, or ends a data sharing agreement. Out of Lookout, nothing of the workspace is matched and no heads-up arrives.

`PATCH /v1/lookout/membership`. Who may: Owner and Admin. CLI: `kontiga lookout-membership update [--member <true|false>] [--end-agreement-id <agreement_id>]`. MCP tool: `update_lookout_membership`.

**Parameters**
- `member` (boolean): `true` to join Lookout, `false` to leave it. Out of Lookout, nothing of yours is matched and no heads-up arrives; the ones you have stay.
- `end_agreement_id` (id (dsa_)): A data sharing agreement to end today. Starting one takes both members.

**Returns** lookout membership: The membership as it is now.

API:

```bash
curl -X PATCH https://api.kontiga.com/v1/lookout/membership \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "end_agreement_id": "dsa_4Hn8Qe2"
  }'
```

CLI:

```bash
kontiga lookout-membership update --end-agreement-id dsa_4Hn8Qe2
```

MCP tool `update_lookout_membership`:

```json
{
  "name": "update_lookout_membership",
  "arguments": {
    "end_agreement_id": "dsa_4Hn8Qe2"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.lookoutMembership.update({
  end_agreement_id: "dsa_4Hn8Qe2",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.lookout_membership.update(end_agreement_id="dsa_4Hn8Qe2")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.LookoutMembership.Update(ctx, &kontiga.LookoutMembershipUpdateParams{
	EndAgreementId: "dsa_4Hn8Qe2",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.lookoutMembership().update(LookoutMembershipUpdateParams.builder()
    .endAgreementId("dsa_4Hn8Qe2")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.LookoutMembership.UpdateAsync(new LookoutMembershipUpdateOptions
{
    EndAgreementId = "dsa_4Hn8Qe2",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->lookoutMembership->update([
    'end_agreement_id' => 'dsa_4Hn8Qe2',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.lookout_membership.update(end_agreement_id: "dsa_4Hn8Qe2")
```

Rust:

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

Response, 200 OK:

```json
{
  "object": "lookout_membership",
  "member": true,
  "since": "2026-10-14T22:40:00Z",
  "agreements": [
    {
      "id": "dsa_4Hn8Qe2",
      "object": "data_sharing_agreement",
      "lookout_member": "Corriemoor Mutual",
      "details": ["person_name", "case_reference"],
      "starts_on": "2026-10-01",
      "ends_on": "2026-11-26",
      "status": "ended"
    }
  ],
  "updated_at": "2026-10-14T22:40:00Z"
}
```

Owners and admins change the membership. Test mode has no heads-ups: only live data is matched.
