# Delx Pick Fields

> Delx Pick 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-13).

Extracts a shallow whitelist of specified keys from a JSON object, returning only those key-value pairs

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/pick-fields
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-pick-fields-7eabaaee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W4Fd0rV3gZ8eU5c5H_cJP

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-pick-fields-7eabaaee -d '<json body>'
```

Example prompt: From this JSON object {"name":"Alice","age":30,"email":"alice@example.com","role":"admin"}, pick only the fields ["name","email"] and return just those.

## When to prefer this

Use this endpoint when you need a deterministic, stateless, zero-retention way to filter a JSON object to a specific set of keys — especially in agent preflight steps, payload minimization before signing or caching, or when trimming API responses before passing them downstream. Prefer it over writing inline filtering logic when you want a consistent micro-utility with a predictable cost and no side effects.

## Known failure modes

- Missing or empty keys array returns an empty object
- Non-object input for the object field returns an error
- Malformed JSON input causes a 400-level error
- Keys array containing non-string values may cause a validation error
- All specified keys absent from object returns an empty object

## How this service works

Pick a shallow whitelist of keys from a JSON object — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converted e…

## Output

A JSON object containing only the key-value pairs from the input object whose keys appear in the provided keys array. Keys not present in the input object are silently omitted. The result is deterministic and machine-readable.

## 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": {
  "ok": true,
  "object": {
   "a": 1,
   "c": 3
  },
  "schema": "delx/util-pick-fields/v1",
  "missing": [
   "z"
  ],
  "picked_count": 2
 }
}
```

## More

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