{"uid":"cap_y2bqWFi_kKoufyvwdl317","slug":"shift-coverage-analytics-grouped-summary-daily-sum-series-8f56763b","name":"Shift Coverage Analytics — Grouped Summary & Daily Sum Series","description":"Shift coverage — Grouped numeric summary + Daily sum series: Grouped numeric summary + Daily sum series for supplied shift coverage records (covered_hours, required_hours). 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-operations-15-089?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","covered_hours","required_hours"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"covered_hours":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"required_hours":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","covered_hours":10,"required_hours":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","covered_hours":20,"required_hours":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","covered_hours":15,"required_hours":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","covered_hours":30,"required_hours":4}],"maxItems":200,"minItems":1},"field":{"enum":["covered_hours","required_hours"],"type":"string","default":"covered_hours"}}},"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_s_CCkNjTo88Yuv4M14Wpy","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 daily sum time series for shift coverage records (covered_hours and required_hours) across up to 200 rows.","exampleAgentPrompt":"I have shift coverage records for two teams over the past week — can you give me a grouped summary and daily sum series for covered_hours? Here are the rows: team-alpha on 2025-06-01 covered 8 hours out of 10 required, team-beta on 2025-06-01 covered 6 out of 9, team-alpha on 2025-06-02 covered 7 out of 10, team-beta on 2025-06-02 covered 9 out of 9.","exampleUseCases":[{"title":"Weekly coverage gap report by team","prompt":"I need a grouped numeric summary and daily sum series for covered_hours from last week's shift data across our Ops and Support teams — here are 12 rows with dates from 2025-06-02 to 2025-06-06, each with team_group, covered_hours, and required_hours filled in. Can you run both reports?"},{"title":"Understaffing trend analysis","prompt":"Can you compute a daily sum series for required_hours across these 30 shift records for our warehouse floor teams from October? I want to see if required hours were climbing toward the end of the month."},{"title":"Operations scheduling audit","prompt":"We're auditing our scheduling efficiency — can you run a grouped summary on required_hours for these 50 rows of shift data, grouped by department, so I can see which teams consistently had gaps between covered and required hours?"}],"resultDescription":"Returns two independent analytical reports: (1) a grouped numeric summary breaking down the selected field (covered_hours or required_hours) by team_group with statistics such as count, mean, sum, min, and max; and (2) a daily sum time series showing total values of the selected field per date across all records. Both reports are computed locally on the supplied data without external lookups.","failureModes":["Missing required fields (row_id, team_group, date, covered_hours, required_hours) will cause validation errors","Date values not matching YYYY-MM-DD pattern will be rejected","Submitting more than 200 rows exceeds the row limit and will fail","Empty rows array is rejected (minItems: 1)","Non-numeric values for covered_hours or required_hours (other than null) will cause schema errors","Invalid enum value for 'field' parameter (must be 'covered_hours' or 'required_hours') will error","Payment of 0.01 USDC required per call; missing or failed payment will block the request"],"whenToPreferThis":"Choose this endpoint when you have up to 200 shift coverage records with covered_hours and required_hours fields and need both a grouped statistical summary by team and a daily sum time series in a single low-cost call ($0.01 USDC). It is ideal for operations or workforce analytics pipelines that need quick aggregate insight without external data dependencies. Prefer this over building custom scripts when you want two pre-packaged analytical views simultaneously from the same dataset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-06T00:40:49.123Z","isFirstParty":false,"canonicalSlug":"shift-coverage-analytics-grouped-summary-daily-sum-series-8f56763b"}