{"uid":"cap_xqzHoQh6T4Vqz4F5m5aZo","slug":"content-disposition-parse-205f535e","name":"Content Disposition Parse","description":"Content Disposition Parse: Content Disposition Parse extracts disposition type, filename, and safe parameters from bounded caller-supplied values without an external provider. Call Content Disposition 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 Disposition Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party,…","url":"https://api.delx.ai/api/v1/x402/content-disposition-parse","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_F92G-WmRcBXr-PlrwcfYI","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 to extract disposition type, filename, and safe parameters deterministically without external dependencies.","exampleAgentPrompt":"Parse this Content-Disposition header for me and tell me the disposition type, filename, and whether it passes safety checks: 'attachment; filename=\"report_2024.pdf\"; filename*=UTF-8''report_2024.pdf'","exampleUseCases":[{"title":"Safe file download validation","prompt":"Before I cache this response, can you parse its Content-Disposition header and confirm the filename and disposition type are safe? The header is: 'attachment; filename=\"invoice_march.pdf\"'"},{"title":"Redirect safety check","prompt":"I'm about to redirect a user based on a server response — can you parse this Content-Disposition header and tell me if it passes your safety checks before I proceed? Header: 'inline; filename=\"dashboard.html\"'"},{"title":"Agent pipeline header normalization","prompt":"Normalize and extract all safe parameters from this Content-Disposition header my agent just received: 'form-data; name=\"file\"; filename=\"upload_data.csv\"' — I need the disposition type and filename clearly separated."}],"resultDescription":"Returns versioned deterministic JSON containing: normalized representation of the input header, computed finding (extracted disposition type, filename, and safe parameters), and an explicit pass or advisory status indicating whether the header is safe to proceed with.","failureModes":["Header string exceeds 8192 character limit — request rejected","Malformed or unparseable header value — advisory/fail status returned with partial findings","Empty header input — returns advisory status with no extracted fields","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Use this endpoint when an AI agent or pipeline needs to safely parse and validate a caller-supplied or server-returned Content-Disposition HTTP header before acting on it (caching, redirecting, downloading, or retrying). It is deterministic, stateless, and processes data in-memory without retention, making it suitable for security-sensitive pipelines. Prefer this over manual parsing when you need a normalized, versioned JSON finding with an explicit safety status rather than raw header string splitting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:11:59.722Z","isFirstParty":false}