{"uid":"cap_NesIs6O4tndTUiy21AG4K","slug":"structured-data-observations-iqr-outlier-flags-secondary-measure-85b0af04","name":"Structured Data Observations — IQR Outlier Flags + Secondary-Measure Weighted Mean","description":"Structured data observations — IQR outlier flags + Secondary-measure weighted mean: IQR outlier flags + Secondary-measure weighted mean for supplied structured data observations records (valid_items, total_items). 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-web-08-177?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","valid_items","total_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"site_group":{"type":"string","default":"","maxLength":80},"total_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"valid_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","site_group":"group-a","total_items":1,"valid_items":10},{"date":"2026-10-02","row_id":"row-2","site_group":"group-b","total_items":2,"valid_items":20},{"date":"2026-10-03","row_id":"row-3","site_group":"group-a","total_items":3,"valid_items":15},{"date":"2026-10-04","row_id":"row-4","site_group":"group-b","total_items":4,"valid_items":30}],"maxItems":200,"minItems":1},"field":{"enum":["valid_items","total_items"],"type":"string","default":"valid_items"}}},"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_phUt1Qw0qg6paxR-5KZMP","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":"Analyzes up to 200 rows of structured observations to produce IQR-based outlier flags and a secondary-measure weighted mean for valid_items or total_items fields.","exampleAgentPrompt":"Can you run IQR outlier detection and a secondary-measure weighted mean on these 12 observation rows — each has a row_id, site_group, date, valid_items, and total_items — and flag which valid_items values are outliers?","exampleUseCases":[{"title":"Quality control for site group metrics","prompt":"I have 50 daily observation records across several site groups, each with valid_items and total_items counts. Can you flag which rows have IQR outliers in valid_items and also give me a weighted mean using total_items as the secondary measure?"},{"title":"Detecting anomalous inventory counts","prompt":"Here are 120 rows of inventory observation data with row IDs, dates, site groups, valid_items, and total_items. Run IQR outlier flagging and a secondary-measure weighted mean on total_items so I can spot which entries look abnormal."},{"title":"Data validation before pipeline ingestion","prompt":"Before I ingest this batch of 80 structured observation records into our pipeline, can you check for IQR outliers in valid_items and compute the weighted mean? Each row has a row_id, site_group, date, valid_items, and total_items."}],"resultDescription":"Returns two analytical reports for the submitted rows: (1) per-row IQR outlier flags indicating which observations fall outside the interquartile range for the selected field, and (2) a secondary-measure weighted mean computed across the dataset, all derived locally without external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, valid_items, total_items) — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema rejection","All values null for the selected field — computation may be undefined","row_id or site_group exceeds 80 character limit — schema rejection","Payment not completed or insufficient USDC — 402 response"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous statistical analyses (IQR outlier detection and secondary-measure weighted mean) on a batch of up to 200 structured observation rows with valid_items and total_items fields, without requiring live data lookup or external data enrichment. It is cost-effective at $0.01 USDC for both reports in a single call and is well-suited for data quality checks, anomaly detection pipelines, and pre-ingestion validation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:17.988Z","isFirstParty":false,"canonicalSlug":"structured-data-observations-iqr-outlier-flags-secondary-measure-85b0af04"}