{"uid":"cap_RIG12kxsdDQVvBzM8Dpmt","slug":"training-compliance-duplicate-key-report-date-by-category-pivot-4af7f8a2","name":"Training Compliance Duplicate Key Report + Date by Category Pivot","description":"Training compliance — Duplicate key report + Date by category pivot: Duplicate key report + Date by category pivot for supplied training compliance records (completed_courses, assigned_courses). 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-10-068?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","completed_courses","assigned_courses"],"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},"assigned_courses":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_courses":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","assigned_courses":1,"completed_courses":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","assigned_courses":2,"completed_courses":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","assigned_courses":3,"completed_courses":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","assigned_courses":4,"completed_courses":30}],"maxItems":200,"minItems":1},"field":{"enum":["completed_courses","assigned_courses"],"type":"string","default":"completed_courses"}}},"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_K_eSjevvZfYqOpU8R4ENI","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":"Runs two local analytical reports on training compliance data: a duplicate key report and a date-by-category pivot, for up to 200 rows of completed/assigned course records.","exampleAgentPrompt":"Can you run a duplicate key report and a date-by-category pivot on my training compliance data? I have rows with team groups like 'engineering' and 'sales', dates in 2025, and I want to analyze the completed_courses field — here are my records: [{\"row_id\":\"r1\",\"team_group\":\"engineering\",\"date\":\"2025-03-01\",\"completed_courses\":12,\"assigned_courses\":15},...].","exampleUseCases":[{"title":"HR compliance audit for duplicate records","prompt":"I need to check our Q1 training compliance export for any duplicate row IDs before submitting it — can you run a duplicate key report on these records? We have team groups like 'ops' and 'finance' with dates and completed_courses counts, about 80 rows total."},{"title":"Date-pivot of course completions by team","prompt":"Can you pivot our training completion data by date and team group so I can see how completed_courses changed week over week? I've got about 150 rows covering January through March across four teams."},{"title":"Pre-submission data quality check","prompt":"Before I load these 200 training records into our LMS dashboard, can you run both a duplicate key check and a date-by-category pivot on the assigned_courses field? I want to catch any duplicates and see the breakdown by date and team group."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_id values that appear more than once in the supplied data, and (2) a date-by-category pivot table showing the selected metric (completed_courses or assigned_courses) broken down by date and team_group category. Both reports are computed locally on the supplied rows with no external lookups.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — exceeds row limit","Missing required fields (row_id, team_group, date, completed_courses, assigned_courses) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Numeric values outside allowed range (-1T to 1T) — validation error","Invalid field enum value (not completed_courses or assigned_courses) — rejected","Payment not provided or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of training compliance records and need both a duplicate key audit and a date-by-category pivot in a single low-cost call. It is ideal for pre-submission data quality checks, periodic compliance reporting, and batch analytics where no live lookup or prediction is needed. Prefer this over general-purpose analytics tools when you specifically need the combined duplicate detection + date pivot pair on course completion or assignment data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:30:40.695Z","isFirstParty":false,"canonicalSlug":"training-compliance-duplicate-key-report-date-by-category-pivot-4af7f8a2"}