---
title: "Get circuit breaker config"
method: GET
path: "/api/v1/circuit-breaker/config"
tags: ["Circuit Breaker"]
---

# Get circuit breaker config

`GET /api/v1/circuit-breaker/config`

## Request

- Base URL: `https://agent.getaxonflow.com`
- URL: `https://agent.getaxonflow.com/api/v1/circuit-breaker/config`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/docs/api/v1/circuit-breaker/config/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns effective circuit breaker configuration. If tenant_id is provided,
returns tenant-specific overrides merged with global defaults. Otherwise
returns global defaults.

## Query parameters

- `tenant_id` string

## Headers

- `Authorization` string, required

## Response `200`

Effective circuit breaker configuration

- object
  - `success` boolean
  - `data` CircuitBreakerConfigResponse
    - `source` 'global' | 'tenant': Whether config is global defaults or tenant-specific
    - `error_threshold` integer: Number of errors in window to trigger auto-trip
    - `violation_threshold` integer: Number of policy violations in window to trigger auto-trip
    - `window_seconds` integer: Sliding window duration for counting events
    - `default_timeout_seconds` integer: How long a circuit stays open before auto-recovery
    - `max_timeout_seconds` integer: Maximum allowed circuit timeout
    - `enable_auto_recovery` boolean: Whether open circuits automatically close after timeout
    - `tenant_id` string: Tenant ID (present when source is tenant)
    - `overrides` object: Tenant-specific override values (present when source is tenant)

## Other responses

- `400`: Invalid request body or parameters

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/revisions/34d30fcb7fa1?raw)
