Error
A valid request URL is required to generate request examples{
"circuits": {}
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"model_requested": "<string>",
"request_type": "<string>"
}
}Circuit Breaker
Get circuit breaker state
Returns a snapshot of all currently-open circuits.
Main circuits are keyed by policy name. Per-key sub-circuits are keyed by "<policy_name>\x00<key_id>".
Circuits not present in the map are closed.
GET
/
api
/
circuit-breaker
/
state
Error
A valid request URL is required to generate request examples{
"circuits": {}
}{
"event_id": "<string>",
"type": "<string>",
"is_bifrost_error": true,
"status_code": 123,
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"event_id": "<string>"
},
"extra_fields": {
"model_requested": "<string>",
"request_type": "<string>"
}
}Authorizations
Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>.
Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.
Response
Successful response
Map of circuit keys to their current state.
Main circuit key: the policy name.
Sub-circuit key: "<policy_name>\x00<key_id>".
Show child attributes
Show child attributes
Was this page helpful?
⌘I

