{"uid":"cap_oT9yf09J9hfmOFYxy808S","slug":"training-attendance-numeric-row-ordering-f9ed7312","name":"Training Attendance Numeric Row Ordering","description":"Training attendance - Numeric row ordering: Numeric row ordering for Training attendance. 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-training-attendance-sort?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course","date","attendees","completions"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"course":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"attendees":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completions":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","course":"group-a","row_id":"row-1","attendees":10,"completions":1},{"date":"2026-10-02","course":"group-b","row_id":"row-2","attendees":20,"completions":2},{"date":"2026-10-03","course":"group-a","row_id":"row-3","attendees":15,"completions":3},{"date":"2026-10-04","course":"group-b","row_id":"row-4","attendees":30,"completions":4}],"maxItems":200,"minItems":1},"field":{"enum":["attendees","completions"],"type":"string","default":"attendees"}}},"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_AJqRPTa3YMEc3SJW3CKSb","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 training attendance records numerically by a chosen field (attendees or completions) and returns the ordered rows.","exampleAgentPrompt":"Sort these 4 training session rows by attendees: row-1 group-a 2026-10-01 10 attendees 1 completion, row-2 group-b 2026-10-02 20 attendees 2 completions, row-3 group-a 2026-10-03 15 attendees 3 completions, row-4 group-b 2026-10-04 30 attendees 4 completions — order them numerically by the attendees field.","exampleUseCases":[{"title":"Rank courses by attendance volume","prompt":"I have a list of 8 training courses with their attendance numbers and I need them ranked from highest to lowest by attendees — here are the rows: row-1 Safety101 2026-09-01 45 attendees 40 completions, row-2 HR101 2026-09-02 120 attendees 95 completions, row-3 TechBasics 2026-09-03 30 attendees 28 completions. Sort them by the attendees field."},{"title":"Identify top completion rate sessions","prompt":"Can you sort my quarterly training data by the completions field so I can see which sessions had the highest number of people finishing? I have rows for 6 courses including Onboarding 2026-11-01 200 attendees 180 completions and Leadership2026-11-02 50 attendees 22 completions."},{"title":"Prepare ordered attendance report","prompt":"Before I build my monthly L&D report, sort these 12 training attendance records numerically by attendees so they appear in order from smallest to largest group size — I'll paste the rows with course names, dates, attendee counts, and completion counts."}],"resultDescription":"Returns the submitted training attendance rows reordered numerically by the specified field (either attendees or completions), preserving all original row data including row_id, course, date, attendees, and completions values — up to 200 rows sorted locally with no external enrichment.","failureModes":["Missing required fields (row_id, course, date, attendees, or completions) returns a validation error","Submitting more than 200 rows exceeds the maxItems limit and is rejected","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Specifying a field value other than 'attendees' or 'completions' returns an enum error","Null numeric values may affect sort order behavior depending on implementation","Payment failure via x402 protocol prevents processing"],"whenToPreferThis":"Choose this endpoint when you need fast, local numeric sorting of training attendance records (up to 200 rows) by attendees or completions count, without needing external data enrichment, forecasting, or statistical analysis. It is ideal for preparing ordered reports or ranked lists of training sessions when you already have the structured attendance data ready.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:43.806Z","isFirstParty":false,"canonicalSlug":"training-attendance-numeric-row-ordering-f9ed7312"}