{"uid":"cap_xSMBLeKwibnaNDFN8sdJD","slug":"delx-env-key-validate-eab3912c","name":"Delx Env Key Validate","description":"Validate environment variable key shape A-Z0-9 underscore — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already conve…","url":"https://api.delx.ai/api/v1/x402/env-key-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Input field: key."}}},"responseSchema":{"type":"json","example":{"key":"X402_PRIVATE_KEY","valid":true,"length":16,"schema":"delx/util-env-key-validate/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_ptNk1t74vdhnjX1CJxXKo","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":"Validates that a string conforms to the environment variable key naming convention (A-Z, 0-9, underscore only)","exampleAgentPrompt":"Before I add this to my .env file, can you check whether MY_API_KEY_123 is a valid environment variable key name — only uppercase letters, digits, and underscores allowed?","exampleUseCases":[{"title":"Preflight env key check in agent pipeline","prompt":"I'm about to inject a config key called my-service-token into the environment — can you validate whether that string is a legal env variable name before I proceed?"},{"title":"Validating user-supplied secret name","prompt":"A user wants to store a secret under the name Secret_Key#1 — check if that's a valid environment variable key format so I can reject it with a clear message if not."},{"title":"CI/CD config key sanity check","prompt":"I have a list of proposed config keys: DATABASE_URL, 3RD_PARTY_KEY, and APP-SECRET — can you validate each one against the A-Z 0-9 underscore rule and tell me which ones fail?"}],"resultDescription":"A deterministic machine-readable JSON response indicating whether the provided key string conforms to the environment variable naming convention (A-Z, 0-9, underscore, typically not starting with a digit). Includes a pass/fail result and likely details on why a key is invalid.","failureModes":["Empty or missing key field returns an error or invalid result","Keys with lowercase letters flagged as non-conforming","Keys containing hyphens, spaces, or special characters return invalid","Keys starting with a digit may be flagged depending on strictness","Network or payment failure returns no result"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, stateless, deterministic check that a string is a valid environment variable key (A-Z, 0-9, underscore) before using it in configuration, CI/CD pipelines, secret stores, or agent environment injection. Prefer it over regex-in-code when you want a canonical, versioned, machine-readable result you can audit. At $0.001 USDC it is negligible cost for preflight safety.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:51:23.416Z","isFirstParty":false,"canonicalSlug":"delx-env-key-validate-eab3912c"}