Conflicts API

Within groups of records that share the same key, finds fields whose non-blank values disagree — the survivorship decisions you need before /merge or /survivorship. Deterministic; billed per credit.

What it does

Find fields whose values disagree across records sharing a key.

When to use it

Reach for Conflicts when you need to answer: Where do records for the same key disagree? It sits in the Reconcile stage of the catalog — match expected against actual.

Endpoint & cost

POST /api/v1/conflicts

Cost: Per credit. Zaps draw down your shared monthly allowance; requests that fail validation are not charged.

Authentication

Send your key as a bearer token: Authorization: Bearer zap_live_…. See Authentication for key management and the alternate header.

Example request

curl https://zapinner.com/api/v1/conflicts \
  -H "Authorization: Bearer zap_live_••••••" \
  -H "Content-Type: application/json" \
  -d '{"records":[{"id":"1","email":"a@x.com"},{"id":"1","email":"b@y.com"}],"key_fields":["id"]}'
Every response is structured JSON and includes a request_id. Full field-level request and response schemas for this endpoint live in the OpenAPI spec and the API reference.

Errors & limits

Errors use one consistent shape ( error.code, error.message, request_id). See Errors and Rate limits.

SDK

Conflicts has typed methods in both the JavaScript and Python SDKs. Both are implemented and package-ready but not yet published to npm / PyPI — until they ship, vendor the package source or install from a git ref, or call the endpoint over HTTPS with the example above.

Try it

Select Conflicts in the playground to see the request, or run it live with your API key.

  • Reconciliation Compare two datasets and surface mismatches, duplicates, and missing records.
  • Entity Resolution Cluster records into entities and emit one canonical record each.
  • Merge Collapse duplicate records into one golden record with provenance.
  • Survivorship Collapse keyed groups into golden records with survivorship rules.
  • Similarity Score pairwise similarity within one record set.
  • Link Record linkage across two datasets.