{"uid":"cap_mHC0INOA6pHiNK9if9Zmh","slug":"document-retrieval-analytics-numeric-row-ordering-equal-width-histogram-97fc716d","name":"Document Retrieval Analytics — Numeric Row Ordering + Equal-Width Histogram","description":"Document retrieval — Numeric row ordering + Equal-width histogram: Numeric row ordering + Equal-width histogram for supplied document retrieval records (retrieved_bytes, request_ms). 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-web-09-118?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","retrieved_bytes","request_ms"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"request_ms":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"site_group":{"type":"string","default":"","maxLength":80},"retrieved_bytes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","request_ms":1,"site_group":"group-a","retrieved_bytes":10},{"date":"2026-10-02","row_id":"row-2","request_ms":2,"site_group":"group-b","retrieved_bytes":20},{"date":"2026-10-03","row_id":"row-3","request_ms":3,"site_group":"group-a","retrieved_bytes":15},{"date":"2026-10-04","row_id":"row-4","request_ms":4,"site_group":"group-b","retrieved_bytes":30}],"maxItems":200,"minItems":1},"field":{"enum":["retrieved_bytes","request_ms"],"type":"string","default":"retrieved_bytes"}}},"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_VROly4X769tFmCwduqBfH","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 document retrieval records by sorting rows numerically and producing equal-width histogram distributions for retrieved_bytes or request_ms fields, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 150 document retrieval log records with retrieved_bytes and request_ms values — can you sort them numerically and give me an equal-width histogram with 10 bins for the retrieved_bytes field?","exampleUseCases":[{"title":"CDN performance distribution audit","prompt":"I've got 180 document retrieval records from our CDN logs with site_group, date, retrieved_bytes, and request_ms columns — sort them by retrieved_bytes and give me a 10-bin equal-width histogram so I can see how file sizes are distributed."},{"title":"API latency bucketing for SLA review","prompt":"Here are 95 document retrieval records from last quarter — I need them ranked by request_ms and split into 8 equal-width histogram buckets so I can see where most of our slow requests fall."},{"title":"Site group retrieval size comparison","prompt":"Can you take these 60 document retrieval rows across site groups A and B and run a numeric ordering plus a 5-bin histogram on the request_ms field so I can compare their latency profiles?"}],"resultDescription":"Returns two analytical reports: (1) rows sorted in numeric order by the selected field (retrieved_bytes or request_ms), and (2) an equal-width histogram showing how values are distributed across the specified number of bins. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — exceeds maximum row limit","Invalid date format (must be YYYY-MM-DD)","Missing required fields (row_id, site_group, date, retrieved_bytes, request_ms) in any row","bins value outside 1–30 range","field value not one of 'retrieved_bytes' or 'request_ms'","Numeric field values outside allowed range (-1e12 to 1e12)","Payment of 0.01 USDC not fulfilled via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you have up to 200 document retrieval records and need both a sorted numeric ranking and an equal-width histogram distribution in a single call for either retrieved_bytes or request_ms. It is ideal for quick offline statistical summaries of web document retrieval logs without needing a full analytics platform. Prefer it over general-purpose analytics APIs when cost efficiency ($0.01 for two reports) and simplicity are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:09:25.044Z","isFirstParty":false,"canonicalSlug":"document-retrieval-analytics-numeric-row-ordering-equal-width-histogram-97fc716d"}