# Cache Lifetime Decision

> Cache Lifetime Decision is a paid API for AI agents from webtechnik.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-17).

Passively inspects a public URL and determines whether its HTTP cache lifetime meets a documented threshold, returning verdict, evidence, and recommended action.

## Facts

- Endpoint: POST https://webtechnik.halowerk.com/v1/cache-lifetime-decision?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cache-lifetime-decision-31962e28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_099u7LUZIoAzlbaReCVgX

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 cache-lifetime-decision-31962e28 -d '<json body>'
```

Example prompt: Can you check whether https://example.com has a cache lifetime of at least five minutes — give me the verdict, the actual evidence from the response headers, and what I should do if it fails?

## When to prefer this

Use this endpoint when you need a lightweight, passive, single-criterion check specifically for cache lifetime compliance on a public URL. It is ideal for automated CI/CD gates, pre-launch audits, or monitoring pipelines where you only need to know whether HTTP caching meets a five-minute minimum — without running a full site audit. Prefer it over general web auditing tools when you want a machine-readable verdict with explicit evidence and an actionable recommendation at low cost per call.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — check may fail or return an inconclusive result
- Private or authenticated URLs cannot be inspected since no login is performed
- Dynamically generated headers that vary per request may produce inconsistent results
- Very short-lived redirects or intermediate caching layers may obscure the actual cache headers
- Malformed or missing Cache-Control headers may result in a fail verdict even if caching is effective via other means

## How this service works

Cache lifetime at least five minutes decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns an observation describing what was found in the HTTP response headers, the threshold being checked (at least five minutes), a pass/fail verdict, the exact evidence source (e.g. Cache-Control header values), any limitations of the passive check, and a mode-specific recommended action if the criterion is not met.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cache-lifetime-decision-31962e28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtechnik.halowerk.com](https://www.zero.xyz/host/webtechnik.halowerk.com/llms.txt)
