# The Ask Data lens API stops working

Calls to /api/-/askdata/lenses* on Tableau REST API stopped working on February 1, 2024.

## What to use instead

Ask Data has no API replacement; the feature is gone.

- API: Tableau REST API (*.online.tableau.com)
- Kind: Removal
- Takes effect: February 1, 2024
- Calls after that day: fail
- Calls it hits: `/api/-/askdata/lenses*`
- Source: [Announcement](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_ask_data_lens.htm)
- Verified: November 6, 2026, against Tableau REST API's own pages
- Page: https://www.okapi.bot/providers/tableau-rest-api/breaking-changes/the-ask-data-lens-api-stops-working/

## Tableau REST API's words

> Tableau's Ask Data and Metrics features were retired in Tableau Cloud in February 2024 and in Tableau Server version 2024.2.

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