{"uid":"cap_kn7MrjZG5WTegImICgzi5","slug":"company-headcount-observations-duplicate-key-report-category-daa9cd3f","name":"Company Headcount Observations — Duplicate Key Report + Category Frequencies","description":"Company headcount observations — Duplicate key report + Category frequencies: Duplicate key report + Category frequencies for supplied company headcount observations records (headcount, open_roles). 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-company-12-057?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","headcount","open_roles"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"headcount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"open_roles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","headcount":10,"open_roles":1,"company_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","headcount":20,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":15,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":30,"open_roles":4,"company_group":"group-b"}],"maxItems":200,"minItems":1}}},"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_7kPkJlwXcsFabgKHoEeCt","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 up to 200 company headcount observation records to produce a duplicate key report and category frequency breakdown for headcount and open_roles fields.","exampleAgentPrompt":"Can you check my company headcount observation records for duplicate row IDs and give me a frequency breakdown by company_group? I have 4 rows: row-1 for group-a on 2026-10-01 with headcount 10 and 1 open role, row-2 for group-b on 2026-10-02 with headcount 20 and 2 open roles, row-3 for group-a on 2026-10-03 with headcount 15 and 3 open roles, and row-4 for group-b on 2026-10-04 with headcount 30 and 4 open roles.","exampleUseCases":[{"title":"Auditing headcount data for duplicate entries","prompt":"I've got a batch of company headcount records I exported from our HR system — can you run a duplicate key check on the row IDs and also tell me how often each company_group shows up? Here are the rows: row-1, group-a, 2026-10-01, headcount 500, 12 open roles; row-2, group-b, 2026-10-02, headcount 800, 20 open roles; row-3, group-a, 2026-10-03, headcount 510, 15 open roles; row-1, group-a, 2026-10-04, headcount 505, 11 open roles."},{"title":"Frequency analysis of company groups in headcount data","prompt":"I want to understand which company groups dominate my headcount observations dataset. Can you analyze these 5 records and give me the category frequency for company_group, plus flag any duplicate row IDs? The records span October 2026 with groups alpha, beta, and alpha again across row IDs R1 through R5."},{"title":"Data quality check before headcount reporting","prompt":"Before I submit our quarterly headcount report, can you run a duplicate key check and category frequency analysis on these 10 headcount observation rows? I need to make sure there are no repeated row_ids and I want to see how headcount and open_roles are distributed across our company groups."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_ids that appear more than once in the submitted records, and (2) category frequency counts showing how often each company_group value appears across the submitted headcount observations. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Exceeding 200 rows returns an error — batch must be split","Missing required fields (row_id, company_group, date, headcount, open_roles) cause validation failure","Invalid date format (not YYYY-MM-DD) causes rejection","Submitting zero rows returns a validation error","Null numeric values for headcount or open_roles are accepted but may affect frequency results"],"whenToPreferThis":"Choose this endpoint when you need to quickly audit a batch of company headcount observation records (up to 200 rows) for duplicate row identifiers and want a frequency breakdown of company_group categories — all from locally supplied data with no external data dependencies. It is ideal for data quality pre-checks before ingestion or reporting pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:03.543Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-duplicate-key-report-category-daa9cd3f"}