{"uid":"cap_LUzScMrEFdqGQ2EA0MsPI","slug":"company-headcount-observations-numeric-row-ordering-keyed-dataset-02e819db","name":"Company Headcount Observations — Numeric Row Ordering + Keyed Dataset Comparison","description":"Company headcount observations — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison 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-123?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"},"other":{"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":21,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":17,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":33,"open_roles":4,"company_group":"group-b"}],"maxItems":200,"minItems":0}}},"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_OfcEoytDIcXBsUzJa-4mw","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":"Performs numeric row ordering and keyed dataset comparison on up to 200 company headcount observation records (headcount, open_roles) across two independent analytical reports.","exampleAgentPrompt":"Can you rank these company headcount records numerically and also compare them against this other dataset by row key? I have up to 50 rows with headcount and open_roles for groups like 'engineering' and 'sales', and I want both reports — the ordered ranking and the keyed comparison — focused on the headcount field.","exampleUseCases":[{"title":"Comparing quarterly headcount snapshots","prompt":"I have two sets of company headcount records — one from last quarter and one from this quarter, each with row IDs, dates, company groups, headcount, and open_roles. Can you rank the current quarter's rows by headcount and compare them against last quarter's rows by row key to spot any differences?"},{"title":"Ranking open roles across business units","prompt":"Here are headcount observations for about 40 rows across our business units with dates and group names. Please run the numeric row ordering and keyed dataset comparison on the open_roles field, using the same rows as both the primary and comparison dataset."},{"title":"Auditing headcount data for a specific company group","prompt":"I need to order these 80 headcount records numerically and compare them to a reference dataset by row ID — the field I care about is headcount, and the rows are tagged by company_group like 'group-a' and 'group-b'. Can you run both reports?"}],"resultDescription":"Returns two independent analytical reports: (1) a numeric row ordering of the supplied headcount observation rows ranked by the selected field (headcount or open_roles), and (2) a keyed dataset comparison that matches rows between the primary and secondary datasets by row_id and highlights differences in the selected field. Both reports are computed locally against the supplied data with no external lookups.","failureModes":["More than 200 rows supplied — request rejected","Missing required fields (row_id, company_group, date, headcount, open_roles) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","row_id exceeds 80 characters — rejected","Numeric field values outside allowed range — rejected","Empty rows array — minimum 1 item required"],"whenToPreferThis":"Choose this endpoint when you need both a numeric ordering of company headcount or open_roles records AND a keyed comparison between two datasets in a single low-cost call. Ideal for HR analytics workflows where you want to rank staffing observations and diff them against a baseline or prior-period snapshot. Not suitable for live data lookups, predictions, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:44.145Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-numeric-row-ordering-keyed-dataset-02e819db"}