# Connection Header Tokenize

> Connection Header Tokenize 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-14).

Normalizes and tokenizes hop-by-hop connection option tokens from a raw HTTP Connection header, returning a deterministic pass/advisory status with normalized evidence.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/connection-header-tokenize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/connection-header-tokenize-34f63091
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TtKxLe1nS13LlJ7STgK3R

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 connection-header-tokenize-34f63091 -d '<json body>'
```

Example prompt: Can you tokenize and normalize this HTTP Connection header value for me — 'keep-alive, Upgrade' — and tell me if it passes or has any advisory issues before I cache the response?

## When to prefer this

Choose this endpoint when you need a deterministic, stateless, first-party normalization of HTTP Connection header tokens without relying on an external provider. Ideal for agents that must validate hop-by-hop headers before caching, redirecting, accepting, or retrying caller-supplied web responses, especially when reproducibility and auditability of the result matter.

## Known failure modes

- Header string exceeds 8192 character limit — input rejected
- Malformed or unparseable header value — may return advisory status with finding detail
- Payment not received or insufficient — x402 payment error
- Empty header input — may return trivially passing result or error

## How this service works

Connection Header Tokenize: Connection Header Tokenize normalizes hop-by-hop connection option tokens from bounded caller-supplied values without an external provider. Call Connection Header Tokenize 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 Connection Header Tokenize as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, statel…

## Output

Returns versioned deterministic JSON containing the normalized list of hop-by-hop connection option tokens extracted from the input header, the computed finding describing what was detected, and an explicit pass or advisory status indicating whether the header is safe for the intended operation (accept, cache, redirect, or retry).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "tokens": [
    "keep-alive",
    "upgrade"
   ],
   "normalized": "keep-alive, upgrade"
  },
  "schema": "delx/util-connection-header-tokenize/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "99b08b769289cbe264239a5044acfa6f6dcef329041f1f176821a5c475eb798f",
   "external_calls": 0
  },
  "operation": "web_reliability:connection_header_tokenize"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/connection-header-tokenize-34f63091/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)
