{"uid":"cap_cxbT4ho6R1LkGUN39U_QC","slug":"newsletter-preparation-grouped-numeric-summary-numeric-interval-filter-52d70f21","name":"Newsletter Preparation — Grouped Numeric Summary + Numeric Interval Filter","description":"Newsletter preparation — Grouped numeric summary + Numeric interval filter: Grouped numeric summary + Numeric interval filter for supplied newsletter preparation records (completed_items, planned_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-23-088?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","completed_items","planned_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"planned_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"document_group":{"type":"string","default":"","maxLength":80},"completed_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","planned_items":1,"document_group":"group-a","completed_items":10},{"date":"2026-10-02","row_id":"row-2","planned_items":2,"document_group":"group-b","completed_items":20},{"date":"2026-10-03","row_id":"row-3","planned_items":3,"document_group":"group-a","completed_items":15},{"date":"2026-10-04","row_id":"row-4","planned_items":4,"document_group":"group-b","completed_items":30}],"maxItems":200,"minItems":1},"field":{"enum":["completed_items","planned_items"],"type":"string","default":"completed_items"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_VPTH6TX-oWXzu0b-i-Hya","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 grouped numeric summary and a numeric interval filter report for newsletter preparation records tracking completed and planned items, returning up to 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you analyze my newsletter preparation data — I have rows with document groups, dates, completed_items, and planned_items — and give me a grouped numeric summary by document_group plus filter the results to only rows where completed_items is between 5 and 50?","exampleUseCases":[{"title":"Weekly newsletter completion breakdown","prompt":"I have this week's newsletter prep data with document groups and completed_items counts. Can you group it by document_group and give me a numeric summary, and also filter to only the rows where completed_items falls between 10 and 100?"},{"title":"Planned items range filter for editorial review","prompt":"Here's my newsletter planning data for October. I need a grouped summary of planned_items by document_group, and I also want to see only the rows where planned_items is between 1 and 20 — can you run both reports?"},{"title":"Cross-group newsletter progress analysis","prompt":"I've got a set of newsletter preparation records across groups like 'group-a' and 'group-b' with completed and planned item counts. Please give me a grouped numeric summary for completed_items and filter to rows where completed_items is between 0 and 30."}],"resultDescription":"Returns two analytical reports: (1) a grouped numeric summary breaking down the chosen field (completed_items or planned_items) by document_group with aggregate statistics, and (2) a numeric interval filter listing rows where the chosen field falls within the specified minimum–maximum range. Both reports are computed locally from the supplied data without any external lookups.","failureModes":["Missing required fields (row_id, document_group, date, completed_items, planned_items) cause validation errors","More than 200 rows submitted exceeds the row limit","Invalid date format (not YYYY-MM-DD) triggers a pattern mismatch error","Minimum value greater than maximum value may produce empty filter results","Numeric values outside ±1,000,000,000,000 are rejected","Empty rows array is not accepted (minItems: 1)"],"whenToPreferThis":"Choose this endpoint when you need both a grouped aggregation and a numeric range filter on newsletter preparation data (completed_items or planned_items) in a single low-cost call. It is ideal for lightweight, self-contained analytics on small to medium datasets (≤200 rows) without needing a full data warehouse or BI tool. Prefer it over general-purpose analytics APIs when the data is already structured with document_group, date, and item-count fields and you want two complementary views — summary and filter — in one round trip.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:38:40.314Z","isFirstParty":false,"canonicalSlug":"newsletter-preparation-grouped-numeric-summary-numeric-interval-filter-52d70f21"}