---
title: "Update per-tenant circuit breaker config"
method: PUT
path: "/api/v1/circuit-breaker/config"
tags: ["Circuit Breaker"]
---

# Update per-tenant circuit breaker config

`PUT /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/put.ts> (a function with typed inputs; its response is checked against the schema)

Creates or updates per-tenant circuit breaker threshold overrides.
Null fields fall back to global defaults.

## Headers

- `Authorization` string, required

## Request body

- CircuitBreakerConfigUpdate
  - `tenant_id` string, required
  - `error_threshold` integer, nullable
  - `violation_threshold` integer, nullable
  - `window_seconds` integer, nullable
  - `default_timeout_seconds` integer, nullable
  - `max_timeout_seconds` integer, nullable
  - `enable_auto_recovery` boolean, nullable

## Response `200`

Config updated

## 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)
