# Integration Methods

Welcome to the integration guide for the Incident Detection API. This API offers two distinct consumption methods designed to suit various operational needs and preferences, allowing you to seamlessly incorporate incident information into your systems.

## Overview of Integration Methods

The Incident Detection API provides flexible integration options through its two primary consumption modes:

### **Pull Method**

The [**Pull Method**](/command-intelligence-services/incident-detection-api/integration-methods/rest-api-pull.md) allows users to access incident information on-demand by sending API requests to a dedicated Incidents API endpoint. This method is ideal for systems that require data retrieval in alignment with their specific data consumption lifecycle. By utilizing this approach, you can retrieve up-to-date incident details whenever necessary, ensuring that your system remains synchronized with the latest information.

### **Push Method**

The [**Push Method**](/command-intelligence-services/incident-detection-api/integration-methods/callback-service-push.md) offers a proactive data delivery approach. In this mode, the Incident Detection Service actively initiates API calls to your system, delivering incident information as soon as it is created within our system. This method is perfect for applications that need immediate updates and want to minimize the need for frequent data polling.

## Benefits of Each Integration Method

* **Pull Method:**
  * **Customizable Data Retrieval:** Retrieve incident information based on your system’s specific needs and timing.
  * **Efficient Data Handling:** Manage and process data retrieval according to your operational schedule.
* **Push Method:**
  * **Real-Time Updates:** Receive incident information as soon as it becomes available, enhancing your system’s responsiveness.
  * **Reduced Latency:** Minimize delays by eliminating the need for frequent data requests.


---

# Agent Instructions: 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.rekor.ai/command-intelligence-services/incident-detection-api/integration-methods.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.
