{"uid":"cap_LUc7ROTYi7tn6eFVhuHak","slug":"procurement-adjacent-row-changes-a9a75cb1","name":"Procurement Adjacent Row Changes","description":"Procurement - Adjacent row changes: Adjacent row changes for Procurement. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded adjacent row changes deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-procurement-period-change?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","supplier","date","ordered_units","unit_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"supplier":{"type":"string","default":"","maxLength":80},"unit_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"ordered_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","supplier":"group-a","unit_cost":1,"ordered_units":10},{"date":"2026-10-02","row_id":"row-2","supplier":"group-b","unit_cost":2,"ordered_units":20},{"date":"2026-10-03","row_id":"row-3","supplier":"group-a","unit_cost":3,"ordered_units":15},{"date":"2026-10-04","row_id":"row-4","supplier":"group-b","unit_cost":4,"ordered_units":30}],"maxItems":200,"minItems":1},"field":{"enum":["ordered_units","unit_cost"],"type":"string","default":"ordered_units"}}},"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_OV1zVSN0VU0OwMpsof__g","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":"Computes period-over-period adjacent row changes for procurement records (ordered_units or unit_cost) across up to 200 supplier rows.","exampleAgentPrompt":"I have procurement records for two suppliers — group-a and group-b — with dates and unit costs from October 1-4, 2026. Can you calculate the adjacent row-to-row changes in unit_cost across those 4 rows?","exampleUseCases":[{"title":"Supplier cost drift detection","prompt":"I have 50 daily procurement rows for our top 3 suppliers with dates and unit costs — can you compute the adjacent row changes in unit_cost so I can see where costs spiked between consecutive days?"},{"title":"Order volume change tracking","prompt":"Here are 120 procurement records sorted by date with ordered_units for each supplier — can you calculate the period-over-period adjacent row differences in ordered_units to flag any big swings?"},{"title":"Procurement audit for consecutive periods","prompt":"I need to audit our procurement data for Q4 — I have 80 rows with supplier names, dates, and unit costs. Run adjacent row changes on unit_cost so I can spot unusual jumps between consecutive entries."}],"resultDescription":"Returns row-by-row adjacent change calculations for the selected numeric field (ordered_units or unit_cost) across the submitted procurement records, showing the delta between each consecutive row within the dataset. Output is bounded to the submitted data with no external enrichment.","failureModes":["Fewer than 1 row submitted returns an error","More than 200 rows submitted exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) causes validation failure","Missing required fields (row_id, supplier, date, ordered_units, unit_cost) causes rejection","Invalid field enum value (not 'ordered_units' or 'unit_cost') causes error","Null numeric values may produce null deltas in output"],"whenToPreferThis":"Use this endpoint when you have structured procurement tabular data and need to compute sequential, adjacent row-to-row changes in either ordered quantity or unit cost — particularly for audit trails, cost drift detection, or period comparison within a batch of up to 200 records. Prefer this over general analytics APIs when the specific computation needed is a local numeric delta between consecutive procurement rows with no external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T06:49:49.924Z","isFirstParty":false,"canonicalSlug":"procurement-adjacent-row-changes-a9a75cb1"}