{"uid":"cap_2a7oa4O3_Z6J0ue3Pjxl8","slug":"delx-retention-policy-check-6283fd02","name":"Delx Retention Policy Check","description":"Compare declared retention with a maximum policy window. 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 authorization and production co…","url":"https://api.delx.ai/api/v1/x402/retention-policy-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max_days":{"type":"number","description":"Input field: max_days."},"retention_days":{"type":"number","description":"Input field: retention_days."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-retention-policy-check/v1","max_days":14,"compliant":false,"excess_days":16,"recommendation":"reduce_or_document_exception","retention_days":30}},"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_N8s8NnLi3vlQuHvJJ_T1P","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":"Compares a declared data retention period (in days) against a maximum allowed policy window to determine compliance","exampleAgentPrompt":"Check if our declared retention of 365 days is within our maximum policy window of 180 days and tell me whether we're compliant.","exampleUseCases":[{"title":"GDPR preflight before pipeline deployment","prompt":"Before we push this new data pipeline to production, check if our 730-day retention setting exceeds our maximum allowed policy window of 365 days."},{"title":"Enterprise security audit compliance gate","prompt":"As part of our quarterly security audit, validate that the declared 60-day retention on our analytics dataset is within the 90-day maximum retention cap our policy enforces."},{"title":"SaaS customer data retention negotiation","prompt":"A customer wants us to store their data for 540 days but our maximum policy window is 365 days — run a retention policy check to confirm whether that's a violation."}],"resultDescription":"Returns deterministic machine-readable JSON indicating whether the declared retention_days is within or exceeds the max_days policy window, along with advisory compliance status. No data is retained server-side; results are stateless and memory-only.","failureModes":["Missing required fields (retention_days or max_days not provided) — returns validation error","Non-numeric or negative values for days fields — returns input error","Payment failure over x402 on Base — request not processed","Values of zero may produce edge-case results requiring caller interpretation"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, stateless, deterministic preflight check to validate a data retention period against a maximum policy cap before making downstream data, security, or compliance decisions. Ideal for enterprise agent workflows where a machine-readable advisory result is needed at low cost ($0.003 USDC) without any upstream data retention risk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:03.373Z","isFirstParty":false}