# Public Cacheability Decision

> Public Cacheability 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).

Fetches live HTTP headers from a target URL and evaluates whether its responses are publicly cacheable, returning a verdict, evidence, and recommended action.

## Facts

- Endpoint: POST https://webtechnik.halowerk.com/v1/public-cacheability-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/public-cacheability-decision-dfdc7f7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_--fiICaVZ-mM4AjYU7osC

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 public-cacheability-decision-dfdc7f7d -d '<json body>'
```

Example prompt: Can you check whether https://example.com is publicly cacheable — I want to know the verdict, what evidence you found, and what I should do about it?

## When to prefer this

Use this endpoint when you need a passive, read-only assessment of whether a specific URL's HTTP responses are publicly cacheable — ideal for pre-deployment audits, CDN configuration validation, or change monitoring. Prefer this over general HTTP header analyzers when you specifically need a structured verdict with evidence, limitations, and actionable recommendations about public cacheability compliance.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — check may fail or return inconclusive verdict
- Target uses authentication that blocks passive header inspection — limitation noted in response
- Rate limiting or firewall on target may prevent header retrieval
- Malformed or missing Cache-Control headers may yield ambiguous results
- Very short-lived or dynamic responses may produce inconsistent verdicts across calls

## How this service works

Public cacheability 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 a structured result containing the observation (what was found in the HTTP response headers), the threshold or criterion being evaluated, a pass/fail verdict on public cacheability, the exact evidence source (URL or header), known limitations of the check, and a recommended action to take — all without performing any login, payload injection, or load testing on the target.

## 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/public-cacheability-decision-dfdc7f7d/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)
