# Permissions Policy Parse

> Permissions Policy Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Parses a Permissions-Policy HTTP header value into normalized feature allowlist entries and returns a structured pass/advisory finding

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/permissions-policy-parse
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/permissions-policy-parse-a8ca11d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R_inzk5vRWjltWeomlKkD

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 permissions-policy-parse-a8ca11d6 -d '<json body>'
```

Example prompt: Can you parse this Permissions-Policy header value and tell me if it's well-formed, what features are allowed, and whether it passes or has any advisories: 'camera=(), microphone=(self), geolocation=(self "https://example.com")'?

## When to prefer this

Choose this endpoint when you need deterministic, bounded, in-memory parsing of a Permissions-Policy HTTP header value before accepting, caching, redirecting, or retrying a caller-supplied web response. It requires no external provider, retains no data, and returns versioned JSON suitable for audit logging or automated policy enforcement pipelines.

## Known failure modes

- Header string exceeds 8192 character limit — request rejected
- Malformed header value that cannot be parsed — advisory or error finding returned
- Empty or missing header field — may return advisory status
- Invalid feature directive syntax — flagged in finding output

## How this service works

Permissions Policy Parse: Permissions Policy Parse parses Permissions-Policy feature allowlists into normalized entries from bounded caller-supplied values without an external provider. Call Permissions Policy Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Permissions Policy Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First…

## Output

Returns versioned deterministic JSON containing: the normalized Permissions-Policy feature allowlist entries parsed from the input, the computed finding describing any structural issues or policy observations, and an explicit pass or advisory status verdict.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "header": {
   "type": "string",
   "maxLength": 8192,
   "description": "Header supplied to Permissions Policy Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 2,
   "directives": {
    "camera": [],
    "geolocation": [
     "self",
     "https://maps.example"
    ]
   }
  },
  "schema": "delx/util-permissions-policy-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a1872fcef7cbb2aabc0236a508d2693762a12cc6b5fbda254856f878202d8afc",
   "external_calls": 0
  },
  "operation": "web_reliability:permissions_policy_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/permissions-policy-parse-a8ca11d6/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)
