---
title: "Check whether a request would be allowed"
method: POST
path: "/api/v1/circuit-breaker/check"
tags: ["Circuit Breaker"]
---

# Check whether a request would be allowed

`POST /api/v1/circuit-breaker/check`

## Request

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

Evaluates the caller's scope hierarchy (global → tenant → client →
policy) and reports whether an open circuit would block the request.
Read-only; does not mutate circuit state. **Enterprise only.**

## Headers

- `Authorization` string, required

## Request body

- object
  - `tenant_id` string
  - `client_id` string
  - `policy_id` string

## Response `200`

Check result (allowed, or blocked with the tripping circuit's details)

- object
  - `success` boolean
  - `data` object
    - `allowed` boolean
    - `circuit_id` string: Present only when blocked
    - `scope` string
    - `scope_id` string
    - `reason` string
    - `tripped_by` string
    - `tripped_at` string, date-time
    - `expires_at` string, date-time
    - `comment` string

## Other responses

- `400`: Missing X-Org-ID header or invalid JSON

---

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