{"uid":"cap_SPJqOcsdtMxLSuTAavw1_","slug":"delx-values-types-258d7ff8","name":"Delx Values Types","description":"Map object keys to JSON type names. Call when you audit agent payload shapes before schema checks. Returns types map 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/values-types","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"object":{"type":"object","description":"Input field: object."}}},"responseSchema":{"type":"json","example":{"types":{"a":"integer","b":"string","c":"boolean"},"schema":"delx/util-values-types/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_417uDkUf85f9atkNacVZ2","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":"Maps each key in a JSON object to its corresponding JSON type name (e.g. string, number, boolean, array, object, null)","exampleAgentPrompt":"Before I run schema validation, can you check what JSON types each key in this object has: {\"userId\": 42, \"name\": \"Alice\", \"active\": true, \"tags\": [\"admin\"], \"meta\": null}?","exampleUseCases":[{"title":"Pre-validation payload type audit","prompt":"Before I validate this API response against the schema, tell me what JSON type each field is: {\"id\": 1, \"email\": \"user@example.com\", \"score\": 98.5, \"verified\": false, \"roles\": [\"editor\"]}"},{"title":"Debug unexpected field types in agent output","prompt":"My agent just produced this object and I'm not sure if the types are right — can you map every key to its JSON type? {\"count\": \"5\", \"enabled\": 1, \"label\": null, \"items\": {\"a\": 1}}"},{"title":"Audit incoming webhook payload shape","prompt":"I'm receiving webhooks and need to know the type of each field before I route the data. Here's a sample payload: {\"event\": \"purchase\", \"amount\": 29.99, \"timestamp\": \"2024-06-01T10:00:00Z\", \"metadata\": {\"ref\": \"abc\"}, \"retried\": false}"}],"resultDescription":"A map (object) where each key from the input object is paired with a string representing its JSON type (e.g. 'string', 'number', 'boolean', 'object', 'array', 'null'). No external calls are made; processing is local and results are advisory.","failureModes":["Input is not a valid JSON object — returns an error or empty result","Input object is deeply nested but only top-level keys are typed","Null vs absent keys may differ in behavior depending on how the payload is serialized","Unexpected type classifications for edge cases like NaN or Infinity in numeric fields"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, local type introspection on a flat or shallow JSON object before schema validation or payload routing. Ideal for agent pipelines that need to audit payload shapes without any network side effects, external dependencies, or data retention. At $0.001 USDC per call it is purpose-built for lightweight pre-flight checks within agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:53.083Z","isFirstParty":false}