{"uid":"cap_VD5zOGGs1YhRmUqLh3ufW","slug":"document-redaction-review-trailing-mean-series-secondary-measure-f3cc018e","name":"Document Redaction Review — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Document redaction review — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied document redaction review records (flagged_spans, reviewed_spans). 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-writing-14-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","flagged_spans","reviewed_spans"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"flagged_spans":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"document_group":{"type":"string","default":"","maxLength":80},"reviewed_spans":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","flagged_spans":10,"document_group":"group-a","reviewed_spans":1},{"date":"2026-10-02","row_id":"row-2","flagged_spans":20,"document_group":"group-b","reviewed_spans":2},{"date":"2026-10-03","row_id":"row-3","flagged_spans":15,"document_group":"group-a","reviewed_spans":3},{"date":"2026-10-04","row_id":"row-4","flagged_spans":30,"document_group":"group-b","reviewed_spans":4}],"maxItems":200,"minItems":1},"field":{"enum":["flagged_spans","reviewed_spans"],"type":"string","default":"flagged_spans"},"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_I1ZREOZdqOBDI4AQQbovp","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 trailing mean time series and secondary-measure weighted mean analytics for document redaction review records (flagged_spans, reviewed_spans) across up to 200 rows.","exampleAgentPrompt":"Run a trailing mean series and weighted mean analysis on my document redaction review data — I have rows with flagged_spans and reviewed_spans by document group and date, using a window size of 3 and analyzing the flagged_spans field.","exampleUseCases":[{"title":"Redaction backlog trend monitoring","prompt":"I have 60 days of daily redaction review records with flagged_spans and reviewed_spans per document group — can you compute a trailing mean series with a window of 7 days on flagged_spans so I can see how the backlog is trending?"},{"title":"Compliance review efficiency reporting","prompt":"Analyze my reviewed_spans data across document groups over the last quarter — I need both a trailing mean series with a 5-row window and a weighted mean report to understand review throughput efficiency."},{"title":"Cross-group redaction comparison","prompt":"I've got redaction review records for groups 'legal', 'hr', and 'finance' with daily flagged and reviewed span counts — run a trailing mean and secondary-measure weighted mean analysis with window size 4 on reviewed_spans so I can compare groups."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series computed over the specified window for the chosen field (flagged_spans or reviewed_spans), and (2) a secondary-measure weighted mean summarizing the relationship between the two span metrics — all derived locally from the supplied rows with no external lookups.","failureModes":["Fewer than 1 row supplied returns validation error","More than 200 rows submitted exceeds limit and is rejected","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Window size larger than number of supplied rows may produce empty or partial trailing mean output","Null values in flagged_spans or reviewed_spans may affect weighted mean calculation","Invalid field enum value (not 'flagged_spans' or 'reviewed_spans') returns error"],"whenToPreferThis":"Choose this endpoint when you have tabular document redaction review data with flagged and reviewed span counts per date and document group, and you need both a rolling/trailing mean trend series and a weighted mean summary in a single low-cost call. Ideal for compliance, legal, or content moderation workflows that need lightweight statistical summaries without external data lookups or ML predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:38:21.489Z","isFirstParty":false,"canonicalSlug":"document-redaction-review-trailing-mean-series-secondary-measure-f3cc018e"}