{"uid":"cap_dUu0p7fXy2UNrOknLcUqK","slug":"document-approvals-numeric-row-ordering-adjacent-row-changes-859687f8","name":"Document Approvals — Numeric Row Ordering + Adjacent Row Changes","description":"Document approvals — Numeric row ordering + Adjacent row changes: Numeric row ordering + Adjacent row changes for supplied document approvals records (submitted_documents, approved_documents). 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-17-116?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","submitted_documents","approved_documents"],"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},"approved_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"submitted_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","approved_documents":1,"submitted_documents":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","approved_documents":2,"submitted_documents":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","approved_documents":3,"submitted_documents":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","approved_documents":4,"submitted_documents":30}],"maxItems":200,"minItems":1},"field":{"enum":["submitted_documents","approved_documents"],"type":"string","default":"submitted_documents"}}},"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_oBQbphz_gbLp7H6fqx133","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":"Analyzes up to 200 document approval records by computing numeric row ordering and adjacent row changes for submitted_documents and approved_documents fields, returning two independent analytical reports.","exampleAgentPrompt":"Analyze these document approval records for our teams — run both numeric row ordering and adjacent row changes on the submitted_documents field: row-1 on 2026-10-01 group-a had 10 submitted and 1 approved, row-2 on 2026-10-02 group-b had 20 submitted and 2 approved, row-3 on 2026-10-03 group-a had 15 submitted and 3 approved.","exampleUseCases":[{"title":"Daily approval pipeline trend review","prompt":"I have 30 days of document approval data by team — can you order the rows by submitted_documents volume and also show me how the count changed between each consecutive day? Here's the data: row-1 2026-10-01 group-a submitted 50 approved 10, row-2 2026-10-02 group-a submitted 65 approved 12, etc."},{"title":"Cross-team approval throughput ranking","prompt":"Rank these document approval records numerically by approved_documents and tell me how the approved count shifted from one row to the next — I want to see which team periods saw the biggest jumps. I have 40 rows covering group-a and group-b across October."},{"title":"Spot drops in submission volume","prompt":"Run numeric ordering and adjacent row change analysis on this week's submitted_documents data so I can spot any sudden drops between rows — I'll paste in the 7 rows: row-1 2026-11-01 team-x 200 submitted 45 approved, row-2 2026-11-02 team-x 180 submitted 40 approved, through row-7."}],"resultDescription":"Returns two independent analytical reports: (1) a numeric row ordering report ranking all supplied rows by the selected field (submitted_documents or approved_documents), and (2) an adjacent row changes report showing the delta between each consecutive row for the selected field. Both reports operate locally on the supplied data with no external lookups.","failureModes":["Exceeding 200 rows returns an error or truncation","Missing required fields (row_id, date, team_group, or the selected metric) causes validation failure","Malformed date strings not matching YYYY-MM-DD pattern are rejected","Null values in the selected metric field may affect ordering and delta calculations","Selecting an unsupported field enum value returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, local analytical reports — specifically numeric ordering and row-over-row change detection — on document approval data (submitted_documents or approved_documents) without requiring any external data, live lookups, or predictions. It is ideal for structured tabular data up to 200 rows where you want two bundled analytical views at minimal cost ($0.01 USDC for both reports). Prefer alternatives if you need distribution statistics, outlier detection, or more than two report types simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:43:56.413Z","isFirstParty":false,"canonicalSlug":"document-approvals-numeric-row-ordering-adjacent-row-changes-859687f8"}