{"uid":"cap_ElzYXkmeVq-5ypWgh8h56","slug":"delx-omit-fields-e0498c96","name":"Delx Omit Fields","description":"Omit keys from an object. Call when you strip secrets before agent logging. Returns filtered object and size 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/omit-fields","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":{"size":2,"object":{"a":1,"b":2},"schema":"delx/util-omit-fields/v1"}},"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_1agFaNSGt3VZil4iDJY8o","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":"Removes specified keys from a JSON object, returning the filtered object and its size","exampleAgentPrompt":"Strip the keys 'apiKey', 'password', and 'token' from this object before you log it: {\"userId\": 42, \"apiKey\": \"sk-abc123\", \"password\": \"hunter2\", \"token\": \"xyz\", \"role\": \"admin\"}.","exampleUseCases":[{"title":"Sanitize secrets before agent logging","prompt":"Before you write this API response to the log, remove the fields 'secret', 'authToken', and 'privateKey' from it so we don't accidentally store credentials."},{"title":"Strip PII before forwarding payload","prompt":"I need to forward this user record to the analytics pipeline, but first drop the fields 'email', 'ssn', and 'phoneNumber' from the object so no personal data leaks through."},{"title":"Clean object before passing to downstream agent","prompt":"Take this tool result and remove the keys 'internalId' and 'debugTrace' before you hand it off to the next agent in the workflow — those are internal-only fields."}],"resultDescription":"Returns a filtered JSON object with the specified keys removed, along with the byte size of the resulting object. No data is retained server-side; processing is local and first-party.","failureModes":["Missing or malformed 'object' field returns an error","Non-array or invalid 'keys' field causes a validation error","Payment failure via x402 protocol results in 402 response","Keys that don't exist in the object are silently ignored (no error)","Deeply nested keys are not recursively removed — only top-level keys are omitted"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, stateless utility to strip known top-level keys from a JSON object — especially for sanitizing secrets, credentials, or PII before logging or forwarding. Prefer it over custom code in agentic pipelines where inline transformation without side effects is needed and cost must be minimal ($0.001 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:15.152Z","isFirstParty":false}