{"uid":"cap_r4hegNCzF0KpJgpd_9g1Y","slug":"data-validation-results-equal-width-histogram-29ed130c","name":"Data Validation Results — Equal-Width Histogram","description":"Data validation results - Equal-width histogram: Equal-width histogram for Data validation results. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded equal-width histogram report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-validation-results-histogram?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","rule","date","checked_records","failed_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"rule":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"failed_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"checked_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","rule":"group-a","row_id":"row-1","failed_records":1,"checked_records":10},{"date":"2026-10-02","rule":"group-b","row_id":"row-2","failed_records":2,"checked_records":20},{"date":"2026-10-03","rule":"group-a","row_id":"row-3","failed_records":3,"checked_records":15},{"date":"2026-10-04","rule":"group-b","row_id":"row-4","failed_records":4,"checked_records":30}],"maxItems":200,"minItems":1},"field":{"enum":["checked_records","failed_records"],"type":"string","default":"checked_records"}}},"responseSchema":null,"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_fdbkocyPIFGSGa7Jfw4y7","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":"Computes an equal-width histogram over checked_records or failed_records fields from up to 200 data validation result rows, returning a local descriptive analytics report.","exampleAgentPrompt":"Generate an equal-width histogram with 10 bins for the failed_records field from these 50 data validation rows: [row-1, rule=null-check, 2024-03-01, checked=1000, failed=42], [row-2, rule=range-check, 2024-03-02, checked=850, failed=5], ... so I can see how failures are distributed.","exampleUseCases":[{"title":"Pipeline failure distribution audit","prompt":"I have 120 validation result rows from our nightly ETL pipeline — each has a rule name, date, checked_records, and failed_records. Can you bin the failed_records into 8 equal-width bins and show me the frequency distribution so I can spot where most failures cluster?"},{"title":"Data quality rule comparison","prompt":"I want to see a histogram of checked_records across 5 bins for these 60 validation results tagged with rules like 'not-null', 'range-check', and 'format-check' — dates range from 2024-01-01 to 2024-03-31. Show me the distribution."},{"title":"Compliance validation trend summary","prompt":"We ran data validation checks daily for the past 200 days. Can you compute a 15-bin equal-width histogram over the failed_records column from our results so our compliance team can see the overall shape of failure counts?"}],"resultDescription":"A bounded equal-width histogram report containing bin boundaries and record counts (frequencies) for the selected numeric field (checked_records or failed_records) across all supplied validation rows, with the number of bins as specified (1–30, default 5).","failureModes":["Rows array empty or missing — minimum 1 row required","More than 200 rows supplied — exceeds maxItems limit","Invalid date format in any row — must match YYYY-MM-DD pattern","bins value out of range — must be between 1 and 30","field value not in enum ['checked_records','failed_records'] — rejected","All numeric values null — histogram cannot be computed","Payment not included or insufficient — x402 payment required at $0.01 USDC"],"whenToPreferThis":"Choose this endpoint when you need a fast, local descriptive frequency distribution of data validation metrics (checked or failed record counts) without any enrichment, forecasting, or external data — ideal for data quality observability pipelines, compliance audits, and quick exploratory analysis of DQ run outputs at minimal cost ($0.01 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:20.752Z","isFirstParty":false,"canonicalSlug":"data-validation-results-equal-width-histogram-29ed130c"}