{"uid":"cap_B3IJ5Bf7fquRQcK0hLUJM","slug":"content-type-parse-43c4259a","name":"Content Type Parse","description":"Content Type Parse: Content Type Parse splits a Content-Type value into media type and parameters from bounded caller-supplied values without an external provider. Call Content Type 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 Type Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only exe…","url":"https://api.delx.ai/api/v1/x402/content-type-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Content Type Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"value":"application/json","parameters":{"charset":"utf-8"}},"schema":"delx/util-content-type-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"5c24e73c9e741320e06a1ff85b66a54a947393edcd7062ac04e5723f7e04fe2d","external_calls":0},"operation":"web_reliability:content_type_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_juAqqjmUgxxXDn1tE2rYI","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-Type header value into its media type and parameters, returning a normalized, deterministic result with a pass/advisory status.","exampleAgentPrompt":"Parse this Content-Type header for me and tell me the media type and any parameters: 'application/json; charset=utf-8; boundary=something' — I need to know if it's valid before I accept the response.","exampleUseCases":[{"title":"Validate response before caching","prompt":"Before I cache this API response, can you parse its Content-Type header 'text/html; charset=utf-8' and tell me the exact media type and whether it passes validation?"},{"title":"Check Content-Type before redirect","prompt":"I'm about to follow a redirect and the response has Content-Type 'multipart/form-data; boundary=----WebKitFormBoundary' — can you split that into its media type and parameters and confirm it looks valid?"},{"title":"Normalize upstream content type","prompt":"An upstream service returned Content-Type 'Application/JSON;Charset=UTF-8' — can you normalize and parse that header so I get the canonical media type and parameters back?"}],"resultDescription":"Returns a versioned deterministic JSON object containing the normalized Content-Type value, the parsed media type, the extracted parameters map, a computed finding summary, and an explicit pass or advisory status indicating whether the header is well-formed and safe to use.","failureModes":["Header string exceeds 8192 character limit — request rejected","Malformed or unparseable Content-Type value — advisory status returned with finding details","Missing or empty header field — returns advisory with explanation","Payment not received or x402 flow incomplete — endpoint not executed"],"whenToPreferThis":"Choose this endpoint when you need deterministic, stateless parsing of a Content-Type header value into its component parts without relying on an external AI model or regex. Ideal for agents that must validate, cache, redirect, or retry based on a caller-supplied HTTP response and need a structured, versioned JSON result with explicit pass/advisory signal rather than a heuristic judgment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:12:44.841Z","isFirstParty":false}