{"uid":"cap_SKAos0-VfQN77C6HR851P","slug":"document-approvals-numeric-row-ordering-two-measure-correlation-3e0b7147","name":"Document Approvals — Numeric Row Ordering + Two-Measure Correlation","description":"Document approvals — Numeric row ordering + Two-measure correlation: Numeric row ordering + Two-measure correlation 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-120?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_PLeNheryVKCTYzbfqkt0K","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 numeric row ordering and two-measure correlation analysis for document approval records (submitted_documents vs approved_documents) across up to 200 rows, returning two independent analytical reports.","exampleAgentPrompt":"Can you rank these document approval records by submitted_documents and also compute the correlation between submitted_documents and approved_documents? I have 4 rows: row-1 group-a 2026-10-01 submitted=10 approved=1, row-2 group-b 2026-10-02 submitted=20 approved=2, row-3 group-a 2026-10-03 submitted=15 approved=3, row-4 group-b 2026-10-04 submitted=30 approved=4.","exampleUseCases":[{"title":"Team approval throughput ranking","prompt":"I have weekly document approval data for our two teams — submitted_documents and approved_documents per row. Can you rank the rows numerically by submitted_documents and also show me the correlation between submissions and approvals? Here are the rows: row-1 group-a 2026-10-01 submitted=50 approved=40, row-2 group-b 2026-10-01 submitted=80 approved=60, row-3 group-a 2026-10-02 submitted=30 approved=28, row-4 group-b 2026-10-02 submitted=90 approved=70."},{"title":"Approval bottleneck correlation analysis","prompt":"Can you compute the numeric ordering and correlation analysis for these document approval records? I want to see if higher submission volumes correlate with higher approvals. Rows: row-1 team-ops 2026-11-01 submitted=100 approved=85, row-2 team-legal 2026-11-01 submitted=60 approved=55, row-3 team-ops 2026-11-02 submitted=120 approved=90, row-4 team-legal 2026-11-02 submitted=40 approved=38. Use approved_documents as the field."},{"title":"Monthly document pipeline audit","prompt":"Please run the row ordering and two-measure correlation report on our monthly document pipeline data. Rows: row-1 finance 2026-09-01 submitted=200 approved=180, row-2 hr 2026-09-01 submitted=150 approved=130, row-3 finance 2026-09-02 submitted=220 approved=195, row-4 hr 2026-09-02 submitted=170 approved=145, row-5 finance 2026-09-03 submitted=180 approved=160. Field should be submitted_documents."}],"resultDescription":"Two independent analytical reports: (1) a numeric row ordering of the supplied document approval records ranked by the selected field, and (2) a two-measure correlation analysis between submitted_documents and approved_documents across the provided rows. All computation is performed locally on the supplied data with no external lookups.","failureModes":["Empty or missing rows array returns validation error","More than 200 rows triggers maxItems violation","Invalid date format (not YYYY-MM-DD) causes schema rejection","Missing required fields (row_id, team_group, date, submitted_documents, approved_documents) causes validation failure","Invalid field enum value (not submitted_documents or approved_documents) causes rejection","Numeric values outside ±1,000,000,000,000 range fail validation"],"whenToPreferThis":"Choose this endpoint when you have structured document approval data (submitted vs approved counts per row/team/date) and need both a ranked ordering of rows and a correlation analysis between the two measures in a single call. Ideal for workflow analytics, approval pipeline audits, and team performance reviews where you supply your own data and need offline computation without external lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:17.409Z","isFirstParty":false,"canonicalSlug":"document-approvals-numeric-row-ordering-two-measure-correlation-3e0b7147"}