{"uid":"cap_xna5IDof7dKPPuQ3LsrLn","slug":"sampling-observations-numeric-interval-filter-equal-width-histogram-48a17b74","name":"Sampling Observations — Numeric Interval Filter + Equal-Width Histogram","description":"Sampling observations — Numeric interval filter + Equal-width histogram: Numeric interval filter + Equal-width histogram for supplied sampling observations records (sample_value, sample_weight). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-analytics-15-129?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","dataset_group","date","sample_value","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"sample_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","sample_value":10,"dataset_group":"group-a","sample_weight":1},{"date":"2026-10-02","row_id":"row-2","sample_value":20,"dataset_group":"group-b","sample_weight":2},{"date":"2026-10-03","row_id":"row-3","sample_value":15,"dataset_group":"group-a","sample_weight":3},{"date":"2026-10-04","row_id":"row-4","sample_value":30,"dataset_group":"group-b","sample_weight":4}],"maxItems":200,"minItems":1},"field":{"enum":["sample_value","sample_weight"],"type":"string","default":"sample_value"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_KC0oRFaXcLU0vaqNb8bfG","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":"Filters sampling observation records by a numeric interval and computes an equal-width histogram over up to 200 rows, returning two analytical reports in one call.","exampleAgentPrompt":"I have 50 sampling observation rows with sample_value and sample_weight fields — can you filter them to keep only values between 0 and 100, then build a 10-bin equal-width histogram on sample_value and give me both reports?","exampleUseCases":[{"title":"Sensor reading distribution audit","prompt":"I've got 120 rows of sensor readings with sample_value and sample_weight. Filter out anything outside the range 5 to 250 and show me a 15-bin histogram of the sample_value field so I can see where readings are clustering."},{"title":"Weighted survey response analysis","prompt":"Here are 80 survey response records with scores as sample_value and respondent weights as sample_weight. Give me the numeric interval filter for scores between 1 and 10 and an 8-bin equal-width histogram on sample_value."},{"title":"QA batch measurement bucketing","prompt":"I have 200 quality-assurance measurements from a production run. Filter to values between -50 and 50 and split them into 20 equal-width bins on sample_weight so I can spot anomalies in the distribution."}],"resultDescription":"Returns two independent analytical reports: (1) a numeric interval filter report showing which of the supplied rows fall within the specified [minimum, maximum] range for the chosen field, and (2) an equal-width histogram report dividing that field's values into the requested number of bins with counts (and weighted counts) per bin. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Rows array empty or missing — API rejects with validation error","More than 200 rows supplied — request rejected due to maxItems constraint","bins value outside 1–30 range — validation error returned","sample_value or sample_weight outside ±1,000,000,000,000 — rejected by schema","Invalid date format (not YYYY-MM-DD) — row-level validation failure","minimum greater than maximum — may produce empty filter result or error","Non-numeric values in sample_value/sample_weight fields when null not intended — schema coercion issues"],"whenToPreferThis":"Choose this endpoint when you have up to 200 pre-collected sampling observation rows and need both an interval filter and a histogram computed together in a single low-cost call ($0.01 USDC). It is ideal for offline/batch analytical workflows where data is already gathered and you want local distribution analysis without any live data lookup, external prediction, or professional assessment. Prefer this over general-purpose statistics APIs when you specifically need the combined interval-filter + equal-width histogram dual-report output on weighted sample data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:12.805Z","isFirstParty":false,"canonicalSlug":"sampling-observations-numeric-interval-filter-equal-width-histogram-48a17b74"}