{"uid":"cap_FqQi3QlwFLEwJYb-G1tjs","slug":"content-range-parse-eb627d9d","name":"Content Range Parse","description":"Content Range Parse: Content Range Parse parses a Content-Range response and checks total-size consistency from bounded caller-supplied values without an external provider. Call Content Range Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Content Range Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memo…","url":"https://api.delx.ai/api/v1/x402/content-range-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Content Range Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"end":499,"start":0,"total":1000,"consistent":true},"schema":"delx/util-content-range-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"d87e3fb902533d2d90b45fc8a5d4e63bd5db21e623c2a16c2c89ed7533047f32","external_calls":0},"operation":"web_reliability:content_range_parse"}},"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_td0p4aQ5SeYYkto3w0lTV","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":"Parses a Content-Range HTTP response header and validates total-size consistency, returning a deterministic pass/advisory finding as versioned JSON.","exampleAgentPrompt":"Can you parse and validate this Content-Range header to check whether the total size is consistent: 'bytes 0-1023/2048'?","exampleUseCases":[{"title":"Validate partial download before caching","prompt":"I just got back a Content-Range header of 'bytes 200-999/1234' from a server — can you parse it and confirm the total size is consistent before I cache this partial response?"},{"title":"Pre-retry Content-Range sanity check","prompt":"Before I retry this ranged request, can you check whether this Content-Range header 'bytes 500-1499/3000' is well-formed and the bounds make sense?"},{"title":"Validate Content-Range before redirecting","prompt":"I need to forward a partial content response to a client — can you parse 'bytes 0-511/512' and tell me if it passes validation before I redirect the caller?"}],"resultDescription":"Returns versioned deterministic JSON containing the parsed Content-Range values (start, end, total), a consistency finding indicating whether the range bounds are coherent with the total size, and an explicit pass or advisory status.","failureModes":["Malformed or missing Content-Range header returns an advisory/fail status with parsing error details","Header exceeds 8192 character limit resulting in rejection","Header with wildcard total size (e.g. 'bytes 0-1023/*') may produce an advisory rather than definitive pass","Payment not received results in 402 response before processing"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically validate a caller-supplied or third-party Content-Range HTTP header before acting on it — e.g. before caching, retrying, accepting, or redirecting a partial content response. Prefer this over manual parsing when you need a deterministic, stateless, versioned validation result with an explicit pass/advisory status rather than implementing HTTP range parsing logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:12:14.761Z","isFirstParty":false}