{"uid":"cap_ZLKh0LoHj7tz4R1r9gL5d","slug":"newsroom-assignments-duplicate-key-report-numeric-row-ordering-f787f1eb","name":"Newsroom Assignments Duplicate Key Report + Numeric Row Ordering","description":"Newsroom assignments — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering for supplied newsroom assignments records (assigned_items, completed_items). 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-news-03-058?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","channel_group","date","assigned_items","completed_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"channel_group":{"type":"string","default":"","maxLength":80},"assigned_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","channel_group":"group-a","assigned_items":10,"completed_items":1},{"date":"2026-10-02","row_id":"row-2","channel_group":"group-b","assigned_items":20,"completed_items":2},{"date":"2026-10-03","row_id":"row-3","channel_group":"group-a","assigned_items":15,"completed_items":3},{"date":"2026-10-04","row_id":"row-4","channel_group":"group-b","assigned_items":30,"completed_items":4}],"maxItems":200,"minItems":1},"field":{"enum":["assigned_items","completed_items"],"type":"string","default":"assigned_items"}}},"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_CfgpotiZ7A2BezmZqC8ur","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":"Analyzes supplied newsroom assignment records to produce a duplicate key report and numeric row ordering for assigned_items or completed_items fields, up to 200 rows.","exampleAgentPrompt":"Check my newsroom assignment data for duplicate row IDs and give me a numeric ordering by assigned_items — here are 4 rows: row-1 for group-a on 2026-10-01 with 10 assigned and 1 completed, row-2 for group-b on 2026-10-02 with 20 assigned and 2 completed, row-3 for group-a on 2026-10-03 with 15 assigned and 3 completed, and row-4 for group-b on 2026-10-04 with 30 assigned and 4 completed.","exampleUseCases":[{"title":"Duplicate key audit for news desk","prompt":"I've got a batch of newsroom assignment records and I want to know if any row IDs are duplicated — can you run a duplicate key report on these rows and also rank them numerically by assigned_items? Here are the records: row-1, group-a, 2026-10-01, 10 assigned, 1 completed; row-2, group-b, 2026-10-02, 20 assigned, 2 completed; row-1, group-a, 2026-10-03, 15 assigned, 3 completed."},{"title":"Rank channels by completion volume","prompt":"Take these newsroom assignment rows and give me a numeric ordering based on completed_items so I can see which channel groups finished the most work — rows are: row-1 group-a 2026-10-01 assigned 10 completed 5, row-2 group-b 2026-10-02 assigned 30 completed 25, row-3 group-a 2026-10-03 assigned 20 completed 8."},{"title":"Pre-import data quality check","prompt":"Before I import this newsroom assignments dataset, can you flag any duplicate keys and show me the rows ranked by assigned_items? I have about 50 rows covering multiple channel groups from October 2026 — I'll paste the data now."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any repeated row_id values or key combinations in the supplied records, and (2) a numeric row ordering ranking each row by the selected field (assigned_items or completed_items). Both reports cover up to 200 input rows and are computed locally without external lookups.","failureModes":["Missing required fields (row_id, date, channel_group, assigned_items, completed_items) cause validation errors","Submitting more than 200 rows exceeds the maxItems limit and will be rejected","Invalid date format (not YYYY-MM-DD) will fail pattern validation","Null numeric values in the selected field may affect ordering output","Empty rows array (minItems:1 violated) returns an error","Payment of 0.01 USDC required per call; unpaid requests will be rejected"],"whenToPreferThis":"Choose this endpoint when you have newsroom assignment tabular data (up to 200 rows) and need both a duplicate key detection report and a numeric row ranking in a single call, without any external data lookups or live API calls. It is well-suited for editorial data quality checks before importing assignment records into a CMS or dashboard, or for quick ad-hoc analysis of channel group performance by assignment or completion volume.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:30.811Z","isFirstParty":false,"canonicalSlug":"newsroom-assignments-duplicate-key-report-numeric-row-ordering-f787f1eb"}