{"uid":"cap_3t7Lb99e0HOjpBSTbfIXL","slug":"delx-semver-parts-80cd74dd","name":"Delx SemVer Parts","description":"Parse major.minor.patch from a semver string. Call when you compare agent dependency versions without a full parser. Returns valid, major, minor, patch 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/semver-parts","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"version":{"type":"string","description":"Input field: version."}}},"responseSchema":{"type":"json","example":{"major":1,"minor":2,"patch":3,"valid":true,"schema":"delx/util-semver-parts/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_RPlf7BiJMtB_lSdXhTds9","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":"Parses a semantic version string into its constituent major, minor, and patch components, returning validity and numeric parts.","exampleAgentPrompt":"Can you parse the semver string '2.14.7' and tell me what the major, minor, and patch numbers are?","exampleUseCases":[{"title":"Dependency version comparison in CI","prompt":"I need to compare two dependency versions — can you parse '3.2.1' and '3.10.0' into their major, minor, and patch parts so I can figure out which is newer without a full parser?"},{"title":"Validate release tag before deployment","prompt":"Before we tag this release, can you check whether '1.0.0-beta' is a valid semver and give me its components?"},{"title":"Extract major version for compatibility check","prompt":"Our agent needs to know if a plugin is on major version 4 — can you parse '4.3.11' and confirm the major number?"}],"resultDescription":"Returns a JSON object with a 'valid' boolean indicating whether the input is a well-formed semver string, plus integer fields 'major', 'minor', and 'patch' containing the parsed version components.","failureModes":["Non-semver input (e.g. '1.0' or 'v2') may return valid:false with null or zero component values","Omitting the 'version' field returns a validation error","Pre-release or build metadata suffixes (e.g. '1.0.0-alpha+001') may not parse correctly depending on strict semver compliance","Network or payment failure returns a 402 or 5xx error with no parsed output"],"whenToPreferThis":"Choose this endpoint when an agent needs to quickly decompose a version string into numeric parts for comparison or routing logic without bundling a full semver library. Ideal for lightweight agentic pipelines where installing or calling a language-specific semver parser is impractical. Prefer this over regex-based ad-hoc parsing when correctness and a structured validity flag matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:49.029Z","isFirstParty":false}