Delx Circuit Breaker State is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).
Derives closed, open, or half-open circuit breaker state from failure counters and cooldown timing inputs
Derive closed, open, or half-open circuit state from failure and cooldown inputs — call when deciding closed/open/half-open from failure counters. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of…
Returns a deterministic JSON object indicating the current circuit breaker state — one of 'closed', 'open', or 'half-open' — based on whether consecutive failures have met the open threshold and whether the cooldown period has elapsed since the breaker opened.
POSThttps://api.delx.ai/api/v1/x402/circuit-breaker-stateChoose this endpoint when you need a stateless, deterministic circuit breaker state evaluation with no server-side state management — ideal for agent workflows that track failure counters locally and need a reliable, cheap ($0.003 USDC) computation step before deciding whether to invoke a downstream dependency. Prefer this over building circuit breaker logic inline when you want a consistent, auditable machine-readable JSON result without managing state on a remote server.
| Field | Type | Description |
|---|---|---|
| open_after | number | Failures required before the breaker opens. |
| cooldown_ms | number | Milliseconds the breaker stays open before half-open. |
| open_for_ms | number | How long the breaker has already been open. |
| consecutive_failures | number | Current consecutive failure count for the dependency. |
{
"type": "json",
"example": {
"state": "open",
"schema": "delx/util-circuit-breaker-state/v1",
"open_after": 5,
"cooldown_ms": 1000,
"open_for_ms": 200,
"allow_request": false,
"consecutive_failures": 5
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"