{"uid":"cap_46UR04IFDwRKZiIPwD4lg","slug":"brand-mention-inventories-trailing-mean-series-explicit-missing-value-a3e31a78","name":"Brand Mention Inventories — Trailing Mean Series + Explicit Missing-Value Fill","description":"Brand mention inventories — Trailing mean series + Explicit missing-value fill: Trailing mean series + Explicit missing-value fill for supplied brand mention inventories records (mention_count, source_count). 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-company-18-154?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","mention_count","source_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"mention_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source_count":1,"company_group":"group-a","mention_count":10},{"date":"2026-10-02","row_id":"row-2","source_count":2,"company_group":"group-b","mention_count":20},{"date":"2026-10-03","row_id":"row-3","source_count":3,"company_group":"group-a","mention_count":15},{"date":"2026-10-04","row_id":"row-4","source_count":4,"company_group":"group-b","mention_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["mention_count","source_count"],"type":"string","default":"mention_count"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"},"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_O4P3RS6NdDJ_vYgh-VN2L","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 fills missing values for brand mention inventory data (mention_count, source_count) across up to 200 rows.","exampleAgentPrompt":"Take my brand mention inventory data for group-a and group-b (rows with dates, mention_count, and source_count), compute a trailing mean series with a window of 7 using the mention_count field, and fill any missing values using the mean method.","exampleUseCases":[{"title":"Smooth noisy brand mention trends","prompt":"I have 150 rows of daily brand mention data across two company groups with dates and mention_count values — can you compute a trailing mean series with a window of 14 and fill any missing mention_count values using the mean method so I can see a cleaner trend?"},{"title":"Impute missing source counts for reporting","prompt":"My brand monitoring dataset has some null source_count values across different dates and company groups. Can you run the missing-value fill using the median method on the source_count field for up to 200 rows so I can get a complete dataset for my report?"},{"title":"Compare smoothed mention curves per group","prompt":"I have brand mention inventory records for two company groups spanning 90 days — please calculate a trailing mean series with a window of 5 on the mention_count field, filling any gaps with zero, so I can compare the smoothed curves side by side."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean series computed over the specified window for the target field, and (2) the same dataset with missing values explicitly filled using the chosen method (zero, mean, or median). Results cover up to 200 input rows and are produced entirely from supplied data using local analytical engines with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Window size outside 2–200 range — schema validation failure","Missing required fields (row_id, date, company_group) — request rejected","No rows supplied (empty array) — validation error","Unsupported fill method value — enum validation failure"],"whenToPreferThis":"Choose this endpoint when you need to both smooth brand mention time series data via a trailing moving average AND handle missing values in a single paid API call. It bundles two analytical operations (trailing mean + missing-value imputation) for mention_count or source_count fields at a low flat cost. Prefer it over general-purpose analytics tools when working with brand mention inventory records grouped by company and date, especially when the dataset fits within 200 rows and no external data enrichment or prediction is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:58.871Z","isFirstParty":false,"canonicalSlug":"brand-mention-inventories-trailing-mean-series-explicit-missing-value-a3e31a78"}