{"uid":"cap_5iZrL-hF7Gs6VmJpBkCCe","slug":"research-grant-spending-grouped-numeric-summary-numeric-row-ordering-cf38a2c6","name":"Research Grant Spending — Grouped Numeric Summary + Numeric Row Ordering","description":"Research grant spending — Grouped numeric summary + Numeric row ordering: Grouped numeric summary + Numeric row ordering for supplied research grant spending records (budget_amount, spend_amount). 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-education-20-087?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","budget_amount","spend_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"course_group":{"type":"string","default":"","maxLength":80},"spend_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"budget_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","course_group":"group-a","spend_amount":1,"budget_amount":10},{"date":"2026-10-02","row_id":"row-2","course_group":"group-b","spend_amount":2,"budget_amount":20},{"date":"2026-10-03","row_id":"row-3","course_group":"group-a","spend_amount":3,"budget_amount":15},{"date":"2026-10-04","row_id":"row-4","course_group":"group-b","spend_amount":4,"budget_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["budget_amount","spend_amount"],"type":"string","default":"budget_amount"}}},"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_ErEu76iy4ksXQq2Ab-Sdx","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 numeric row ordering for up to 200 research grant spending records (budget_amount or spend_amount), returning two analytical reports per call.","exampleAgentPrompt":"I have up to 200 rows of research grant spending data with fields like row_id, course_group, date, budget_amount, and spend_amount — can you run a grouped numeric summary and a numeric row ordering on the spend_amount field for me?","exampleUseCases":[{"title":"Grant budget variance by research group","prompt":"I've got quarterly research grant records with budget_amount and spend_amount across different course groups — can you group them and give me a numeric summary so I can see which groups are over or under budget?"},{"title":"Ranking grants by spend for reporting","prompt":"I need to rank all our research grant rows by their spend_amount from highest to lowest — I have about 150 records with row_id, course_group, date, budget_amount, and spend_amount."},{"title":"Education fund allocation analysis","prompt":"We're reviewing our education grants and I have 200 rows of funding data broken out by course_group. Can you run a grouped summary and a numeric ordering on the budget_amount field so I can see how allocations are distributed?"}],"resultDescription":"Returns two reports: (1) a grouped numeric summary aggregating budget_amount or spend_amount by course_group (e.g. count, sum, mean, min, max per group), and (2) a numeric row ordering ranking individual rows by the selected numeric field. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Empty rows array — rejected if fewer than 1 row provided","Rows exceeding 200 items — rejected at maxItems limit","Invalid date format — must match YYYY-MM-DD pattern","Missing required fields (row_id, course_group, date, budget_amount, spend_amount) — validation error","Numeric values outside ±1,000,000,000,000 range — rejected","Invalid field enum value — must be 'budget_amount' or 'spend_amount'"],"whenToPreferThis":"Choose this endpoint when you have research grant spending records and need both a grouped aggregate summary by course_group and a ranked ordering of individual rows by a numeric field in a single low-cost call. It is purpose-built for education/grant finance analytics and bundles two complementary reports for $0.01, making it ideal for budget review workflows where group-level and row-level numeric insights are both needed simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:46:23.560Z","isFirstParty":false,"canonicalSlug":"research-grant-spending-grouped-numeric-summary-numeric-row-ordering-cf38a2c6"}