{"uid":"cap_zOsfhR9VN4XPKnY7qGC22","slug":"company-headcount-observations-adjacent-row-changes-date-by-category-fd58b033","name":"Company Headcount Observations — Adjacent Row Changes + Date by Category Pivot","description":"Company headcount observations — Adjacent row changes + Date by category pivot: Adjacent row changes + Date by category pivot 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-160?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_Jvynr_hn7vZAMEuy_E9pq","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":"Runs two analytical reports on supplied company headcount data: adjacent row change detection and a date-by-category pivot table, for up to 200 rows.","exampleAgentPrompt":"I have headcount records for two company groups — group-a and group-b — with dates and open_roles counts from October 1–4 2026. Can you run adjacent row change detection and a date-by-category pivot on the headcount field for those 200 rows?","exampleUseCases":[{"title":"Monthly headcount trend analysis","prompt":"Here are our company's headcount records for the past quarter across three business units — can you show me how headcount changed between each consecutive row and also give me a pivot of headcount by date and business unit?"},{"title":"Open roles gap tracking by team","prompt":"I've got 150 rows of open_roles observations for five company groups over the last six months. Run the adjacent changes and date-by-category pivot on the open_roles field so I can see where hiring gaps are growing."},{"title":"Workforce growth comparison across subsidiaries","prompt":"We need to compare headcount growth across our four subsidiaries week by week. Here are the raw observation rows — please give me the row-to-row headcount changes and a date-by-subsidiary pivot table."}],"resultDescription":"Returns two analytical reports: (1) adjacent row changes showing the delta in the selected field (headcount or open_roles) between consecutive records, and (2) a date-by-category pivot table that cross-tabulates the selected field values by date and company_group. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Missing required fields (row_id, company_group, date, headcount, open_roles) cause validation errors","Date values not matching YYYY-MM-DD pattern are rejected","Submitting more than 200 rows exceeds the row limit","Empty rows array is rejected (minimum 1 row required)","Invalid field enum value (only 'headcount' or 'open_roles' accepted)","Null numeric values may produce gaps or skipped deltas in the change report"],"whenToPreferThis":"Use this endpoint when you have pre-collected company headcount or open_roles observation records and need two specific analytical views — sequential row-to-row changes and a date-by-category pivot — without needing live data lookup, prediction, or external enrichment. It is cost-effective at $0.01 USDC for both reports simultaneously, ideal for batch post-processing of HR or workforce snapshots.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:05.421Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-adjacent-row-changes-date-by-category-fd58b033"}