> For the complete documentation index, see [llms.txt](https://docs.telm.ai/telmai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.telm.ai/telmai/remediation/circuit-breaker.md).

# Circuit Breaker

Using Telmai’s APIs, users can query information about their data health. That is querying any of the health KPIs or checking for ongoing policy violations.

One use case of this is circuit breaker.

Circuit breaker is a case where you want to switch off the ETL operation because bad data has been introduced into your system. This could be because processing costs are very high or because of other factors.

Here’re the steps you can follow to create the circuit breaker:

1. Trigger Telmai data scan ([API reference](/telmai/api-reference/upload-data-api.md))
2. Check for Telmai job completion
   1. Polling mechanism ([API reference](/telmai/api-reference/upload-data-api/track-job-status.md))
   2. Using webhooks for job notification
3. Check for alerts ([API reference](/telmai/api-reference/upload-data-api/check-for-alerts.md))
4. Decide best action

These APIs can be integrated in ETL orchestration tools like Airflow or other.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.telm.ai/telmai/remediation/circuit-breaker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
