---
title: "Compare Records"
method: GET
path: "/v1/history/delta"
tags: ["history"]
---

# Compare Records

`GET /v1/history/delta`

## Request

- Base URL: `https://api.claims.zicron.ai`
- URL: `https://api.claims.zicron.ai/v1/history/delta`
- Auth: none declared

Compare two extraction records and return a structured delta.

Pass record IDs as query parameters, e.g.
``/history/delta?record_a=wc/2026-03-26_abc123&record_b=wc/2026-03-25_abc123``

## Query parameters

- `record_a` string, required: Record ID of the first (current) extraction
- `record_b` string, required: Record ID of the second (prior) extraction

## Response `200`

Successful Response

- DeltaResponse: Structured diff between two extraction outputs.
  - `added_fields` object
  - `removed_fields` object
  - `changed_count` integer
  - `unchanged_count` integer
  - `summary` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zicron/apis/zicron-api.md) · [All operations](https://skmtc.dev/zicron/apis/zicron-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zicron/apis/zicron-api/revisions/abe62e22aa46?raw)
