{"uid":"cap_M6v0Lj-KaLoXnE5-g3OdF","slug":"delx-pluck-b0a72152","name":"Delx Pluck","description":"Pluck a key from a list of objects. Call when you extract IDs/fields from agent-held JSON arrays. Returns values list and key 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/pluck","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Input field: key."},"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"key":"id","count":2,"schema":"delx/util-pluck/v1","values":[1,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_7taUiUlVkRzRR0oXcAvjV","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 all values for a specified key from an array of JSON objects, returning a flat list of those values.","exampleAgentPrompt":"From this array of user objects I have, pull out every 'id' field and give me just the flat list of those values.","exampleUseCases":[{"title":"Extract IDs from API response","prompt":"I have this JSON array of order objects from our API response — can you pluck out just the 'orderId' field from each one so I have a clean list of IDs to work with?"},{"title":"Collect emails from user records","prompt":"Here's a list of user records I'm holding. Pull out the 'email' field from every object so I can get a flat list of all the email addresses."},{"title":"Gather product prices for comparison","prompt":"I've got an array of product JSON objects. Extract the 'price' field from each item so I can see all the prices in one list."}],"resultDescription":"Returns a JSON object containing the specified key and a flat array of all the values found under that key across the input list of objects. Missing keys in individual items may yield nulls or be omitted depending on implementation.","failureModes":["Key not found in any object — returns an empty list","Items field is not an array — validation error","Key field is empty or missing — bad request error","Malformed JSON in items array — parse error","Payment failure via x402 — 402 response, no result returned"],"whenToPreferThis":"Choose this endpoint when you already have a JSON array in memory and need to extract a single field's values into a flat list without writing custom mapping logic. It is ideal for lightweight, stateless field extraction in agentic pipelines where spinning up code execution is overkill. Prefer it over general-purpose code execution when the operation is purely a projection of one key across objects and you want a fast, cheap ($0.001 USDC), no-side-effect utility call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:56.903Z","isFirstParty":false}