{"uid":"cap_JzV6RG4j21Ekrg4u8nZrK","slug":"one-engine-records-rename-top-10-field-renaming-61ac2624","name":"ONE Engine Records Rename (Top-10 Field Renaming)","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/rename/t10?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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9QXAtVZALvaAUVTR98x5v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renames fields across up to 500 JSON records, returning the top 10 transformed results.","exampleAgentPrompt":"I have a list of product records with fields like 'prod_id', 'prod_name', and 'prod_price' — can you rename them to 'id', 'name', and 'price' across all the records and give me the top 10 results?","exampleUseCases":[{"title":"Normalize API response field names","prompt":"I'm getting records from a third-party API with weird field names like 'usr_nm' and 'usr_em' — rename them to 'username' and 'email' across these 200 records and show me the top 10."},{"title":"Migrate legacy database export schema","prompt":"I have a CSV export turned into JSON where all the columns use old snake_case names like 'first_name' and 'last_name' — remap them to 'firstName' and 'lastName' for our new system, top 10 results please."},{"title":"Standardize event log keys for analytics","prompt":"These event log entries have inconsistent key names like 'ts', 'evt_type', and 'usr_id' — can you rename them to 'timestamp', 'eventType', and 'userId' across my batch of records?"}],"resultDescription":"An object containing up to 10 transformed JSON records with fields renamed according to the provided mapping, with any specified default values applied and optional key filtering.","failureModes":["Missing required 'records' field returns a validation error","Records array exceeding 500 items may be rejected or truncated","Invalid rename mapping (non-object) causes a schema error","Payment failure via x402 returns HTTP 402 before processing","Malformed JSON in records causes a parse error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call solution to batch-rename fields across JSON records (up to 500 at a time) and only need the top 10 results. It is ideal for agents that need ad-hoc schema normalization without standing up a dedicated ETL pipeline, and is cost-effective at $0.03 USDC per call via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:04.586Z","isFirstParty":false,"canonicalSlug":"one-engine-records-rename-top-10-field-renaming-61ac2624"}