# Delx Cache Policy Audit

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

Audits HTTP cache headers to detect missing cache policies and sensitive data exposed via public caching

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/cache-policy-audit
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-cache-policy-audit-f2fe009e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LxXcTooOkpmkaDBCbITcL

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-cache-policy-audit-f2fe009e -d '<json body>'
```

Example prompt: Can you audit these HTTP response headers for missing cache policies or any sensitive data that might be exposed through public caching? Headers: Cache-Control: public, max-age=3600 and no Pragma or Vary set.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, stateless audit of HTTP cache headers specifically for missing policies and public-cache exposure risks — especially as a preflight check in an autonomous agent workflow before acting on untrusted API responses or deploying changes. It is local-only with no upstream provider calls, making it suitable for security-sensitive pipelines. Prefer it over general HTTP header validators when the specific concern is cache policy completeness and sensitive data leakage through caching.

## Known failure modes

- Malformed input headers object returns a structured validation error without billing
- Missing required 'headers' field returns a validation failure
- Unrecognized header names are ignored rather than flagged as errors
- Empty headers object may return no findings rather than an error

## How this service works

Audit cache headers for missing policy and sensitive public-cache exposure. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.

## Output

A bounded machine-readable JSON object identifying missing cache policies, misconfigured directives, and instances of sensitive data exposed via public-cache headers, along with structured validation findings per header field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "headers": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": "review",
  "schema": "delx/cache-policy-audit/v1",
  "findings": [
   "cache_control_missing"
  ],
  "etag_present": false,
  "vary_present": false,
  "cache_control": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-cache-policy-audit-f2fe009e/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)
