{"uid":"cap_eB1-eB_R8EsOeQEpZOAlh","slug":"cookie-expiry-check-9369c79c","name":"Cookie Expiry Check","description":"Cookie Expiry Check: Cookie Expiry Check checks Max-Age or Expires metadata against an allowed lifetime from bounded caller-supplied values without an external provider. Call Cookie Expiry Check 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 Cookie Expiry Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-…","url":"https://api.delx.ai/api/v1/x402/cookie-expiry-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max_age_seconds":{"type":"integer","description":"Max Age Seconds supplied to Cookie Expiry Check; used only for this bounded calculation and processed in memory without retention."},"maximum_seconds":{"type":"integer","description":"Maximum Seconds supplied to Cookie Expiry Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"within_policy":true,"lifetime_seconds":3600},"schema":"delx/util-cookie-expiry-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a491d02ddf4db75f7e8ad0e74d1e5993f6dbc44bed654b8e5abc0848ecc6bad3","external_calls":0},"operation":"web_reliability:cookie_expiry_check"}},"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_C7DYxmouVZHUG8hdRKURU","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":"Validates a cookie's Max-Age or Expires duration against a caller-supplied maximum allowed lifetime and returns a deterministic pass/advisory verdict.","exampleAgentPrompt":"Check whether a cookie with a max-age of 86400 seconds is within the allowed maximum of 3600 seconds — I need a clear pass or advisory verdict before I cache this response.","exampleUseCases":[{"title":"Cookie lifetime enforcement before caching","prompt":"Before I cache this web response, check if the cookie's max-age of 172800 seconds exceeds my allowed maximum of 86400 seconds and tell me whether it passes."},{"title":"Security policy check on incoming cookies","prompt":"I'm receiving a cookie with a max-age of 7776000 seconds — validate it against my maximum allowed lifetime of 2592000 seconds and flag it if it's over the limit."},{"title":"Agent pipeline pre-acceptance validation","prompt":"Before my agent accepts this response, verify the cookie's max-age of 3600 seconds is within the allowed maximum of 7200 seconds and return a pass or advisory status."}],"resultDescription":"Returns versioned deterministic JSON containing: normalized web evidence (the supplied max_age_seconds and maximum_seconds values), the computed finding (whether the cookie lifetime exceeds the allowed maximum), and an explicit pass or advisory status indicating compliance.","failureModes":["Missing or non-integer max_age_seconds or maximum_seconds fields return a validation error","Negative or zero values for either parameter may produce unexpected advisory results","Payment failure via x402 prevents the call from being processed","Out-of-range integer values may cause computation errors"],"whenToPreferThis":"Use this endpoint when you need a stateless, deterministic, single-purpose check on a cookie's Max-Age or Expires lifetime against a policy-defined maximum — especially inside agent pipelines that must validate web responses before accepting, caching, redirecting, or retrying them. Prefer this over custom logic when you want a versioned, auditable, JSON-structured verdict with no side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:52:44.460Z","isFirstParty":false}