Graph
Field-by-field parameters are in the API reference. A FactGraph is one observation: objects and relationships. ontology_version is required. At least one of objects or relationships must be non-empty. Optional top-level fields include schema_version (for example 2.0), factgraph_id (your idempotency key), source_data, default_provenance, thresholds, and reprocess.
Each object may set client_temp_id, object_class, name, and optionally object_id when the row already exists, plus name_format, status, properties, and provenance. A relationship sets relationship_type, source_ref, and target_ref. Those refs are a client_temp_id in this fragment or an existing object_id. client_temp_id on the relationship itself is your correlation token for that edge; the decision report echoes it. source_descriptor and target_descriptor are optional free-text role labels, at most 100 characters, for the source side and the target side. Omit either one and the ontology default for that relationship type is used. They are not an enum. Allowed class pairs come from GET /v1/ontology/relationship-types. A disallowed pair is VAL006.
Search
POST /v1/graph/search ranks the FactGraph and writes nothing. The body is tenant_id, factgraph, and optional scope: public, tenant, or all (the default, both). The response is scope and matches. Each hit has rank, schema, score, decision (match at 0.55 or above, near_match at 0.40 or above), seed_name, nodes, and relationships. A person below 0.40 is omitted. A FactGraph with no named person is HTTP 400. HTTP 403 means the plan does not include graph.search.
A node has role (query or match), name, and object_class. A matched node may include excerpt (person.obituary_excerpt) and evidence, the citations on that node. A citation has evidence_id and may include source_id and source_name. It has no URL field. The decision enum is match and near_match only. The response does not add a no_match label.
Obituary matching
Obituary Match is not its own endpoint. An insurer searches with a small FactGraph: the policyholder, a spouse, a municipality, and an employer. The credential, not a field you invent for the product, selects the tenant. relationship_type values below are marriage, resides_at from the Person to a Municipality, and employment from the Company to the Person. Confirm the live catalog before you send them. POST /v1/graph/search does not return VAL002.
POST /v1/graph/search
Authorization: Bearer <api_key_or_session_token>
{
"tenant_id": "01HX5Q7QQS6V2P4R6N8K0M1Z3F",
"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"
},
{
"client_temp_id": "to_place",
"relationship_type": "resides_at",
"source_ref": "policyholder",
"target_ref": "place"
},
{
"client_temp_id": "to_employer",
"relationship_type": "employment",
"source_ref": "employer",
"target_ref": "policyholder"
}
]
}
}Propose, query, resolve, insert
POST /v1/graph/propose accepts the FactGraph asynchronously and responds 202. Required body fields are tenant_id and factgraph. Optional source_id names the source. The response includes proposal_id, status (accepted means queued, not finished), and submitted_at. Resending the same factgraph_id for this tenant returns the existing proposal_id.
GET /v1/graph/propose lists proposals. Filters include status (accepted, completed, failed), source_id, submitted_after, submitted_before, has_error, min_object_count, min_relationship_count, contains_object_id, and created_class_code. limit is 1–500, default 20.
GET /v1/graph/propose/{proposal_id} is the decision report when it is ready, or 202 while the work is still in flight. The report state moves received, normalized, matched, committed, or failed.
POST /v1/graph/resolve runs that same pipeline in the request for a small fragment (at most 25 objects plus relationships) and returns the decision report: attach, create, or needs_review with candidates. POST /v1/graph/query filters a root set and expands it. POST /v1/graph/insert bulk-writes objects and relationships.
To use the API, contact us.