{"uid":"cap_rlw-hZW28H7asnZSQKwSN","slug":"sampling-observations-analytics-grouped-numeric-summary-adjacent-row-6d9ef6e0","name":"Sampling Observations Analytics — Grouped Numeric Summary + Adjacent Row Changes","description":"Sampling observations — Grouped numeric summary + Adjacent row changes: Grouped numeric summary + Adjacent row changes 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-091?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"}}},"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_HLpfOXD16qW2xW3Fjhm9J","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 two analytical reports on supplied sampling observation rows: a grouped numeric summary (by dataset_group) and adjacent row-to-row change analysis, for up to 200 rows of sample_value/sample_weight data.","exampleAgentPrompt":"I have 50 sampling observation rows with row IDs, dates, group labels (like 'control' and 'treatment'), sample_value, and sample_weight — can you run a grouped numeric summary and adjacent row change analysis on the sample_value field for me?","exampleUseCases":[{"title":"Quality control batch monitoring","prompt":"I've got 120 rows of lab sampling data with groups 'batch-A' and 'batch-B', dates from last month, and sample_value measurements — can you give me a grouped numeric summary and row-to-row change report on sample_value so I can spot anomalies across batches?"},{"title":"Survey weight distribution analysis","prompt":"I have survey response data with respondent IDs, dates, group categories like 'region-north' and 'region-south', and sample_weight values. Can you run a grouped summary and show me adjacent changes in sample_weight across consecutive rows?"},{"title":"Environmental sampling comparison","prompt":"Can you analyze these 80 environmental sensor readings? They have a row_id, date, dataset_group (either 'upstream' or 'downstream'), and sample_value readings. I want a grouped numeric summary plus the row-to-row change analysis on sample_value."}],"resultDescription":"Returns two analytical reports: (1) a grouped numeric summary breaking down statistics (counts, means, sums, min/max, etc.) per dataset_group for the selected field, and (2) an adjacent row change report showing sequential differences between consecutive rows for the selected field — all computed locally with no external data lookups.","failureModes":["Input array has zero rows — minItems:1 violation returns validation error","More than 200 rows supplied — maxItems:200 exceeded returns rejection","Invalid date format (not YYYY-MM-DD) causes schema validation failure","sample_value or sample_weight outside allowed range (-1T to +1T) causes rejection","Missing required fields (row_id, dataset_group, date) returns validation error","field enum value not 'sample_value' or 'sample_weight' causes rejection","Payment not included or insufficient USDC causes 402 response"],"whenToPreferThis":"Choose this endpoint when you have tabular sampling observation data with group labels and need two analytical outputs — grouped statistics and sequential row changes — in a single API call. It is best suited for offline/batch analytical use cases where you supply all rows at once (up to 200) and want lightweight local computation without any external data lookups, predictions, or professional assessments. Prefer this over general-purpose analytics tools when you specifically need the combination of grouped numeric summary AND adjacent row change analysis on sample_value or sample_weight fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:38:58.705Z","isFirstParty":false,"canonicalSlug":"sampling-observations-analytics-grouped-numeric-summary-adjacent-row-6d9ef6e0"}