{"uid":"cap_viB1IXYfuEG91Ker3c3aI","slug":"delx-dict-keys-96e54503","name":"Delx Dict Keys","description":"List object keys. Call when you introspect agent-held JSON objects. Returns keys and count 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/dict-keys","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"object":{"type":"object","description":"Input field: object."}}},"responseSchema":{"type":"json","example":{"keys":["b","a"],"count":2,"schema":"delx/util-dict-keys/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_XAGzyTVGX-0AaeqkWSor0","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":"Returns the list of keys and their count from a JSON object passed in the request body","exampleAgentPrompt":"What are all the keys in this JSON object — {\"name\": \"Alice\", \"age\": 30, \"role\": \"admin\"} — and how many are there?","exampleUseCases":[{"title":"Inspect unknown API response shape","prompt":"I just got back this JSON response from an API call and I have no idea what fields it contains — can you list all the keys in it for me?"},{"title":"Validate expected fields exist","prompt":"Before I process this config object, can you tell me what keys it has so I can confirm the required fields like 'endpoint' and 'timeout' are present?"},{"title":"Debug agent-held data structure","prompt":"I'm holding a JSON object from an earlier step in my workflow and I need to know what properties are available on it — can you enumerate all the keys and tell me how many there are?"}],"resultDescription":"Returns the list of top-level key names found in the submitted JSON object, along with a count of how many keys were found. No data is retained server-side; results are purely derived from the submitted object.","failureModes":["Missing or non-object input — returns error if 'object' field is absent or not a JSON object","Empty object — returns keys array as empty with count 0","Deeply nested objects — only top-level keys are returned, not recursive keys","Malformed JSON in request body — returns parse error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to quickly introspect the structure of a JSON object it already holds in memory — particularly when the object's schema is unknown or dynamic. It is ideal for lightweight, stateless key enumeration without shipping a code execution environment. Prefer this over writing custom code when operating in a no-code pipeline or when you want a reproducible, paid-per-call audit trail for introspection steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:47:18.874Z","isFirstParty":false}