{"uid":"cap_d2YN_etTQqjCET5pI6oKM","slug":"delx-is-empty-object-d4c267fb","name":"Delx Is Empty Object","description":"Check empty object from value. Call when you detect empty JSON bodies in agent pipelines. Returns empty boolean 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/is-empty-obj","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"object","description":"Input field: value."}}},"responseSchema":{"type":"json","example":{"empty":true,"schema":"delx/util-is-empty-obj/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_eRER_oyArGIYb2xFcLZds","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 given JSON object value is empty (i.e., has no keys)","exampleAgentPrompt":"Can you check if this object is empty: {}? I want to know before I pass it downstream in my pipeline.","exampleUseCases":[{"title":"Guard against empty API response bodies","prompt":"Before I process the API response, can you check if this object is empty so I can skip it if there's nothing there?"},{"title":"Pipeline preflight empty-body check","prompt":"My agent just received this JSON body — check if it's an empty object before I try to extract fields from it."},{"title":"Conditional workflow branching on empty object","prompt":"I need to branch my workflow differently if the config object is empty versus having values — can you check if it has any keys?"}],"resultDescription":"Returns a boolean indicating whether the provided JSON object is empty (true if no keys, false if it contains any properties). The response is advisory and locally computed with no data retention.","failureModes":["Non-object value passed (e.g. string, number, array) may result in an error or unexpected result","Missing or null 'value' field in the request body returns an error","Network timeout or upstream API unavailability returns a 5xx error","Payment failure via x402 protocol causes the request to be rejected before processing"],"whenToPreferThis":"Choose this endpoint when you need a reliable, zero-retention, micro-cost empty-object check inside an agent pipeline or workflow without implementing the logic yourself. It is ideal for preflight guards before downstream processing, conditional branching, or validating parsed JSON payloads. Prefer it over writing inline code when you want a consistent, observable API call in your pipeline trace.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:05.175Z","isFirstParty":false}