# Delx Retention Policy Check

> Delx Retention Policy Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Compares a declared data retention period (in days) against a maximum allowed policy window to determine compliance

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/retention-policy-check
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-retention-policy-check-6283fd02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2a7oa4O3_Z6J0ue3Pjxl8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-retention-policy-check-6283fd02 -d '<json body>'
```

Example prompt: Check if our declared retention of 365 days is within our maximum policy window of 180 days and tell me whether we're compliant.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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…

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max_days": {
   "type": "number",
   "description": "Input field: max_days."
  },
  "retention_days": {
   "type": "number",
   "description": "Input field: retention_days."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-retention-policy-check-6283fd02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
