# SLA Budget Remaining

> SLA Budget Remaining is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes remaining seconds until an SLA deadline and whether the deadline has already been breached, given two unix timestamps.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/sla-budget-remaining
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sla-budget-remaining-2c2e6fef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TkQuwaqhQO-taCMuVWLlW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sla-budget-remaining-2c2e6fef -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "now_ts": {
   "type": "integer",
   "description": "Evaluation unix timestamp"
  },
  "deadline_ts": {
   "type": "integer",
   "description": "SLA deadline unix timestamp"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-sla-budget-remaining/v1",
  "breached": false,
  "remaining_seconds": 3600
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sla-budget-remaining-2c2e6fef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
