{"uid":"cap_zTIMyt4QTEr9GxwRbVU6u","slug":"delx-object-has-7f9fd42e","name":"Delx Object Has","description":"Check whether an object has a key. Call when you preflight required fields before paid calls. Returns has boolean 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/obj-has","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Input field: key."},"object":{"type":"object","description":"Input field: object."}}},"responseSchema":{"type":"json","example":{"has":true,"key":"a","schema":"delx/util-obj-has/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_Tnj_LVEhQBk_70nvqQ5X2","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":"Checks whether a JSON object contains a specified key, returning a boolean result for preflight validation before paid API calls.","exampleAgentPrompt":"Before calling the billing API, check whether this JSON object has the key 'userId': {\"email\": \"jane@example.com\", \"userId\": \"u_123\", \"plan\": \"pro\"}.","exampleUseCases":[{"title":"Preflight check before paid API call","prompt":"Check if this API response object has the key 'paymentMethod' before I pass it to the checkout service: {\"customerId\": \"c_456\", \"cart\": [\"item1\"], \"paymentMethod\": \"card\"}."},{"title":"Validate required field in incoming webhook","prompt":"I just received this webhook payload — can you check whether it has the key 'signature' so I know it's safe to process? The object is {\"event\": \"order.created\", \"orderId\": \"o_789\"}."},{"title":"Guard against missing config keys","prompt":"Before running the deployment, verify that this config object has the key 'apiKey': {\"region\": \"us-east-1\", \"bucket\": \"my-bucket\"}."}],"resultDescription":"Returns a JSON object containing a 'has' boolean indicating whether the key exists in the provided object, along with the queried 'key' name for confirmation.","failureModes":["Missing 'key' or 'object' fields in the request body results in a validation error","Non-object value passed as 'object' field causes a schema error","Payment failure via x402 prevents the call from executing","Network timeout returns no result; caller must retry"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless check to confirm a key exists in a JSON object before committing to a more expensive or irreversible downstream call. It is ideal for agent workflows that need fast, cheap preflight validation without spinning up custom code or storing data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:57.685Z","isFirstParty":false}