{"uid":"cap_Bh1cp5cMxZnYq5gVeO5B7","slug":"json-unique-fields-check-5183f038","name":"JSON Unique Fields Check","description":"JSON Unique Fields Check: JSON Unique Fields Check finds duplicate composite keys across object rows from bounded caller-supplied values without an external provider. Call JSON Unique Fields Check before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Unique Fields Check as versioned deterministic JSON. Price: $0.001 USDC…","url":"https://api.delx.ai/api/v1/x402/json-unique-fields-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","maxProperties":128,"additionalProperties":true},"maxItems":256,"description":"Items supplied to JSON Unique Fields Check; used only for this bounded calculation and processed in memory without retention."},"fields":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Fields supplied to JSON Unique Fields Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"unique":true,"duplicate_indices":[]},"schema":"delx/util-json-unique-fields-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"9add83ab55b011d3994b700af703d6cc08072afb22cf6873ea05add8e1af633e","external_calls":0},"operation":"data_batch:json_unique_fields_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HT47LtCM8gGLW5-sbAepY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects duplicate composite keys across an array of JSON objects based on a caller-specified set of field names","exampleAgentPrompt":"Check these 50 user records for duplicate combinations of 'email' and 'org_id' — I need to know which rows share the same composite key before I send the batch to the downstream service.","exampleUseCases":[{"title":"Pre-insert uniqueness guard for database","prompt":"Before I insert these 200 product rows into the catalog, check if any of them share the same combination of 'sku' and 'warehouse_id' — flag the duplicates so I can clean them up first."},{"title":"Deduplication check for ETL pipeline","prompt":"I'm about to run an ETL job on this JSON batch. Can you check if any records have duplicate composite keys on 'customer_id' and 'order_date'? I need a count of duplicates and which values repeat."},{"title":"Schema contract validation before API handoff","prompt":"I have a list of event objects I need to send to a downstream API that requires unique combinations of 'event_type' and 'timestamp'. Check if there are any duplicates across those two fields before I hand the data off."}],"resultDescription":"Returns a versioned deterministic JSON result containing: counts of duplicate composite key occurrences, the normalized values of the duplicate keys found, an indication of which rows are affected, and a versioned result contract — all computed in-memory without data retention.","failureModes":["Items array exceeds 256 elements — request will be rejected or truncated","More than 128 properties per object — exceeds maxProperties limit","Field names reference keys that don't exist in the objects — may return no duplicates or empty results","Malformed JSON in items — request will fail with a parse error","Empty items array or empty fields array — returns no findings","Fields array exceeds 256 entries — request rejected"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless, pay-per-call composite key uniqueness check on a bounded JSON array without standing up a database or external deduplication service. It is ideal as a pre-flight validation step before handing structured data to a downstream tool with strict uniqueness contracts. Prefer it over full ETL deduplication pipelines when your dataset is small (≤256 rows) and you need a deterministic, versioned result immediately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:14:45.111Z","isFirstParty":false}