{"uid":"cap_8A2OoQqBq0M1l6jJHN5xy","slug":"travel-administration-numeric-interval-filter-secondary-measure-cf6a2c05","name":"Travel Administration — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Travel administration — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean 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-132?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"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_lPw6_JFJKyt9bT4hYYR-0","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":"Filters travel administration records (trip_count, recorded_cost) to a numeric interval and computes a secondary-measure weighted mean across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have 80 travel records with team_group, date, trip_count, and recorded_cost — can you filter them to only rows where trip_count is between 5 and 50, then compute a weighted mean of recorded_cost weighted by trip_count?","exampleUseCases":[{"title":"Corporate travel cost analysis by team","prompt":"Here are 150 travel rows for our teams, each with trip_count and recorded_cost. Filter to rows where trip_count is between 10 and 100, then give me the weighted mean of recorded_cost weighted by trip_count."},{"title":"Budget review for high-cost trips","prompt":"I have travel records across multiple team groups with dates from this quarter. Filter to entries where recorded_cost falls between 500 and 5000, and then compute the weighted mean of trip_count for that filtered set."},{"title":"Operations audit for low-volume travel","prompt":"Run an interval filter on my 60 travel administration records keeping only rows where trip_count is between 1 and 15, and then compute the secondary-measure weighted mean of recorded_cost — I need two reports from this batch."}],"resultDescription":"Returns two analytical reports: (1) the subset of supplied travel records where the chosen field (trip_count or recorded_cost) falls within the specified minimum–maximum interval, and (2) the weighted mean of the secondary measure (recorded_cost weighted by trip_count, or vice versa) across the filtered rows. No external data is fetched; all computation is performed on the supplied rows (up to 200).","failureModes":["More than 200 rows submitted — request rejected or truncated","Minimum greater than maximum — invalid interval error","Missing required fields (row_id, trip_count, recorded_cost, date) — validation error","Null values in trip_count or recorded_cost may affect weighted mean computation","Invalid date format (not YYYY-MM-DD) — schema validation failure","Empty result set if no rows fall within the specified interval"],"whenToPreferThis":"Choose this endpoint when you have up to 200 travel administration records with trip_count and recorded_cost fields and need both a numeric interval filter and a weighted mean aggregation in a single call. It is ideal for offline/batch analytical workflows where no live data lookup, prediction, or external action is required, and when you need two bundled reports at minimal cost ($0.01 USDC). Prefer alternatives if you need real-time travel data, more than 200 rows, or a different aggregation type such as median or correlation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:54:42.816Z","isFirstParty":false,"canonicalSlug":"travel-administration-numeric-interval-filter-secondary-measure-cf6a2c05"}