{"uid":"cap_k_1jhV2rpwcHAkhl9LV0R","slug":"sampling-observations-numeric-interval-filter-trailing-mean-series-8c0160f4","name":"Sampling Observations — Numeric Interval Filter + Trailing Mean Series","description":"Sampling observations — Numeric interval filter + Trailing mean series: Numeric interval filter + Trailing mean series 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-126?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2},"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_BlkHVj_HMQnLR_2dx30Io","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 rows by a numeric interval and computes a trailing mean series over user-supplied sample data, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have up to 200 rows of sampling observations with sample_value and sample_weight fields — can you filter them to only include rows where sample_value is between 0 and 100, then compute a trailing mean series with a window of 3 over sample_value, and return both the interval-filtered report and the rolling mean report?","exampleUseCases":[{"title":"Quality control sample range screening","prompt":"I have 150 product measurement samples with dates, values, and weights — filter them so only records where sample_value falls between 5 and 95 make it through, then give me a trailing mean series with a window of 5 over sample_value so I can spot trends in my batch data."},{"title":"Survey response rolling average analysis","prompt":"Here are 80 rows of survey response observations with sample_value scores and sample_weight fields — I need to filter out any responses outside the range 10 to 200, and then calculate a trailing mean with window size 4 over sample_value to see how the average evolves across dates."},{"title":"Environmental sensor data smoothing","prompt":"I've collected 120 sensor readings across two site groups, each with a sample_value and sample_weight — please filter readings between -50 and 500, then compute a rolling mean series using a window of 7 over sample_weight so I can smooth out noise in the weighted measurements."}],"resultDescription":"Returns two analytical reports: (1) a numeric interval-filtered subset of the supplied sampling observation rows where the target field falls within the specified minimum and maximum bounds, and (2) a trailing mean series computed over the chosen field (sample_value or sample_weight) using the specified window size. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Input array is empty or missing required fields (row_id, date, sample_value, sample_weight, dataset_group) — validation error","More than 200 rows supplied — rejected with maxItems error","Window size larger than number of input rows — may produce empty or partial trailing mean series","Minimum greater than maximum — interval filter returns no rows","Non-conforming date format (not YYYY-MM-DD) — pattern validation failure","Null values in sample_value or sample_weight may be excluded from computations silently"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of sampling observation data (with sample_value and sample_weight fields) and need both a numeric interval filter and a trailing mean series computed in a single paid call for $0.01 USDC. It is ideal for offline/batch analytical workflows where no live data lookup, prediction, or external action is needed — just local statistical computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:38:49.397Z","isFirstParty":false,"canonicalSlug":"sampling-observations-numeric-interval-filter-trailing-mean-series-8c0160f4"}