{"uid":"cap_77OXkVfJcF1WtSzIvh5zJ","slug":"method-idempotency-classify-e5b9411b","name":"Method Idempotency Classify","description":"Method Idempotency Classify: Method Idempotency Classify classifies an HTTP method as safe, idempotent, or non-idempotent from bounded caller-supplied values without an external provider. Call Method Idempotency Classify 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 Method Idempotency Classify as versioned deterministic JSON. Price: $0.001 USDC via x402 on Bas…","url":"https://api.delx.ai/api/v1/x402/method-idempotency-classify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"method":{"type":"string","maxLength":8192,"description":"Method supplied to Method Idempotency Classify; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"safe":false,"method":"PUT","idempotent":true},"schema":"delx/util-method-idempotency-classify/v1","status":"pass","evidence":{"retained":false,"input_sha256":"c8f1d9636636150613283c76e75ed08a7999d0390f4e3478ee82fa118fcaef20","external_calls":0},"operation":"web_reliability:method_idempotency_classify"}},"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_KaDTJrRhXdxT0HMYFExHJ","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":"Classifies an HTTP method (GET, POST, PUT, DELETE, etc.) as safe, idempotent, or non-idempotent and returns a deterministic pass/advisory verdict.","exampleAgentPrompt":"Can you classify the HTTP method 'DELETE' as safe, idempotent, or non-idempotent so I know whether it's safe to retry or cache?","exampleUseCases":[{"title":"Retry safety check for agent workflow","prompt":"Before my agent retries this failed request, can you classify 'POST' as safe, idempotent, or non-idempotent so I know if it's safe to resend it?"},{"title":"Caching policy validation for API gateway","prompt":"I'm building a caching layer and need to know if the 'GET' HTTP method is classified as safe and idempotent — can you run that classification and give me the verdict?"},{"title":"Redirect handling in HTTP pipeline","prompt":"My pipeline is deciding whether to follow a redirect — can you classify the HTTP method 'PUT' as safe, idempotent, or non-idempotent so I can handle it correctly?"}],"resultDescription":"Returns versioned deterministic JSON containing: the normalized HTTP method input as web evidence, the computed idempotency/safety classification (safe, idempotent, or non-idempotent), and an explicit pass or advisory status verdict.","failureModes":["Invalid or unrecognized HTTP method string returns advisory status","Empty method field results in validation error","Oversized input beyond 8192 characters rejected","Payment failure via x402 prevents processing"],"whenToPreferThis":"Use this endpoint when an agent or API pipeline needs a deterministic, authoritative classification of an HTTP method's idempotency and safety properties before making decisions about caching, retrying, redirecting, or accepting caller-supplied responses. Prefer this over ad-hoc logic when you need a versioned, auditable JSON verdict rather than hardcoded conditionals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:47.415Z","isFirstParty":false}