{"uid":"cap_hi4XC9CXKQjmfhrHT86VO","slug":"delx-object-pick-exists-3f6928b7","name":"Delx Object Pick Exists","description":"Pick only keys that exist on an object. Call when you whitelist agent fields without inventing missing keys. Returns object, missing, count 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.","url":"https://api.delx.ai/api/v1/x402/obj-pick-exists","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":{"count":1,"object":{"a":1},"schema":"delx/util-obj-pick-exists/v1","missing":["z"]}},"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_KrNAlYQQp1SosvZrUdO6s","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 an object to only the keys from a provided whitelist that actually exist on the object, returning the filtered object, missing keys, and count.","exampleAgentPrompt":"From this user profile object {name: 'Alice', age: 30, password: 'secret', role: 'admin'}, pick only the keys ['name', 'age', 'email'] that actually exist on it — tell me which ones are present and which are missing.","exampleUseCases":[{"title":"Sanitize agent output fields","prompt":"I have a JSON object from my data pipeline and I only want to keep the fields ['id', 'title', 'created_at', 'status'] — filter it down to just those that exist and tell me which ones are missing."},{"title":"Whitelist API response keys","prompt":"I'm getting a big API response and I only care about ['user_id', 'email', 'plan', 'expires_at'] — can you pick just those fields from the object and let me know if any are absent?"},{"title":"Audit expected schema fields","prompt":"Check this configuration object and tell me which of the required keys ['host', 'port', 'database', 'username', 'password'] are actually present and which ones are missing."}],"resultDescription":"Returns a JSON object with three fields: 'object' (a new object containing only the whitelisted keys that existed on the input), 'missing' (an array of keys from the whitelist that were not found on the input object), and 'count' (the number of keys successfully picked).","failureModes":["Missing or invalid 'keys' array returns an error or empty result","Passing a non-object as 'object' may cause a validation error","Empty keys array results in an empty object with all keys marked missing","Keys with undefined or null values may be treated as existing or missing depending on implementation","Payment failure (insufficient USDC balance) blocks the call via x402"],"whenToPreferThis":"Choose this endpoint when you need to safely whitelist a set of keys on an object without accidentally inventing values for keys that don't exist. It is ideal for sanitizing agent outputs, trimming API responses to a known schema, or auditing which expected fields are present in a payload — all without any network calls, external data access, or data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:57.185Z","isFirstParty":false}