{"uid":"cap_w5soIdB-RBGvZHXua3l0x","slug":"call-centre-numeric-row-ordering-8f5e1533","name":"Call Centre Numeric Row Ordering","description":"Call centre - Numeric row ordering: Numeric row ordering 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 numeric row ordering deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-call-centre-sort?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_dHtHZXgBRH9CkG1Zy3CeF","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":"Sorts up to 200 call centre records by a specified numeric field (calls or wait_seconds) and returns them in ordered sequence.","exampleAgentPrompt":"Sort these 4 call centre rows by number of calls: row-1 for group-a on 2026-10-01 had 10 calls and 1 wait second, row-2 for group-b on 2026-10-02 had 20 calls and 2 wait seconds, row-3 for group-a on 2026-10-03 had 15 calls and 3 wait seconds, row-4 for group-b on 2026-10-04 had 30 calls and 4 wait seconds — rank them by the calls field.","exampleUseCases":[{"title":"Daily team call volume ranking","prompt":"I have today's call centre data for four teams and I need them ranked from highest to lowest by number of calls handled — here are the rows: team-alpha had 340 calls, team-beta 210, team-gamma 475, team-delta 88, all on 2026-11-15. Sort them by calls."},{"title":"Wait time escalation prioritization","prompt":"Can you sort these 6 call centre records by wait_seconds so I know which queues to escalate first? Here's the data: row-1 support-east 2026-11-01 calls=50 wait=320, row-2 support-west 2026-11-01 calls=30 wait=180, row-3 support-north 2026-11-01 calls=70 wait=410, row-4 support-south 2026-11-01 calls=20 wait=95, row-5 support-central 2026-11-01 calls=60 wait=500, row-6 support-remote 2026-11-01 calls=15 wait=60."},{"title":"Weekly performance leaderboard by volume","prompt":"Order these weekly call centre records by number of calls so I can build a performance leaderboard — group-a: Mon 120, Tue 95, Wed 140, Thu 88, Fri 200 calls, all with corresponding wait times around 60–180 seconds. Field to sort: calls."}],"resultDescription":"Returns the submitted call centre rows reordered numerically by the specified field (calls or wait_seconds), enabling downstream ranking, reporting, and escalation workflows. The bounded deliverable contains up to 200 sorted typed records with their original row_id, team, date, calls, and wait_seconds fields preserved.","failureModes":["Missing required fields (row_id, team, date, calls, or wait_seconds) causes validation error","More than 200 rows submitted exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Unknown sort field value outside enum [calls, wait_seconds] returns error","Empty rows array (minItems=1 violated) rejected","Non-numeric values in calls or wait_seconds fields cause type errors"],"whenToPreferThis":"Choose this endpoint when you have structured call centre records with team, date, calls, and wait_seconds fields and need them numerically sorted by one of those two metrics — especially for quick ranked reporting, escalation prioritization, or building leaderboards without setting up local sorting logic. Ideal for lightweight, on-demand ordering of up to 200 records at minimal cost ($0.01 USDC) with no external enrichment needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:09:55.921Z","isFirstParty":false,"canonicalSlug":"call-centre-numeric-row-ordering-8f5e1533"}