{"uid":"cap_tC8d6ejU011U8RiW0D-oA","slug":"json-object-pick-045692b9","name":"JSON Object Pick","description":"JSON Object Pick: JSON Object Pick keeps selected top-level keys from one JSON object from bounded caller-supplied values without an external provider. Call JSON Object Pick before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Object Pick as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party,…","url":"https://api.delx.ai/api/v1/x402/json-object-pick","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keys":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Keys supplied to JSON Object Pick; used only for this bounded calculation and processed in memory without retention."},"object":{"type":"object","description":"Object supplied to JSON Object Pick; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"object":{"id":1,"name":"A"},"key_count":2},"schema":"delx/util-json-object-pick/v1","status":"pass","evidence":{"retained":false,"input_sha256":"1a7f9253ab434afa84b8a0eabd2599e98f2f96ace45abb5e67ffeac9897a7d88","external_calls":0},"operation":"data_batch:json_object_pick"}},"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_UtgstCiJQGBJPCdpB-pUZ","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":"Filters a JSON object to retain only the specified top-level keys, returning a clean subset of the original object","exampleAgentPrompt":"From this JSON object {\"name\":\"Alice\",\"age\":30,\"email\":\"alice@example.com\",\"role\":\"admin\",\"createdAt\":\"2024-01-01\"}, pick only the keys 'name' and 'email' and give me back the trimmed object.","exampleUseCases":[{"title":"Trim payload before downstream API call","prompt":"I have a large JSON object with 20 fields but the downstream service only accepts 'id', 'status', and 'amount' — can you pick just those three keys from my object and give me the filtered result to send along?"},{"title":"Whitelist PII fields before logging","prompt":"Before we log this user record, strip everything except 'userId' and 'timestamp' from this JSON — I don't want 'email', 'phone', or 'address' ending up in the logs."},{"title":"Reduce API response for agent handoff","prompt":"The payment API returned a huge response object but the next step in my workflow only needs 'transactionId' and 'confirmedAt' — can you pick just those keys from the JSON and hand that slim object to the next tool?"}],"resultDescription":"A versioned deterministic JSON result containing the filtered object with only the requested top-level keys present, along with metadata such as key counts, normalized values, and a versioned result contract identifier. Keys not found in the source object are omitted gracefully.","failureModes":["Keys array exceeds 256 items — request rejected","Source object exceeds 128 top-level properties — request rejected","Key name string exceeds 8192 characters — request rejected","Payment of $0.001 USDC via x402 on Base fails or is not included — 402 response","Malformed JSON body — 400 bad request","None of the requested keys exist in the object — empty filtered object returned"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, stateless filter of top-level keys from a JSON object before handing data to a downstream tool with a strict schema contract. It is ideal when you want an auditable, versioned record of the transformation (not just an in-memory slice) and when you are already operating in an x402/Base payment context. Prefer it over ad-hoc in-agent object filtering when you need guaranteed bounded execution, count metadata, and a versioned result for compliance or debugging purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:38.072Z","isFirstParty":false}