{"uid":"cap_TkQuwaqhQO-taCMuVWLlW","slug":"sla-budget-remaining-2c2e6fef","name":"SLA Budget Remaining","description":"Remaining SLA seconds from deadline and now. Call when buyer agents tracking SLA burn-down. Returns remaining_seconds and breached as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/sla-budget-remaining","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"now_ts":{"type":"integer","description":"Evaluation unix timestamp"},"deadline_ts":{"type":"integer","description":"SLA deadline unix timestamp"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-sla-budget-remaining/v1","breached":false,"remaining_seconds":3600}},"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_GFVcvq-9jzij0SatDTz8J","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":"Computes remaining seconds until an SLA deadline and whether the deadline has already been breached, given two unix timestamps.","exampleAgentPrompt":"How many seconds are left on our SLA — the current time is unix 1720000000 and the deadline is unix 1720003600? Has it been breached yet?","exampleUseCases":[{"title":"SLA burn-down monitor for active task","prompt":"We're tracking an SLA that expires at unix timestamp 1720010000 and the current time is 1720005000 — how many seconds do we have left and have we breached it?"},{"title":"Post-incident breach detection","prompt":"An incident closed at unix 1719999999 but the SLA deadline was unix 1719998000 — can you tell me if the SLA was breached and by how many seconds?"},{"title":"Orchestration agent deadline gating","prompt":"Before dispatching the next subtask, check if we're still within our SLA: now is unix 1720100000 and the agreed deadline is unix 1720104000."}],"resultDescription":"Returns a deterministic JSON object with two fields: remaining_seconds (integer, negative if breached) indicating how many seconds remain until the deadline, and breached (boolean) indicating whether the deadline has already passed.","failureModes":["Missing now_ts or deadline_ts fields returns a validation error","Non-integer timestamp values cause a parsing or type error","Payment not completed (x402) results in a 402 Payment Required response before computation","Extremely large or malformed timestamp integers may cause unexpected results"],"whenToPreferThis":"Choose this endpoint when an AI agent or automated workflow needs a lightweight, deterministic, zero-dependency calculation of SLA burn-down — no external API keys, RPC calls, or live feeds required. Ideal for orchestration agents that need a cheap ($0.001 USDC) and fast pass/fail SLA gate before committing to a next action. Prefer over building custom time math when you want a pay-per-use, audit-friendly JSON result with explicit breached flag.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:50.165Z","isFirstParty":false}