{"uid":"cap_hBnR3h5Mtnwn-mukdmmED","slug":"cookie-path-match-f50ad975","name":"Cookie Path Match","description":"Cookie Path Match: Cookie Path Match evaluates cookie Path matching for a request path from bounded caller-supplied values without an external provider. Call Cookie Path Match 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 Path Match as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with n…","url":"https://api.delx.ai/api/v1/x402/cookie-path-match","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cookie_path":{"type":"string","maxLength":8192,"description":"Cookie Path supplied to Cookie Path Match; used only for this bounded calculation and processed in memory without retention."},"request_path":{"type":"string","maxLength":8192,"description":"Request Path supplied to Cookie Path Match; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"matched":true,"cookie_path":"/api","request_path":"/api/v1/items"},"schema":"delx/util-cookie-path-match/v1","status":"pass","evidence":{"retained":false,"input_sha256":"41bcc556d968f472cd311120316a62e8cf41f4235877caabbfe596074506cb5c","external_calls":0},"operation":"web_reliability:cookie_path_match"}},"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_-sjuU1Y2PYu1Iqx9k5Glh","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":"Evaluates whether a cookie's Path attribute matches a given HTTP request path, returning a deterministic pass/fail result.","exampleAgentPrompt":"Check if the cookie path '/api/v1' matches the request path '/api/v1/users/profile' — I need to know if this cookie would be sent with that request.","exampleUseCases":[{"title":"Pre-cache cookie scope validation","prompt":"Before I cache this response, check if the cookie path '/shop' matches the incoming request path '/shop/checkout/cart' so I know whether to include the cookie."},{"title":"Redirect cookie applicability check","prompt":"I'm about to redirect a user from '/account/settings' — verify whether a cookie with path '/account' would still apply to the new request path '/account/settings/privacy'."},{"title":"Security audit of cookie scope","prompt":"Audit whether a cookie set with path '/admin' would be sent along with a request to '/admin/users/delete' — return the pass/fail result and the evidence."}],"resultDescription":"Returns deterministic JSON containing: normalized web evidence (the inputs as evaluated), the computed finding (whether the cookie path matches the request path per RFC cookie path matching rules), and an explicit pass or advisory status indicating match or mismatch.","failureModes":["Missing or empty cookie_path or request_path inputs result in validation error","Inputs exceeding 8192 characters are rejected","Malformed path strings may return advisory status rather than pass","Payment not included or insufficient USDC results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a stateless, deterministic, versioned evaluation of RFC-compliant cookie path matching without implementing the logic yourself. Prefer it over custom code when you need auditable, normalized evidence of the match result for caching decisions, redirect handling, retry logic, or security audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:05:09.070Z","isFirstParty":false}