{"uid":"cap_EruMLDcCyj2tKL1q1rpyq","slug":"delx-bytes-to-human-2f72d32c","name":"Delx Bytes To Human","description":"Format a byte count as human-readable binary units — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converted ex…","url":"https://api.delx.ai/api/v1/x402/bytes-to-human","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bytes":{"type":"integer","description":"Input field: bytes."}}},"responseSchema":{"type":"json","example":{"ok":true,"unit":"MiB","bytes":1536000,"human":"1.46 MiB","scaled":1.4648,"schema":"delx/util-bytes-to-human/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hympGEwYjvvsShIeW5uxN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a raw byte count integer into a human-readable binary unit string (e.g. 1024 → 1 KiB)","exampleAgentPrompt":"Convert 10485760 bytes into a human-readable binary size string for me.","exampleUseCases":[{"title":"File size display in dashboard","prompt":"I have a file that's 2147483648 bytes — can you convert that to a human-readable size so I can show it nicely in the UI?"},{"title":"Disk usage report formatting","prompt":"My storage monitor returned 536870912 bytes used — format that as a readable binary size like GiB or MiB for the report."},{"title":"API response size labeling","prompt":"The response payload was 8192 bytes — what does that look like as a human-friendly binary size string?"}],"resultDescription":"Returns a JSON object containing the formatted human-readable size string expressed in binary units (e.g. KiB, MiB, GiB), derived deterministically from the input byte integer with no external calls or state.","failureModes":["Missing or non-integer 'bytes' field returns a validation error","Negative byte values may be rejected or return unexpected output","Very large integers beyond safe integer range may cause precision issues","Network or payment (x402) failure returns HTTP 402 or 5xx with no conversion result"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, stateless, machine-readable JSON conversion of a raw byte count to human-readable binary units (KiB/MiB/GiB) without building local formatting logic. Ideal for agents that display storage metrics, file sizes, or bandwidth figures to end users and want a reliable micro-utility they can call inline without managing formatting libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:49:13.606Z","isFirstParty":false}