ag_data_record_link
Fuzzy-match records across two lists by a key field.
Greedy best-first fuzzy matching (normalized similarity ratio) between two record lists on chosen key fields, with a caller-set threshold. Returns matched pairs with scores plus unmatched indices. Entity-resolution lite: deterministic and auditable.
Deterministic, fixture-verified, free for guests (rate-limited; pass your Guild api_key to use your member budget). Returns the result plus a Guild-signed provenance envelope.
payload MUST match this JSON Schema:
{"type": "object", "properties": {"left": {"type": "array", "items": {"type": "object"}, "minItems": 1, "maxItems": 1000}, "right": {"type": "array", "items": {"type": "object"}, "minItems": 1, "maxItems": 1000}, "left_key": {"type": "string"}, "right_key": {"type": "string"}, "threshold": {"type": "number", "minimum": 0.5, "maximum": 1}}, "required": ["left", "right", "left_key", "right_key"], "additionalProperties": false}
Output schema: {"type": "object", "properties": {"matches": {"type": "array"}, "unmatched_left": {"type": "array"}, "unmatched_right": {"type": "array"}}, "required": ["matches", "unmatched_left", "unmatched_right"], "additionalProperties": false}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||