{"uid":"cap_lVp5FCZtayGkW-jLMtPTe","slug":"call-centre-secondary-measure-weighted-mean-4d6ecfc0","name":"Call Centre Secondary-Measure Weighted Mean","description":"Call centre - Secondary-measure weighted mean: Secondary-measure weighted mean for Call centre. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded secondary-measure weighted mean deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-call-centre-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team","date","calls","wait_seconds"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"team":{"type":"string","default":"","maxLength":80},"calls":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"wait_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","team":"group-a","calls":10,"row_id":"row-1","wait_seconds":1},{"date":"2026-10-02","team":"group-b","calls":20,"row_id":"row-2","wait_seconds":2},{"date":"2026-10-03","team":"group-a","calls":15,"row_id":"row-3","wait_seconds":3},{"date":"2026-10-04","team":"group-b","calls":30,"row_id":"row-4","wait_seconds":4}],"maxItems":200,"minItems":1},"field":{"enum":["calls","wait_seconds"],"type":"string","default":"calls"}}},"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_uY6OhulmhrwFU-Oi4z3dN","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 secondary-measure weighted mean for call centre records, weighting one numeric field (e.g. wait_seconds) by another (e.g. calls) across up to 200 supplied rows.","exampleAgentPrompt":"Can you calculate the weighted mean of wait_seconds weighted by calls across these four call centre records: row-1 (group-a, 2026-10-01, 10 calls, 1s wait), row-2 (group-b, 2026-10-02, 20 calls, 2s wait), row-3 (group-a, 2026-10-03, 15 calls, 3s wait), row-4 (group-b, 2026-10-04, 30 calls, 4s wait)?","exampleUseCases":[{"title":"Team wait time weighted average","prompt":"I have daily call centre logs for two teams over a week — can you calculate the weighted mean of wait_seconds using calls as the weight, so busier days count more toward the average?"},{"title":"Call volume weighted KPI rollup","prompt":"I need to roll up our call centre performance data: take these 50 rows of team, date, calls, and wait_seconds and give me the weighted average of calls weighted by wait_seconds."},{"title":"Comparing weighted means across periods","prompt":"Can you compute the calls-weighted mean of wait_seconds for these call centre records from Q3 so I can compare it against our Q4 data later?"}],"resultDescription":"A single bounded numeric result representing the weighted mean of the selected field (calls or wait_seconds), where each row's value is weighted by the other numeric field, computed locally from the supplied records with no external enrichment.","failureModes":["Empty or missing rows array returns an error","More than 200 rows submitted exceeds the maxItems limit","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Null values in both the value and weight fields may produce undefined or zero output","row_id missing or empty string fails minLength validation","field enum value not 'calls' or 'wait_seconds' causes rejection"],"whenToPreferThis":"Choose this endpoint when you need a statistically correct secondary-measure weighted mean specifically for call centre data (calls volume and wait seconds) over up to 200 records, processed locally without external API dependencies, at a fixed low cost of $0.01 USDC per calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:05:33.844Z","isFirstParty":false,"canonicalSlug":"call-centre-secondary-measure-weighted-mean-4d6ecfc0"}