{"uid":"cap_n9-pvxUeGwBnfRm7v8n3I","slug":"data-ingestion-batches-exact-row-deduplication-date-by-category-pivot-20e070fe","name":"Data Ingestion Batches — Exact Row Deduplication + Date-by-Category Pivot","description":"Data ingestion batches — Exact row deduplication + Date by category pivot: Exact row deduplication + Date by category pivot for supplied data ingestion batches records (received_rows, accepted_rows). 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-analytics-01-052?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","received_rows","accepted_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"accepted_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"received_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","accepted_rows":1,"dataset_group":"group-a","received_rows":10},{"date":"2026-10-02","row_id":"row-2","accepted_rows":2,"dataset_group":"group-b","received_rows":20},{"date":"2026-10-03","row_id":"row-3","accepted_rows":3,"dataset_group":"group-a","received_rows":15},{"date":"2026-10-04","row_id":"row-4","accepted_rows":4,"dataset_group":"group-b","received_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["received_rows","accepted_rows"],"type":"string","default":"received_rows"}}},"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_ESjdrS6He6kYgHra00LtL","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":"Deduplicates rows in a data ingestion batch and produces a date-by-category pivot table for either received_rows or accepted_rows — two reports in one call for up to 200 rows.","exampleAgentPrompt":"I have a batch of up to 200 data ingestion records with fields row_id, dataset_group, date, received_rows, and accepted_rows — can you deduplicate the exact rows and also give me a pivot of received_rows by date and dataset group?","exampleUseCases":[{"title":"Pipeline ingestion quality audit","prompt":"Here are 150 rows from our daily ingestion batch — each has a row_id, dataset_group, date, received_rows, and accepted_rows. Please deduplicate any exact duplicate rows and give me a pivot table of accepted_rows broken down by date and dataset group so I can spot where data is being dropped."},{"title":"ETL deduplication before downstream load","prompt":"Before I load this ingestion log into our data warehouse, I need to strip out any exact duplicate rows and see a date-by-category pivot of received_rows across our dataset groups. I have about 80 records with row_id, dataset_group, date, received_rows, and accepted_rows fields."},{"title":"Daily ingestion monitoring report","prompt":"Can you run our daily ingestion batch through deduplication and produce a received_rows pivot by date and dataset_group? I'll paste in the rows — there are around 60 of them, each with row_id, dataset_group, date, received_rows, and accepted_rows."}],"resultDescription":"Returns two analytical reports: (1) a deduplicated set of the supplied rows with exact duplicate entries removed, and (2) a pivot table cross-tabulating dates against dataset_group categories for the chosen metric field (received_rows or accepted_rows), aggregating counts per cell. Both reports are derived entirely from the submitted data with no external lookups.","failureModes":["Exceeds 200-row limit — request rejected","Missing required fields (row_id, dataset_group, date, received_rows, or accepted_rows) — validation error","Invalid date format not matching YYYY-MM-DD pattern — schema validation failure","Numeric values outside allowed range (±1,000,000,000,000) — validation error","Empty rows array — minimum item count violation","Invalid field enum value (must be 'received_rows' or 'accepted_rows') — schema error","Payment not included or insufficient — x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need both exact-duplicate removal and a date-by-category pivot on ingestion batch data in a single low-cost call. It is purpose-built for data ingestion records with received_rows and accepted_rows metrics, up to 200 rows per call, and returns two reports for $0.01 USDC. Prefer it over general-purpose analytics when your data already conforms to the row_id/dataset_group/date/received_rows/accepted_rows schema and you want fast, serverless batch analysis without connecting to a live database or BI tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:27.282Z","isFirstParty":false,"canonicalSlug":"data-ingestion-batches-exact-row-deduplication-date-by-category-pivot-20e070fe"}