{"uid":"cap_pwhSHl7y70Lxe1CmgNYPf","slug":"delx-commerce-retention-policy-check-36319fd5","name":"Delx Commerce — Retention Policy Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/retention-policy-check?utm_source=zero.xyz","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_ifB5Nn2HnWh9TqXuN3OKZ","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":"Checks whether a given data retention period complies with a specified maximum allowed retention policy, returning compliance status and excess days.","exampleAgentPrompt":"Check if keeping data for 30 days is compliant when the maximum allowed retention is 14 days, and tell me how far over the limit we are.","exampleUseCases":[{"title":"Audit data pipeline retention settings","prompt":"We keep raw event logs for 90 days, but our policy cap is 60 days — can you check if that's compliant and tell me by how many days we're over?"},{"title":"GDPR data minimization check","prompt":"Our GDPR policy says we can't retain personal data longer than 30 days. We currently store it for 45 days — is that compliant, and what should we do?"},{"title":"Automated compliance gate in CI/CD","prompt":"Before we deploy, verify that our configured retention of 7 days doesn't exceed the 14-day maximum we've set in our data policy."}],"resultDescription":"Returns a JSON object with the schema identifier, the input max_days and retention_days values, a boolean 'compliant' flag, the number of 'excess_days' (how many days over the limit), and a 'recommendation' string such as 'reduce_or_document_exception'.","failureModes":["Missing required fields (max_days or retention_days) may result in a validation error or unexpected output","Non-numeric input values will likely cause a schema validation failure","Negative values for either field may produce undefined behavior","Network or payment failure via x402 protocol could prevent the call from completing"],"whenToPreferThis":"Choose this endpoint when an AI agent or automated workflow needs to programmatically verify whether a data retention duration falls within a defined policy limit, especially in compliance pipelines, data governance checks, or CI/CD gates. It is lightweight ($0.003/call), requires no signup, and returns a structured, machine-readable result with an actionable recommendation — ideal for agents that need a fast, verifiable compliance signal without building custom logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:01.003Z","isFirstParty":false,"canonicalSlug":"delx-commerce-retention-policy-check-36319fd5"}