{"uid":"cap__tK16u10Z4oYkl18yukzg","slug":"travel-administration-adjacent-row-changes-date-by-category-pivot-6885e535","name":"Travel Administration — Adjacent Row Changes + Date-by-Category Pivot","description":"Travel administration — Adjacent row changes + Date by category pivot: Adjacent row changes + Date by category pivot for supplied travel administration records (trip_count, recorded_cost). 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-operations-14-160?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","trip_count","recorded_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"trip_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"recorded_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","trip_count":10,"recorded_cost":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","trip_count":20,"recorded_cost":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","trip_count":15,"recorded_cost":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","trip_count":30,"recorded_cost":4}],"maxItems":200,"minItems":1},"field":{"enum":["trip_count","recorded_cost"],"type":"string","default":"trip_count"}}},"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_poYw6IGUbRXXy22BAVVJF","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 adjacent-row delta changes and a date-by-category pivot table for up to 200 travel administration records (trip_count or recorded_cost), returning two analytical reports per call.","exampleAgentPrompt":"Run adjacent row change analysis and a date-by-category pivot on these travel records — I have up to 50 rows with trip_count and recorded_cost per team group, and I want to analyze trip_count specifically.","exampleUseCases":[{"title":"Monthly travel cost delta review","prompt":"I have 120 rows of travel administration records with dates, team groups, and recorded_cost values — can you compute how recorded_cost changed between consecutive rows and also give me a pivot of cost by date and team group?"},{"title":"Trip count trend analysis by team","prompt":"Take these 80 travel log entries with trip_count per team group and date, and show me both the row-over-row changes in trip_count and a date-by-category breakdown across all teams."},{"title":"Quarterly fleet travel audit","prompt":"I need to audit our travel data for Q4 — I have 200 rows with team_group, date, and trip_count. Please compute adjacent row differences and pivot the trip_count by date and team group so I can spot anomalies."}],"resultDescription":"Two analytical reports: (1) an adjacent row changes report showing the delta of the selected metric (trip_count or recorded_cost) between each consecutive row, and (2) a date-by-category pivot table grouping the selected metric by date and team_group — both derived from the supplied records with no external data lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, team_group, date, trip_count, recorded_cost) in any row — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure","Numeric values out of allowed range (±1,000,000,000,000) — rejected","Empty rows array — minimum 1 item required"],"whenToPreferThis":"Choose this endpoint when you have pre-collected travel administration records (trip counts, recorded costs) and need two fast, local analytical outputs — sequential row deltas and a date-by-category pivot — without any live lookup, prediction, or external enrichment. Ideal for batch reporting on up to 200 rows at minimal cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:16:06.237Z","isFirstParty":false,"canonicalSlug":"travel-administration-adjacent-row-changes-date-by-category-pivot-6885e535"}