# POST /2/abtests/{}/stop is deprecated

Algolia Analytics API deprecated POST /2/abtests/{id}/stop without giving a shutdown date yet.

Algolia has deprecated POST /2/abtests/{id}/stop without a shutdown date. Calls made to this endpoint will eventually fail. Algolia Analytics API notes that users should move to the newer version of the API.

## What to use instead

Use the A/B Testing API v3 by sending requests to POST /3/abtests/{}/stop instead.

- API: Algolia Analytics API (analytics.algolia.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /2/abtests/{id}/stop`
- 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/post-2-abtests-stop-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
