{"uid":"cap_DANaJD1XYFqc5k0HdkJXI","slug":"style-guide-audits-duplicate-key-report-trailing-mean-series-1caa046f","name":"Style Guide Audits — Duplicate Key Report + Trailing Mean Series","description":"Style guide audits — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series for supplied style guide audits records (checked_items, flagged_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-writing-05-061?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","checked_items","flagged_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"checked_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"flagged_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"document_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","checked_items":10,"flagged_items":1,"document_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","checked_items":20,"flagged_items":2,"document_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","checked_items":15,"flagged_items":3,"document_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","checked_items":30,"flagged_items":4,"document_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["checked_items","flagged_items"],"type":"string","default":"checked_items"},"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_sKzG9VjqG3kPil3fX-9Pp","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 style guide audit data: a duplicate key report and a trailing moving average series for checked_items or flagged_items over up to 200 rows.","exampleAgentPrompt":"Run a duplicate key report and trailing mean series on my style guide audit records — I have 4 rows with checked_items and flagged_items across two document groups, use a window of 2, and analyze the checked_items field.","exampleUseCases":[{"title":"Detect duplicate audit row IDs","prompt":"I have 150 rows of style guide audit data with row IDs, dates, document groups, checked_items, and flagged_items — can you run a duplicate key report on them and also give me a trailing mean of checked_items with a window of 3?"},{"title":"Track flagged items trend over time","prompt":"Can you compute a trailing mean series for flagged_items across my writing audit logs using a window of 5, and also flag any duplicate row IDs in the dataset? I have about 80 records."},{"title":"Content compliance rolling average","prompt":"I want to see a rolling average of flagged_items for my style guide audit records across two document groups over 30 rows — use a window of 4 — and also check for any duplicate keys in the data."}],"resultDescription":"Returns two independent reports: (1) a duplicate key report identifying rows with repeated row_id or document_group values, and (2) a trailing mean series showing the moving average of the selected field (checked_items or flagged_items) over the specified window size. Both reports are computed locally from the supplied data.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — rejected, exceeds limit","Window size larger than number of rows — may produce empty or partial trailing mean series","Missing required fields (row_id, date, document_group, checked_items, flagged_items) — schema validation error","Invalid date format (not YYYY-MM-DD) — rejected by pattern validation","Non-numeric checked_items or flagged_items when not null — type error"],"whenToPreferThis":"Use this endpoint when you need to simultaneously detect duplicate key issues and compute a trailing moving average on style guide audit records in a single $0.01 call. Prefer it over generic analytics tools when working with structured writing compliance data (checked_items, flagged_items) and you want both data-quality and trend outputs in one request for up to 200 rows without requiring live lookups or external data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:52:44.531Z","isFirstParty":false,"canonicalSlug":"style-guide-audits-duplicate-key-report-trailing-mean-series-1caa046f"}