---
updatedAt: 2026-07-27T15:38:54.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/discovery/llms.txt
---

# Test Bloomreach Algorithms via API

This use case covers how to test the changes made to Bloomreach recall algorithms via [third-party AB testing tools](https://documentation.bloomreach.com/discovery/docs/discovery-integrations-with-ab-testing-tools).

## **Features used**

***

We suggest that you go through the below guides to better understand this use case:

* [API Controls](https://documentation.bloomreach.com/discovery/docs/api-controls): This guide lists all the parameters that you can send in the front-end API calls to change the algorithm settings.

## **How to implement use case**

***

Follow the steps given below:

### 1. Prepare AB test calls

To prepare the test calls, append the respective algorithm mode parameters to the front-end API call. In this example, we are testing [Text Match precision mode](https://documentation.bloomreach.com/discovery/docs/search-recall-precision-algorithm#text-match-precision-default-mode) against [LLM-based precision mode.](https://documentation.bloomreach.com/discovery/docs/search-recall-precision-algorithm#llm-based-precision)

**Example requests**

*Control variant: Enable Text Match Precision to retrieve the recall*

```http
https://core.dxpapi.com/api/v1/core/?
q=dress
&query.precision=text_match_precision
&facet.precision=standard
&query.relaxation=product_type
&query.spellcorrect=closest_match
&query.numeric_precision=standard
&query.smartsort=top_products
&account_id=6092
&domain_key=homeoasis_bloomreach
&url=www.bloomique.com
&ref_url=www.bloomique.com
&request_type=search
&rows=10
&start=0
&fl=pid%2Ctitle%2Cbrand%2Cprice%2Csale_price
&search_type=keyword
```

<br />

*Test variant: Enable LLM-based Precision to retrieve the recall*

```http
https://core.dxpapi.com/api/v1/core/?
q=dress
&query.precision=llm_based_precision
&facet.precision=standard
&query.relaxation=product_type
&query.spellcorrect=closest_match
&query.numeric_precision=standard
&query.smartsort=top_products
&account_id=6092
&domain_key=homeoasis_bloomreach
&url=www.bloomique.com
&ref_url=www.bloomique.com
&request_type=search
&rows=10
&start=0
&fl=pid%2Ctitle%2Cbrand%2Cprice%2Csale_price
&search_type=keyword

```

### 2. Setup test in your AB test tool

Configure the traffic split and reporting to conduct the AB test in your AB Testing tool.