{"uid":"cap_7JJUYSFUuS_i0g5otEd3X","slug":"delx-json-shape-profile-89897502","name":"Delx JSON Shape Profile","description":"Profile the top-level shape, fields, size, and cardinality of a JSON value. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorizatio…","url":"https://api.delx.ai/api/v1/x402/json-shape-profile","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","description":"Input field: data."}}},"responseSchema":{"type":"json","example":{"shape":"object","fields":["id","status"],"schema":"delx/util-json-shape-profile/v1","item_count":2,"canonical_bytes":25}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VjvPaUDZxhtRA2_l4KvFU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Profiles the top-level shape, fields, size, and cardinality of a JSON value for preflight analysis before downstream decisions","exampleAgentPrompt":"Profile the shape of this JSON for me — I need to know its top-level fields, their types, and cardinality before I decide whether to route it further: {\"userId\":\"abc123\",\"score\":42,\"tags\":[\"a\",\"b\"],\"meta\":{\"created\":\"2024-01-01\"}}.","exampleUseCases":[{"title":"Preflight check before policy engine","prompt":"Before I run this API response through our policy engine, profile its top-level shape and tell me what fields are present, their types, and how many entries any arrays have: here's the payload — {\"accountId\":\"x9f2\",\"permissions\":[\"read\",\"write\"],\"tier\":\"enterprise\",\"flags\":{}}."},{"title":"Unknown webhook payload inspection","prompt":"We just received a webhook from a third-party service and I'm not sure what's in it. Can you profile the shape of this JSON so I know what top-level fields and types we're dealing with before we store it: {\"event\":\"order.completed\",\"orderId\":8821,\"items\":[1,2,3],\"customer\":{\"id\":\"c77\"}}."},{"title":"Schema mapping prep for data integration","prompt":"I'm about to map this JSON to our internal schema and need a quick structural summary — top-level fields, types, and cardinality — so I can plan the mapping: {\"product\":\"widget\",\"price\":9.99,\"variants\":[\"red\",\"blue\"],\"available\":true,\"meta\":null}."}],"resultDescription":"A deterministic, machine-readable JSON object describing the top-level shape of the input, including field names, inferred types, size metrics, and cardinality of any array or object fields. Results are advisory and stateless — no input data is retained after the call.","failureModes":["Input 'data' field is missing or not a JSON object — returns validation error","Malformed JSON body causes a parse error response","Oversized payload may exceed processing limits and return an error","x402 payment not completed — returns 402 Payment Required before processing begins"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, stateless structural summary of a JSON value before making downstream data, policy, integration, or security decisions. It is ideal for preflight analysis steps in agent workflows where you need to understand the shape and cardinality of an unknown or variable payload without executing expensive logic. Prefer it over manual inspection or schema validators when you need a machine-readable summary at low cost and high speed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:05:36.889Z","isFirstParty":false}