{"uid":"cap_fjNT8UCctVayCq2UcNTog","slug":"pipeline-durations-trailing-mean-iqr-outlier-flags-8ae4779d","name":"Pipeline Durations Trailing Mean + IQR Outlier Flags","description":"Pipeline durations — Trailing mean series + IQR outlier flags: Trailing mean series + IQR outlier flags for supplied pipeline durations records (run_seconds, processed_rows). 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-05-149?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","run_seconds","processed_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"run_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"processed_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","run_seconds":10,"dataset_group":"group-a","processed_rows":1},{"date":"2026-10-02","row_id":"row-2","run_seconds":20,"dataset_group":"group-b","processed_rows":2},{"date":"2026-10-03","row_id":"row-3","run_seconds":15,"dataset_group":"group-a","processed_rows":3},{"date":"2026-10-04","row_id":"row-4","run_seconds":30,"dataset_group":"group-b","processed_rows":4}],"maxItems":200,"minItems":1},"field":{"enum":["run_seconds","processed_rows"],"type":"string","default":"run_seconds"},"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_9_cldodSqDh8n7Iaq4YIr","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 a trailing mean time series and flags IQR-based outliers for supplied pipeline duration records (run_seconds and processed_rows).","exampleAgentPrompt":"Analyze these pipeline run records for me — compute a trailing mean series with a window of 5 and flag any IQR outliers for the run_seconds field: row-1 2024-01-01 group-a 120s 5000 rows, row-2 2024-01-02 group-a 115s 4800 rows, row-3 2024-01-03 group-a 900s 4900 rows, row-4 2024-01-04 group-a 118s 5100 rows, row-5 2024-01-05 group-a 122s 5050 rows.","exampleUseCases":[{"title":"Spot slow ETL jobs over time","prompt":"I have a week of nightly ETL run logs — can you compute a trailing mean with window 3 and flag any runs where run_seconds looks like an IQR outlier? Here are 7 rows: row-1 2024-03-01 pipeline-A 340s 12000 rows, row-2 2024-03-02 pipeline-A 355s 11800 rows, row-3 2024-03-03 pipeline-A 2100s 12100 rows, row-4 2024-03-04 pipeline-A 360s 11900 rows, row-5 2024-03-05 pipeline-A 345s 12050 rows, row-6 2024-03-06 pipeline-A 370s 11750 rows, row-7 2024-03-07 pipeline-A 350s 12000 rows."},{"title":"Monitor throughput anomalies by dataset group","prompt":"Can you run trailing mean and IQR outlier detection on processed_rows for these pipeline runs with a window of 4? I have two groups: group-x and group-y with 8 records from 2024-05-01 to 2024-05-08 — some runs processed suspiciously few rows and I want them flagged."},{"title":"Daily pipeline health report for ops team","prompt":"Every morning I want to check if yesterday's pipeline runs were normal — here are 10 rows of run data across groups prod-ingest and prod-transform with dates from 2024-06-01 to 2024-06-10. Use a trailing window of 5 and flag outliers on run_seconds so I can see which runs were unusually long."}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean time series for the selected field (run_seconds or processed_rows) computed over the specified rolling window, and (2) IQR-based outlier flags identifying which records fall outside the interquartile fence. Results are computed locally from the supplied data — no external lookups are made. Up to 200 rows and 2 reports per call.","failureModes":["Fewer than 1 row supplied — minimum 1 row required","More than 200 rows supplied — exceeds maximum limit","Window size larger than the number of supplied rows — trailing mean cannot be computed","Invalid date format (not YYYY-MM-DD) — pattern validation failure","run_seconds or processed_rows values outside allowed numeric range","Missing required fields row_id, dataset_group, date, run_seconds, or processed_rows — schema validation error","Invalid field enum value — must be 'run_seconds' or 'processed_rows'","Payment not included or insufficient — x402 payment of 0.01 USDC required"],"whenToPreferThis":"Choose this endpoint when you have raw pipeline duration records (up to 200 rows) and need both a trailing mean trend line and IQR-based anomaly flags computed together in one call without any external data sources. It is ideal for lightweight, self-contained statistical analysis of ETL or batch job performance data where you supply all the data and need fast, reproducible results. Prefer this over general-purpose analytics platforms when you want a simple pay-per-call micro-analysis with no setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T07:13:57.198Z","isFirstParty":false,"canonicalSlug":"pipeline-durations-trailing-mean-iqr-outlier-flags-8ae4779d"}