{"uid":"cap_9bPtntnJzF0wIEsgKsGUE","slug":"knowledge-base-maintenance-duplicate-key-report-secondary-measure-476ffd1a","name":"Knowledge Base Maintenance Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Knowledge base maintenance — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied knowledge base maintenance records (updated_articles, due_articles). 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-16-067?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","updated_articles","due_articles"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"due_articles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"document_group":{"type":"string","default":"","maxLength":80},"updated_articles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","due_articles":1,"document_group":"group-a","updated_articles":10},{"date":"2026-10-02","row_id":"row-2","due_articles":2,"document_group":"group-b","updated_articles":20},{"date":"2026-10-03","row_id":"row-3","due_articles":3,"document_group":"group-a","updated_articles":15},{"date":"2026-10-04","row_id":"row-4","due_articles":4,"document_group":"group-b","updated_articles":30}],"maxItems":200,"minItems":1},"field":{"enum":["updated_articles","due_articles"],"type":"string","default":"updated_articles"}}},"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_s9nj4x3jCRRJGk0Ko-LdC","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 knowledge base maintenance data: a duplicate key report and a secondary-measure weighted mean, over up to 200 rows of updated_articles and due_articles records.","exampleAgentPrompt":"Can you run a duplicate key report and a weighted mean analysis on my knowledge base maintenance records — I have rows with document_group, date, row_id, updated_articles, and due_articles fields, and I want to analyze updated_articles as the secondary measure?","exampleUseCases":[{"title":"Duplicate entry detection in KB logs","prompt":"I have about 150 rows of knowledge base maintenance logs with row IDs, document groups, dates, updated article counts, and due article counts — can you run a duplicate key report to find any repeated row IDs or document groups, and also give me a weighted mean of updated_articles?"},{"title":"Weighted mean of due articles by group","prompt":"Run a weighted mean report on my due_articles data across these knowledge base maintenance records — I have rows for multiple document groups over the past month and want to see the secondary-measure weighted average using due_articles as the field."},{"title":"Data quality check before KB migration","prompt":"Before I migrate my knowledge base, can you check this set of maintenance records for duplicate keys and compute a weighted mean of updated_articles? I've got around 80 rows with document_group, date, updated_articles, and due_articles columns."}],"resultDescription":"Two analytical reports: (1) a duplicate key report identifying repeated keys within the supplied knowledge base maintenance rows, and (2) a secondary-measure weighted mean calculated over the selected field (updated_articles or due_articles), both computed locally against the supplied data with no external lookups.","failureModes":["Input array is empty or missing required fields (row_id, document_group, date, updated_articles, due_articles) — returns validation error","More than 200 rows supplied — rejected due to row limit","Invalid date format not matching YYYY-MM-DD pattern — schema validation failure","Non-numeric values in updated_articles or due_articles — type error","Field enum value not in [updated_articles, due_articles] — invalid field error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of knowledge base maintenance data and need both a duplicate key integrity check and a weighted mean calculation in a single low-cost call ($0.01 USDC for both reports). Ideal for lightweight, offline analytical passes on KB management datasets without needing a full analytics platform or live data pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:33.429Z","isFirstParty":false,"canonicalSlug":"knowledge-base-maintenance-duplicate-key-report-secondary-measure-476ffd1a"}