{"uid":"cap_a3hERvy9slZIATlU4ziHl","slug":"bounty-engineer-data-quality-gate-31f48dd1","name":"Bounty Engineer Data Quality Gate","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/data-quality-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{},"records":{"type":"array","maxItems":200,"minItems":1},"unique_by":{"type":"array","items":{"type":"string"},"maxItems":10}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"data_quality_gate","issues":[{"index":1,"issues":[{"code":"duplicate_key","fields":["id"],"first_index":0}]}],"decision":"reject","issue_count":1,"limitations":["Checks supplied schema and composite uniqueness of top-level fields. No real-world accuracy or identity verification."],"record_count":2,"records_sha256":"fe545e38479d5ecce90ac6f4b7593e9016b0d1b214ded8b8042cf3b59a1ae097","issues_truncated":false,"invalid_record_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yEjTO3y75bB73ujKLIWv6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an array of records against a schema, detecting structural issues and duplicate keys, and returns a pass/reject decision with per-record issue details.","exampleAgentPrompt":"Before I insert these 50 user records into the database, run them through the data quality gate to check for schema violations and duplicate IDs — use the unique_by field set to ['id','email'].","exampleUseCases":[{"title":"Pre-insert duplicate ID check","prompt":"I'm about to write 120 order records to our database. Can you run them through the data quality gate checking uniqueness on 'order_id' and flag any duplicates or schema issues before we proceed?"},{"title":"ETL pipeline validation step","prompt":"We're ingesting a batch of 80 product records from a third-party feed. Validate them against our product schema and check composite uniqueness on ['sku','warehouse_id'] — tell me which records fail and why."},{"title":"API payload pre-flight audit","prompt":"Here are 30 customer JSON objects I'm about to POST to a downstream service. Run a quality gate on them, check for duplicate 'customer_id' values, and give me a pass or reject decision with the specific issues listed."}],"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'decision' field ('pass' or 'reject'), a list of per-record issues (each with index, issue code, and affected fields), total issue count, invalid record count, total record count, a SHA-256 hash of the records for integrity verification, a truncation flag, and a limitations notice clarifying the scope of checks performed.","failureModes":["Records array exceeds 200 items — request rejected","Records array is empty (minItems:1 not met) — validation error","Schema field is malformed or unparseable — may return unexpected issue codes","unique_by references fields not present in records — silently skipped or empty results","Network or server error on Render hosting — 5xx response","Payment of 0.02 USDC not provided or rejected — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, per-call data quality gate for small-to-medium record batches (up to 200 records) that checks schema conformance and composite field uniqueness before downstream writes or API submissions. It is not suitable for identity verification, real-world accuracy checks, or batches exceeding 200 records. Prefer it over generic JSON validators when you need a structured pass/reject decision with per-record issue metadata and an integrity hash.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:46:21.465Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-data-quality-gate-31f48dd1"}