OmniApps Distributed Circuit Breaker API

The Distributed Circuit Breaker API from OmniApps — 5 operation(s) for distributed circuit breaker.

GitHub OpenAPI

Operations 5

POST /v1/circuit/check Check Circuit Endpoint #
POST /v1/circuit/record Record Circuit Endpoint #
GET /v1/circuit/status Get Circuit Overview Endpoint #
GET /v1/circuit/status/{service_key} Get Circuit Status Endpoint #
POST /v1/circuit/reset Reset Circuit Endpoint #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/omniapps-ca:omniapps-ca-distributed-circuit-breaker-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

omniapps-ca-distributed-circuit-breaker-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sairen Agentic Node Distributed Circuit Breaker API
  description: Zero-UI Machine-Native Autonomous Agent Services (Precision Time, High-Density Web Extractor)
  version: 1.6.0
tags:
- name: Distributed Circuit Breaker
paths:
  /v1/circuit/check:
    post:
      tags:
      - Distributed Circuit Breaker
      summary: Check Circuit Endpoint
      description: 'Sub-millisecond upstream health & fail-fast check ($0.0002 USDC).

        Checks if a target upstream service is healthy (CLOSED) or tripped (OPEN).'
      operationId: check_circuit_endpoint_v1_circuit_check_post
      parameters:
      - name: X-Payment-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CircuitCheckRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/circuit/record:
    post:
      tags:
      - Distributed Circuit Breaker
      summary: Record Circuit Endpoint
      description: 'Records an upstream execution result ($0.0002 USDC).

        Automatically trips circuit to OPEN when failure threshold is breached, warning the entire swarm.'
      operationId: record_circuit_endpoint_v1_circuit_record_post
      parameters:
      - name: X-Payment-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CircuitRecordRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/circuit/status:
    get:
      tags:
      - Distributed Circuit Breaker
      summary: Get Circuit Overview Endpoint
      description: '[Free / Zero Auth] Overview of active circuit breaker state machines.'
      operationId: get_circuit_overview_endpoint_v1_circuit_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/circuit/status/{service_key}:
    get:
      tags:
      - Distributed Circuit Breaker
      summary: Get Circuit Status Endpoint
      description: Inspect current circuit state and metrics ($0.0002 USDC).
      operationId: get_circuit_status_endpoint_v1_circuit_status__service_key__get
      parameters:
      - name: service_key
        in: path
        required: true
        schema:
          type: string
          title: Service Key
      - name: X-Payment-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment-Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/circuit/reset:
    post:
      tags:
      - Distributed Circuit Breaker
      summary: Reset Circuit Endpoint
      description: Manually forces a circuit reset back to CLOSED state ($0.0002 USDC).
      operationId: reset_circuit_endpoint_v1_circuit_reset_post
      parameters:
      - name: X-Payment-Signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment-Signature
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CircuitResetRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CircuitCheckRequest:
      properties:
        service_key:
          type: string
          maxLength: 150
          minLength: 1
          title: Service Key
          description: Target service identifier (e.g. 'api.coingecko.com', 'base_rpc').
      type: object
      required:
      - service_key
      title: CircuitCheckRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CircuitRecordRequest:
      properties:
        service_key:
          type: string
          maxLength: 150
          minLength: 1
          title: Service Key
          description: Target service identifier.
        success:
          type: boolean
          title: Success
          description: Whether upstream call succeeded.
        status_code:
          anyOf:
          - type: integer
          - type: 'null'
          title: Status Code
          description: HTTP or RPC status code received.
          default: 200
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
          description: Optional error description or reason.
          default: ''
        failure_threshold:
          anyOf:
          - type: integer
            maximum: 50.0
            minimum: 1.0
          - type: 'null'
          title: Failure Threshold
          description: 'Consecutive errors to trip circuit (default: 3).'
        cooldown_seconds:
          anyOf:
          - type: number
            maximum: 3600.0
            minimum: 1.0
          - type: 'null'
          title: Cooldown Seconds
          description: 'Cooldown time in seconds (default: 30.0).'
      type: object
      required:
      - service_key
      - success
      title: CircuitRecordRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CircuitResetRequest:
      properties:
        service_key:
          type: string
          maxLength: 150
          minLength: 1
          title: Service Key
          description: Target service identifier to reset.
      type: object
      required:
      - service_key
      title: CircuitResetRequest