# GET /2/abtests is deprecated

Algolia Analytics API deprecated GET /2/abtests without giving a shutdown date yet.

Algolia has deprecated the GET /2/abtests endpoint without a shutdown date. Calls made to this route fail under this removal. Algolia Analytics API indicates that this endpoint is deprecated and directs users to the newer API version.

## What to use instead

Use the A/B Testing API v3 instead by updating your requests to GET /3/abtests.

- API: Algolia Analytics API (analytics.algolia.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /2/abtests`
- Source: [Announcement](https://raw.githubusercontent.com/algolia/api-clients-automation/main/specs/bundled/abtesting.yml)
- Verified: November 6, 2026, against Algolia Analytics API's own pages
- Page: https://www.okapi.bot/providers/algolia-analytics-api/breaking-changes/get-2-abtests-is-deprecated/

## Algolia Analytics API's words

> This endpoint is deprecated. Use the A/B Testing API v3 instead.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
