# The legacy Queries API is deprecated

Databricks REST API deprecated /api/2.0/preview/sql/queries* without giving a shutdown date yet.

- API: Databricks REST API (*.cloud.databricks.com)
- Kind: Version retirement
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/2.0/preview/sql/queries*`
- Source: [Announcement](https://docs.databricks.com/aws/en/sql/dbsql-api-latest)
- Page: https://www.okapi.bot/providers/databricks-rest-api/breaking-changes/the-legacy-queries-api-is-deprecated/

## What to use instead

Call the Queries API at /api/2.0/sql/queries (paginated list, PATCH for partial updates, new field names) instead of /api/2.0/preview/sql/queries.

## Databricks REST API's words

> The legacy API is deprecated and support will end soon. Use this page to migrate your applications and integrations to the new API version.
