{"uid":"cap_ddXHKR2KDCadMmLm93Gf4","slug":"company-headcount-observations-duplicate-key-report-grouped-numeric-182c3559","name":"Company Headcount Observations — Duplicate Key Report + Grouped Numeric Summary","description":"Company headcount observations — Duplicate key report + Grouped numeric summary: Duplicate key report + Grouped numeric summary 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-056?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},"field":{"enum":["headcount","open_roles"],"type":"string","default":"headcount"}}},"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_3GSLwSAWmRkmLtJ_8zOc6","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 rows to produce a duplicate key report and a grouped numeric summary for headcount or open_roles fields.","exampleAgentPrompt":"Check my company headcount records for duplicate row IDs and give me a grouped numeric summary of the headcount field — here are my 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.","exampleUseCases":[{"title":"Audit headcount data for duplicates","prompt":"I've got 150 rows of monthly company headcount observations and I want to know if any row IDs are duplicated — can you run a duplicate key report on them and also give me a grouped numeric summary of headcount broken down by company group?"},{"title":"Compare open roles across business units","prompt":"Here are our quarterly open_roles observations across 5 business units for the past year — can you summarize the open_roles field by company group and flag any duplicate records in the dataset?"},{"title":"Validate workforce snapshot before reporting","prompt":"Before I send this headcount dataset to leadership, can you check it for any duplicate row IDs and give me a grouped summary of headcount per company group so I can sanity-check the numbers?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_ids that appear more than once in the input, and (2) a grouped numeric summary (e.g. count, mean, min, max) of the selected numeric field (headcount or open_roles) broken down by company_group. Results are computed locally with no external lookups.","failureModes":["Input array is empty or missing — returns validation error","row_id or company_group exceeds 80-character limit — rejected by schema","date field does not match YYYY-MM-DD pattern — schema validation failure","More than 200 rows submitted — request rejected due to maxItems constraint","Numeric values outside ±1,000,000,000,000 range — schema rejection","Invalid field enum value (not 'headcount' or 'open_roles') — schema error"],"whenToPreferThis":"Choose this endpoint when you need both duplicate detection and grouped aggregation on company headcount or open_roles data in a single low-cost call. It is ideal for pre-reporting data quality checks, HR analytics pipelines, or any workflow where you need to validate record uniqueness and understand numeric distributions by company group simultaneously. Use it over general-purpose data tools when working within the 200-row limit and wanting a bundled, cost-effective analytical pass.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:00.709Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-duplicate-key-report-grouped-numeric-182c3559"}