# Delx Omit Fields

> Delx Omit Fields 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).

Removes specified keys from a JSON object, returning the filtered object and its size

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/omit-fields
- 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/delx-omit-fields-e0498c96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ElzYXkmeVq-5ypWgh8h56

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-omit-fields-e0498c96 -d '<json body>'
```

Example prompt: Strip the keys 'apiKey', 'password', and 'token' from this object before you log it: {"userId": 42, "apiKey": "sk-abc123", "password": "hunter2", "token": "xyz", "role": "admin"}.

## When to prefer this

Choose this endpoint when you need a fast, cheap, stateless utility to strip known top-level keys from a JSON object — especially for sanitizing secrets, credentials, or PII before logging or forwarding. Prefer it over custom code in agentic pipelines where inline transformation without side effects is needed and cost must be minimal ($0.001 per call).

## Known failure modes

- Missing or malformed 'object' field returns an error
- Non-array or invalid 'keys' field causes a validation error
- Payment failure via x402 protocol results in 402 response
- Keys that don't exist in the object are silently ignored (no error)
- Deeply nested keys are not recursively removed — only top-level keys are omitted

## How this service works

Omit keys from an object. Call when you strip secrets before agent logging. Returns filtered object and size for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a filtered JSON object with the specified keys removed, along with the byte size of the resulting object. No data is retained server-side; processing is local and first-party.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keys": {
   "type": "array",
   "description": "Input field: keys."
  },
  "object": {
   "type": "object",
   "description": "Input field: object."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "size": 2,
  "object": {
   "a": 1,
   "b": 2
  },
  "schema": "delx/util-omit-fields/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-omit-fields-e0498c96/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)
