{"uid":"cap_BHMXzgbUkTOzXIMMPioDY","slug":"one-engine-omit-fields-from-records-a03dba47","name":"ONE Engine – Omit Fields from Records","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/omit/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_1hWjyaLlqt1Fqgsz58m6i","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":"Removes specified keys from an array of JSON objects, returning the records with those fields omitted.","exampleAgentPrompt":"Take these up to 500 JSON records and remove the 'password' and 'ssn' fields from all of them before I pass them downstream.","exampleUseCases":[{"title":"Strip PII before storing records","prompt":"I have a batch of user records and I need to remove the 'email', 'phone', and 'address' fields from all of them before we save them to the database — can you do that for all 200 objects?"},{"title":"Clean API response for frontend","prompt":"The API gave me a list of product objects but each one has internal fields like 'cost_price' and 'supplier_id' that I don't want to expose — strip those keys from all the records before sending them to the frontend."},{"title":"Normalize records by dropping legacy fields","prompt":"I'm migrating data and need to drop the old 'legacy_id' and 'deprecated_flag' keys from every record in this dataset of 350 objects so the new system doesn't choke on them."}],"resultDescription":"An array of JSON objects identical to the input records but with the specified keys removed from each object. The response is a JSON object containing the transformed records.","failureModes":["Missing required 'records' field returns a validation error","Records array exceeding 500 items may be rejected or truncated","Malformed JSON in records causes parsing failure","Payment failure via x402 returns HTTP 402 and no data is processed","Keys listed for omission that don't exist in records are silently ignored"],"whenToPreferThis":"Use this endpoint when you need a cheap, stateless, pay-per-call utility to strip specific keys from a batch of up to 500 JSON records without spinning up custom transformation logic. It is ideal for agentic pipelines that need to sanitize, redact, or project fields before passing data to downstream services. Prefer alternatives if you need field inclusion (allowlist/pick) rather than exclusion, or if your dataset exceeds 500 records per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:14.223Z","isFirstParty":false,"canonicalSlug":"one-engine-omit-fields-from-records-a03dba47"}