{"uid":"cap_zIrjHBBSZBLcgxFt9tOzs","slug":"hermes-agent-commerce-api-quality-gate-2158eca6","name":"Hermes Agent Commerce API – Quality Gate","description":"Agent utilities for company research, package maintenance intelligence, dependency vulnerability checks, counterparty availability, SEC company snapshots, OFAC sanctions screening, and deterministic JSON/CSV data-quality work. Company domain intelligence includes a free preview before the paid enrichment call.","url":"https://hermes-counterparty-api.onrender.com/v1/quality-gate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"oneOf":[{"type":"object","required":["format","records"],"properties":{"format":{"type":"string","const":"json"},"records":{"type":"array","items":{"type":"object"}},"allow_mixed_types":{"type":"boolean"},"max_duplicate_rows":{"type":"integer","minimum":0},"max_missing_values":{"type":"integer","minimum":0},"minimum_quality_score":{"type":"number","maximum":100,"minimum":0}}},{"type":"object","required":["format","data"],"properties":{"data":{"type":"string"},"format":{"type":"string","const":"csv"},"allow_mixed_types":{"type":"boolean"},"max_duplicate_rows":{"type":"integer","minimum":0},"max_missing_values":{"type":"integer","minimum":0},"minimum_quality_score":{"type":"number","maximum":100,"minimum":0}}}]},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"pass":true,"checks":{},"reasons":[],"observed":{"field_count":1,"record_count":2,"duplicate_rows":0,"missing_values":0,"mixed_type_fields":[]},"thresholds":{"allow_mixed_types":false,"max_duplicate_rows":0,"max_missing_values":0,"minimum_quality_score":80},"quality_score":100,"schema_version":"1.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l5OmiHphXgRG7DNaQiwX-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates JSON or CSV data against configurable quality thresholds, returning a pass/fail result with detailed checks on duplicates, missing values, mixed types, and an overall quality score.","exampleAgentPrompt":"Run a quality gate on my JSON records and make sure there are zero duplicate rows, no more than 5 missing values, no mixed-type fields, and a minimum quality score of 90 — tell me whether it passes and why if it fails.","exampleUseCases":[{"title":"Pre-load data validation for database ingestion","prompt":"Before I load this JSON dataset into our Postgres database, run a quality check on it — I need zero duplicates, at most 3 missing values, and a quality score of at least 85. Flag any issues."},{"title":"CSV cleanliness check before client delivery","prompt":"I have a CSV export I'm about to send to a client — can you validate it for me? No duplicate rows allowed, no missing values, and no mixed-type columns."},{"title":"ETL pipeline gate for automated data workflows","prompt":"As part of my data pipeline, quality-gate this JSON payload with records: no duplicates, max 10 missing values, mixed types allowed, and a minimum quality score of 75 — give me a pass or fail with the full breakdown."}],"resultDescription":"Returns a JSON object with a top-level `pass` boolean, a numeric `quality_score` (0–100), observed dataset statistics (field_count, record_count, duplicate_rows, missing_values, mixed_type_fields), the applied thresholds, a `checks` object with per-rule outcomes, and a `reasons` array listing why the data failed any checks. Schema version 1.0.","failureModes":["Data fails minimum_quality_score threshold — pass=false with reason in reasons array","Too many duplicate rows detected — pass=false","Excessive missing values — pass=false","Mixed type fields found when allow_mixed_types=false — pass=false","Malformed CSV or invalid JSON records submitted — likely 4xx error","Payment not completed via x402 — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, rule-based data quality gate for JSON or CSV data with explicit, configurable thresholds (duplicates, missing values, type consistency, quality score). It is ideal for automated pipelines where a binary pass/fail decision is needed before downstream processing. Prefer it over custom validation scripts when you want a paid, reliable, low-latency API call with a structured JSON response and no infrastructure to maintain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:38.032Z","isFirstParty":false}