{"uid":"cap_v9oNOH_ZmNTsbKIyOynjX","slug":"delx-status-class-d44e518b","name":"Delx Status Class","description":"Classify an HTTP status code into family with retry hint — 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 conver…","url":"https://api.delx.ai/api/v1/x402/status-class","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"status_code":{"type":"integer","description":"Input field: status code."}}},"responseSchema":{"type":"json","example":{"ok":true,"family":5,"schema":"delx/util-status-class/v1","success":false,"class_label":"server_error","status_code":503,"retryable_hint":true}},"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_QANRgdQzEFcPfo1Mu0Y0d","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":"Classifies an HTTP status code into its family (1xx–5xx) and returns a machine-readable retry hint","exampleAgentPrompt":"Can you classify HTTP status code 429 into its family and tell me whether I should retry the request?","exampleUseCases":[{"title":"Agent preflight retry decision","prompt":"I got back a 503 from the upstream API — can you classify that status code and tell me if I should retry the request?"},{"title":"Error handler routing logic","prompt":"Help me figure out whether status code 404 is a client error or server error, and whether retrying makes sense."},{"title":"SLO pipeline response triage","prompt":"I'm processing a batch of HTTP responses and need to classify status code 502 — what family is it in and should my agent retry?"}],"resultDescription":"A deterministic JSON object containing the HTTP status code family (e.g. 2xx, 4xx, 5xx), a human-readable family label (e.g. 'Client Error'), and a boolean or categorical retry hint indicating whether the caller should attempt a retry for that class of response.","failureModes":["Invalid or non-integer status_code input returns a validation error","Status codes outside the standard 100–599 range may return an error or unknown classification","Missing status_code field in the request body returns a 400-level error","Network or service unavailability returns a timeout or 5xx from the utility itself"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, stateless classification of a single HTTP status code with an explicit retry hint — particularly during agent preflight checks, retry-loop decision points, or SRE-style monitoring pipelines where you want machine-readable output without building your own branching logic. Prefer it over ad-hoc conditionals in agent code when you want consistent, auditable classification across all your Delx micro-utility workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:13.031Z","isFirstParty":false}