{"uid":"cap_sp_weeXGSqzoUu18JTGoA","slug":"delx-commerce-content-disposition-header-parser-61b29f1f","name":"Delx Commerce — Content-Disposition Header Parser","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/content-disposition-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Content Disposition Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"value":"attachment","parameters":{"filename":"report.csv"}},"schema":"delx/util-content-disposition-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"51f2b47182084fb3d000affd2a526acd9dd50f69e5ab61be18bb0d0cca2fed19","external_calls":0},"operation":"web_reliability:content_disposition_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_kSXmwWTMQhLQrPrAmMnzr","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 an HTTP Content-Disposition header string and returns the disposition type and its parameters (e.g. filename) as structured data.","exampleAgentPrompt":"Parse this Content-Disposition header for me and tell me the disposition type and filename: 'attachment; filename=\"report.csv\"'.","exampleUseCases":[{"title":"Extract filename from download response","prompt":"I got this Content-Disposition header back from a file download: 'attachment; filename=\"invoice_2024.pdf\"' — can you parse it and tell me the filename and disposition type?"},{"title":"Validate inline vs attachment disposition","prompt":"Check this Content-Disposition header and tell me whether the content is meant to be displayed inline or downloaded as an attachment: 'inline; filename=\"preview.html\"'."},{"title":"Automate file naming in download pipeline","prompt":"My pipeline received this header from an API response: 'attachment; filename=\"data_export_march.csv\"; filename*=UTF-8''data_export_march.csv' — parse it out so I know what to name the saved file."}],"resultDescription":"Returns a JSON object containing the parsed disposition value (e.g. 'attachment' or 'inline'), a map of parameters (e.g. filename), an operation schema label, a pass/fail status, and an evidence block including whether input was retained (always false), the SHA-256 hash of the input, and the number of external calls made (always zero).","failureModes":["Malformed or empty header string may produce an error or empty parameters","Header exceeding 8192 characters will be rejected","Non-Content-Disposition headers passed as input may parse with unexpected or empty results","Network or payment failure via x402 will prevent the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, stateless, pay-per-call parser for Content-Disposition HTTP headers without building or maintaining custom parsing logic. It is ideal for agents handling file downloads, processing HTTP responses, or automating file-naming workflows where privacy matters (no data retention, verifiable via SHA-256 evidence).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:51.462Z","isFirstParty":false,"canonicalSlug":"delx-commerce-content-disposition-header-parser-61b29f1f"}