{"uid":"cap_JI7UO-o-a-t-DXDf8lL2N","slug":"sampling-observations-category-frequencies-numeric-interval-filter-dbbc7c1c","name":"Sampling Observations — Category Frequencies + Numeric Interval Filter","description":"Sampling observations — Category frequencies + Numeric interval filter: Category frequencies + Numeric interval filter 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-101?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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_z0ca6UpsbU900aC8Ej6BB","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 category frequency distributions and numeric interval filtering for sampling observation records (sample_value, sample_weight) across up to 200 rows, returning two analytical reports per call.","exampleAgentPrompt":"Analyze my sampling observations — here are 4 rows with row_id, date, dataset_group, sample_value, and sample_weight — and give me two reports: category frequencies across groups, and filter the sample_value field to only include values between 0 and 100.","exampleUseCases":[{"title":"Survey response frequency by group","prompt":"I have survey sampling data with group labels and response scores. Can you run category frequency counts across my dataset groups and also filter responses where sample_value is between 10 and 50? Here are the rows: row-1, 2026-10-01, group-a, 10, 1; row-2, 2026-10-02, group-b, 20, 2; row-3, 2026-10-03, group-a, 15, 3; row-4, 2026-10-04, group-b, 30, 4."},{"title":"Quality control sample range filtering","prompt":"For my QC sampling data, I need to know how often each product category appears and which samples fall within an acceptable sample_value range of 5 to 95. I have 8 rows across two groups — can you give me both reports at once?"},{"title":"Weighted observation distribution audit","prompt":"I'm auditing weighted sampling observations from two cohorts. Please compute the category frequencies for dataset_group and filter the sample_weight field to the interval between 1 and 10. I'll pass you up to 200 rows of records with row_id, date, dataset_group, sample_value, and sample_weight."}],"resultDescription":"Returns two analytical reports: (1) a category frequency table showing how often each dataset_group value appears in the supplied rows, and (2) a filtered subset of records where the selected field (sample_value or sample_weight) falls within the specified minimum and maximum interval bounds. Results are computed locally on the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, dataset_group, date, sample_value, sample_weight) on any row","Date field not in YYYY-MM-DD format","Numeric values outside allowed range (-1e12 to 1e12)","Minimum greater than maximum in interval filter — may return empty result set","Empty rows array — minItems 1 not satisfied"],"whenToPreferThis":"Choose this endpoint when you need both a categorical frequency distribution and a numeric range filter on the same sampling dataset in a single API call. It is ideal for small-to-medium datasets (up to 200 rows) where you want two complementary statistical reports cheaply ($0.01 USDC) without connecting to external data sources. Prefer alternatives if you need time-series aggregation, weighted means, histograms, or deduplication — sibling endpoints on market.datapackvibe.com handle those operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:17.962Z","isFirstParty":false,"canonicalSlug":"sampling-observations-category-frequencies-numeric-interval-filter-dbbc7c1c"}