{"uid":"cap_MBJc7wpDfFHwPDxQpbTdG","slug":"one-engine-records-pick-t8-9ea47287","name":"ONE Engine Records Pick T8","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/records/pick/t8?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["records"],"properties":{"keys":{"type":"array"},"rename":{"type":"object"},"records":{"type":"array","description":"Up to 500 JSON objects"},"defaults":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k68LzTS_KzZKNqmvLPDv4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Selects and reshapes up to 500 JSON records by picking specific keys, renaming fields, and applying defaults.","exampleAgentPrompt":"I have an array of up to 500 customer JSON objects and I only want to keep the 'id', 'name', and 'email' fields — can you pick just those keys, rename 'name' to 'fullName', and set a default of 'unknown' for any missing email?","exampleUseCases":[{"title":"Project columns from API response","prompt":"I just got back a huge JSON array from an API and I only need the 'userId', 'createdAt', and 'status' fields from each record — can you strip everything else out and rename 'userId' to 'id'?"},{"title":"Normalize records before database insert","prompt":"I have 300 JSON records that need to go into a database, but the field names don't match — can you rename 'first_name' to 'firstName' and 'last_name' to 'lastName', and set a default of 'active' for any record missing a 'status' field?"},{"title":"Prepare dataset for downstream agent","prompt":"Before passing these records to the next step in my pipeline, I need to slim them down to only 'productId', 'price', and 'category', and fill in a default price of 0 for any records that are missing it — can you do that transformation on this batch of 200 objects?"}],"resultDescription":"Returns a JSON object containing the transformed array of records, where each record has been filtered to the requested keys, fields renamed according to the mapping, and missing fields filled with provided defaults.","failureModes":["Records array exceeds 500 items — request rejected or truncated","Malformed JSON input causes parsing error","Missing required 'records' field returns validation error","Payment via x402 on Base fails or is rejected — 402 response returned","Rename mapping references keys not present in records — silently skipped or empty output","Network timeout on Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JSON record projection and field-renaming step within an agent pipeline — especially useful when you want to slim down large API responses, normalize field names across heterogeneous sources, or apply default values before passing data downstream, all without spinning up your own ETL infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:43.600Z","isFirstParty":false,"canonicalSlug":"one-engine-records-pick-t8-9ea47287"}