{"uid":"cap_k3nqW7px0HASWKy0Cn8GX","slug":"sampling-observations-record-quality-audit-trailing-mean-series-debd9497","name":"Sampling Observations — Record Quality Audit + Trailing Mean Series","description":"Sampling observations — Record quality audit + Trailing mean series: Record quality audit + 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-010?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}}},"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_I10isvec70hctvICFIvN2","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":"Runs two analytical reports on up to 200 sampling observation rows: a record quality audit and a trailing mean series computation over sample_value or sample_weight.","exampleAgentPrompt":"Can you run a record quality audit and trailing mean series (window size 3) on my sampling observations data — I have 50 rows with sample_value and sample_weight fields grouped into 'control' and 'treatment' groups across dates in October 2026, and I want the trailing mean computed over sample_value?","exampleUseCases":[{"title":"Survey sample quality check","prompt":"I have 120 rows of survey sampling data with sample_value and sample_weight fields across two groups — can you run a quality audit to flag any bad records, and also compute a trailing mean series with a window of 5 over sample_value?"},{"title":"Weighted sample trend analysis","prompt":"Run a trailing mean series with a window size of 4 on sample_weight for my 80-row sampling dataset grouped by 'batch-A' and 'batch-B', and also give me a quality audit of the records at the same time."},{"title":"Clinical trial observation review","prompt":"I've got 40 clinical trial sampling observations for two patient groups from September 2026 — please audit the record quality and compute a trailing mean (window of 2) on the sample_value field so I can spot any anomalies."}],"resultDescription":"Returns two independent analytical reports: (1) a record quality audit identifying issues such as missing values, anomalies, or malformed entries across the supplied rows, and (2) a trailing mean series computed over the selected field (sample_value or sample_weight) using the specified rolling window size — both generated locally without external lookups.","failureModes":["More than 200 rows submitted — request rejected with validation error","window size larger than number of submitted rows — may produce empty or insufficient series","Missing required fields (row_id, date, sample_value, sample_weight, dataset_group) — validation error","Date strings not matching YYYY-MM-DD pattern — schema validation failure","Numeric values outside ±1,000,000,000,000 range — rejected by schema"],"whenToPreferThis":"Choose this endpoint when you need both a data quality audit and a rolling mean time series in a single API call for up to 200 sampling observation records. It is ideal when you have weighted sample data organized by group and date and want offline/local computation without external data lookups or predictions. The bundled two-report format makes it cost-efficient compared to calling separate audit and trend endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:54:23.918Z","isFirstParty":false,"canonicalSlug":"sampling-observations-record-quality-audit-trailing-mean-series-debd9497"}