# Delx Commerce — JSON Object Omit

> Delx Commerce — JSON Object Omit is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Removes specified keys from a JSON object and returns the filtered result with verifiable evidence of in-memory-only processing.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-object-omit?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-json-object-omit-65ca34c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AiEU0bqnUiNhn060oe772

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-commerce-json-object-omit-65ca34c3 -d '<json body>'
```

Example prompt: Take this JSON object {"id":1,"name":"Alice","password":"secret","token":"abc123"} and remove the keys 'password' and 'token' from it, giving me back the cleaned object.

## When to prefer this

Choose this endpoint when you need a verifiable, auditable, pay-per-call transformation that removes keys from a JSON object without any server-side data retention — especially useful in privacy-sensitive or compliance-driven pipelines where you need cryptographic proof (SHA-256 input hash) that the operation was performed in-memory only. Prefer this over a custom code snippet when you need an immutable audit trail or are operating in an agent workflow that bills per operation.

## Known failure modes

- Object exceeds 128 properties limit — request rejected
- Keys array exceeds 256 items or individual key exceeds 8192 characters — validation error
- Malformed JSON object in request body — parse error
- Payment failure via x402 protocol — 402 response with payment details
- Key not present in object — silently ignored, object returned as-is

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns the input object with the specified keys removed, along with a count of keys that were omitted, the SHA-256 hash of the input for auditability, confirmation that no data was retained or sent to external systems, and a status of 'pass' indicating successful processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keys": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Keys supplied to JSON Object Omit; used only for this bounded calculation and processed in memory without retention."
  },
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Object Omit; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "object": {
    "id": 1,
    "name": "A"
   },
   "key_count": 2
  },
  "schema": "delx/util-json-object-omit/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "305d1e78674b7f87732f17d6efdfe1a7f3596228185847bd3e16f0800ba254f2",
   "external_calls": 0
  },
  "operation": "data_batch:json_object_omit"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-object-omit-65ca34c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
