{"uid":"cap_NS53nKjm5S766p4OTRibp","slug":"delx-http-request-canonicalize-3f6aae22","name":"Delx HTTP Request Canonicalize","description":"Canonicalize an HTTP request, remove credentials, and derive a stable fingerprint. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for autho…","url":"https://api.delx.ai/api/v1/x402/http-request-canonicalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","description":"Input field: request."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-http-request-canonicalize/v1","request":{"url":"https://api.example.com/jobs?a=1&b=2","method":"GET","headers":{"accept":"application/json"},"body_sha256":"74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b"},"fingerprint":"af2e466edad44443374c2fe4ac631b6beb771da69420202b62476eb599543e88","credentials_removed":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Luq5HqiY0wZwKmzrf6Drz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Canonicalizes an HTTP request object by removing credentials and deriving a stable, deterministic fingerprint for use in preflight analysis, security review, or policy workflows.","exampleAgentPrompt":"Before I submit this API call to the payment gateway, canonicalize this HTTP request object, strip out any credentials, and give me a stable fingerprint I can use for deduplication and policy checks.","exampleUseCases":[{"title":"Preflight security check before production call","prompt":"I have an HTTP request object that's about to hit our billing API — canonicalize it, remove any auth headers or credentials, and return a fingerprint so I can log it safely before it goes to production."},{"title":"Deduplication fingerprint for request cache","prompt":"Can you take this outbound HTTP request and generate a stable, deterministic fingerprint so I can check if we've already sent an identical request in the last 24 hours before firing it again?"},{"title":"Policy evaluation without credential exposure","prompt":"I need to run this HTTP request through our policy engine, but first sanitize it — strip credentials and canonicalize the structure — and give me the clean JSON representation I can pass to the evaluator safely."}],"resultDescription":"Returns a deterministic, machine-readable JSON object containing the canonicalized HTTP request with credentials removed and a stable fingerprint derived from the normalized request. Output is advisory and stateless — no data is retained server-side.","failureModes":["Malformed or missing request object in input returns validation error","Request object with unrecognized structure may produce incomplete canonicalization","Payment failure via x402 results in no execution","Extremely large request bodies may be truncated or rejected","Edge-case header encodings may not be fully normalized"],"whenToPreferThis":"Prefer this endpoint when you need a lightweight, stateless, local-only preflight step to sanitize and fingerprint an HTTP request before it reaches a policy engine, audit log, security reviewer, or production system. It is ideal when credential stripping and deterministic canonicalization are required without any upstream data retention. Use it in enterprise agent workflows where a bounded, sub-cent computation step is acceptable and traceability/idempotency of requests matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:57.194Z","isFirstParty":false}