Obituary Match quickstart

Obituary Match is not its own route. You get a tenant-scoped machine API key, send a small FactGraph to POST /v1/graph/search, and read ranked candidates with citations. The call writes nothing. A candidate is for a person to review. This page does not publish a measured result. Pricing is contact us.

US life and annuity carriers, and pension and annuity payers, use this search for death match, claims review, and lapse review. That page describes the workflows. This page is the search contract.

Field names below are the ones documented on Authentication and Graph. The API reference is the field-by-field list.

1. Get an API key

Keys are issued out of band. Contact us to get one. The requests on this page use the placeholder YOUR_API_KEY. Replace that placeholder with the key you were issued. This page does not publish a key.

Send Authorization: Bearer with that machine API key, or with a portal session_token. Whoami reports auth_method as magic_auth, api_key, or sso. The credential selects the tenant. A missing or invalid bearer is HTTP 401. How to obtain a session is on Authentication.

Read GET /v1/commercial/whoami before the first search. Copy tenant_id from that response onto the search body. It must be the tenant bound to the credential. The other fields on that response are auth_method, scopes, plan, entitlements, schema, exclude_from_billing, and exclude_from_metrics. schema is the workspace binding chosen by the server. Callers never send it. exclude_from_billing and exclude_from_metrics are booleans. Whoami returns HTTP 403 when the credential cannot use the commercial route. Search returns HTTP 403 when the plan does not include graph.search, or when the credential cannot call this route.

GET /v1/commercial/whoami
Authorization: Bearer YOUR_API_KEY

On TEST, use the credential bound to the MockData demo corpus. The same paths apply. This page does not publish a TEST host, a key, or a corpus size. Do not send a production book to that credential.

2. POST the FactGraph

POST /v1/graph/search ranks each named person in the FactGraph, including the relationship legs in that FactGraph, and writes nothing. The body is tenant_id, factgraph, and optional scope (public, tenant, or all). The default scope is all, which searches public and the caller's schema. The FactGraph needs ontology_version and at least one object or relationship. A FactGraph with no named person is HTTP 400.

Each object may set client_temp_id, object_class, and name. A relationship sets client_temp_id, relationship_type, source_ref, and target_ref. Class codes come from GET /v1/ontology/classes. Confirm relationship types in GET /v1/ontology/relationship-types before you send them. The example types below are marriage between the two people, resides_at from the Person to a Municipality, and employment from the Company to the Person. source_descriptor and target_descriptor are optional. When they are set, marriage uses spouse and spouse, resides_at uses resident and residence, and employment uses source_descriptor employer and target_descriptor employee. ontology_version 34 is an example pin. POST /v1/graph/search does not run the Propose validate stage, so it does not return VAL002. The only responses are HTTP 200, HTTP 400 when the FactGraph has no named Person, HTTP 401, and HTTP 403. The rest of the FactGraph model is on Graph.

POST /v1/graph/search
Authorization: Bearer YOUR_API_KEY

{
  "tenant_id": "YOUR_TENANT_ID",
  "scope": "all",
  "factgraph": {
    "ontology_version": "34",
    "schema_version": "2.0",
    "objects": [
      {
        "client_temp_id": "policyholder",
        "object_class": "Person",
        "name": "Jane Q. Policyholder"
      },
      {
        "client_temp_id": "spouse",
        "object_class": "Person",
        "name": "John Policyholder"
      },
      {
        "client_temp_id": "place",
        "object_class": "Municipality",
        "name": "Example City"
      },
      {
        "client_temp_id": "employer",
        "object_class": "Company",
        "name": "Northwind Life"
      }
    ],
    "relationships": [
      {
        "client_temp_id": "to_spouse",
        "relationship_type": "marriage",
        "source_ref": "policyholder",
        "target_ref": "spouse",
        "source_descriptor": "spouse",
        "target_descriptor": "spouse"
      },
      {
        "client_temp_id": "to_place",
        "relationship_type": "resides_at",
        "source_ref": "policyholder",
        "target_ref": "place",
        "source_descriptor": "resident",
        "target_descriptor": "residence"
      },
      {
        "client_temp_id": "to_employer",
        "relationship_type": "employment",
        "source_ref": "employer",
        "target_ref": "policyholder",
        "source_descriptor": "employer",
        "target_descriptor": "employee"
      }
    ]
  }
}

Jane Q. Policyholder, John Policyholder, Example City, and Northwind Life are fictional placeholders. Replace YOUR_TENANT_ID with the tenant_id from whoami.

3. Read ranked candidates

The response is scope and matches. matches lists ranked subgraphs that cleared the near-match floor, and it is empty when nothing did. Each hit has rank (1-based, by composite score), schema, score (a string), decision, seed_name (the submitted person this hit was scored against), nodes, and relationships.

The published decision cuts are match at 0.55 or above and near_match at 0.40 or above. A person below 0.40 is omitted. Those two values are the only decision enum on a hit. The published search schema does not include a no_match label. An empty matches list is what you read when nothing cleared 0.40. The cuts are thresholds in the search contract, not a measured result.

A node has role (query for the submitted person, or match for the found node), name, and object_class. Optional node fields are object_id, schema, and score (null on the query node). A matched node may include excerpt, which is person.obituary_excerpt when the stored person has one.

Citations are the evidence array on the matched node. Each citation has evidence_id. It may also include source_id and source_name. The published citation object has no URL field. Read the excerpt, when it is present, with those citations. A hit is still a candidate for review.

A relationship leg that contributed to the score has relationship_type, direction (outgoing or incoming on the query person), endpoint_name, and score (a string). endpoint_object_id is present when the leg paired a stored endpoint. signals is an object of numbers when the response includes the signals that produced the leg score. This page does not name those signal keys.

{
  "scope": "all",
  "matches": [
    {
      "rank": 1,
      "schema": "<schema>",
      "score": "<score>",
      "decision": "match",
      "seed_name": "Jane Q. Policyholder",
      "nodes": [
        {
          "role": "query",
          "name": "Jane Q. Policyholder",
          "object_class": "Person"
        },
        {
          "role": "match",
          "name": "Jane Q. Policyholder",
          "object_class": "Person",
          "excerpt": "Example excerpt. Not a real obituary.",
          "evidence": [
            {
              "evidence_id": "<evidence_id>",
              "source_id": "<source_id>",
              "source_name": "Example public notice"
            }
          ]
        }
      ],
      "relationships": [
        {
          "relationship_type": "employment",
          "direction": "incoming",
          "endpoint_name": "Northwind Life",
          "score": "<score>"
        }
      ]
    }
  ]
}

Shape only. Rank 1, the names, and the notice label are fictional placeholders so you can see the fields. Do not treat the excerpt sentence as a real obituary. score stays a string in the response; the placeholders are not sample scores.

To use the API, contact us.