{"uid":"cap_W4Fd0rV3gZ8eU5c5H_cJP","slug":"delx-pick-fields-7eabaaee","name":"Delx Pick Fields","description":"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…","url":"https://api.delx.ai/api/v1/x402/pick-fields","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keys":{"type":"array","description":"Input field: keys."},"object":{"type":"object","description":"Input field: object."}}},"responseSchema":{"type":"json","example":{"ok":true,"object":{"a":1,"c":3},"schema":"delx/util-pick-fields/v1","missing":["z"],"picked_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j5my3QMN7uIIS7KvITotg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts a shallow whitelist of specified keys from a JSON object, returning only those key-value pairs","exampleAgentPrompt":"From this JSON object {\"name\":\"Alice\",\"age\":30,\"email\":\"alice@example.com\",\"role\":\"admin\"}, pick only the fields [\"name\",\"email\"] and return just those.","exampleUseCases":[{"title":"Slim down API response before storage","prompt":"I got back a huge user profile object from an API — it has dozens of fields but I only need name, email, and plan. Can you pick just those three fields out of the object and give me the trimmed version?"},{"title":"Preflight payload before signing","prompt":"Before I sign this JSON payload, I want to drop everything except the id, timestamp, and amount fields. Pick just those keys from the object so I'm only signing what matters."},{"title":"Filter agent context before forwarding","prompt":"I'm about to forward this agent context object to the next step in my pipeline, but it contains sensitive fields. Pick only the keys [\"task\", \"priority\", \"deadline\"] from the context object and send that along instead."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:13.544Z","isFirstParty":false}