{"uid":"cap_n72VuzVVMGn6G_TTm4DX8","slug":"delx-const-case-70dfccdd","name":"Delx Const Case","description":"Convert free text or identifiers to CONST_CASE. Call when you normalize env var names or enum labels for agent config. Returns UPPER_SNAKE text 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/const-case","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":null,"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_G5L7OsMkou3gaDG5lKkiF","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":"Converts free text or identifiers into CONST_CASE (UPPER_SNAKE_CASE) format for use in environment variable names, enum labels, and agent configuration.","exampleAgentPrompt":"Convert 'maximum retry count' to CONST_CASE so I can use it as an environment variable name in my agent config.","exampleUseCases":[{"title":"Normalize env var names for agent config","prompt":"Take the label 'maximum connection timeout' and convert it to CONST_CASE so I can drop it directly into my .env file as a variable name."},{"title":"Generate enum constants from descriptions","prompt":"I have a list of status labels like 'in progress', 'not started', and 'completed' — convert each one to CONST_CASE so I can use them as enum values in my code."},{"title":"Standardize config keys from free text","prompt":"My agent is generating config keys from user-supplied descriptions. Convert the phrase 'api base url override' to CONST_CASE for use as a config key."}],"resultDescription":"Returns the input text converted to UPPER_SNAKE_CASE (CONST_CASE), with all words uppercased and separated by underscores, suitable for use as environment variable names, enum labels, or configuration keys.","failureModes":["Empty or missing 'text' field returns an error or empty result","Extremely long strings may be truncated or rejected","Non-ASCII or special characters may be stripped or handled inconsistently","Payment failure via x402 protocol returns 402 status before processing"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, local conversion of free text or identifiers to CONST_CASE without any external network calls or data retention. Ideal for agent pipelines that need to normalize env var names, enum labels, or config keys on the fly at very low cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:15.393Z","isFirstParty":false}