Okapi Okapi

Databricks REST API GET /api/2.0/preview/sql/data_sources endpoint removal

Deprecated, no dateSubscribe to Databricks REST APIShare

Databricks deprecated GET /api/2.0/preview/sql/data_sources without a shutdown date. Calls to this endpoint will eventually fail. The Data Sources API is now marked as deprecated.


Calls it hits

  • GET /api/2.0/preview/sql/data_sources

What to use instead of these calls

List SQL warehouses with GET /api/2.0/sql/warehouses and pass warehouse_id to the Queries API instead of a data source ID.

In Databricks REST API's words

The Data Sources API is now marked as deprecated.

Databricks REST API, Announcement

Facts

API
Databricks REST API *.cloud.databricks.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Databricks REST API's own pages

Questions

When does this change take effect?

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

Do these calls still work?

Yes, they still work: Databricks REST API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Databricks REST API 10

  1. No date Anthropic Claude Sonnet 4Model retirement Deprecated, no date
  2. No date DeepSeek V4 Flash (0731)Model retirement Deprecated, no date
  3. No date DeepSeek V4 Pro (0813)Model retirement Deprecated, no date
  4. No date DeepSeek V4.1 FlashModel retirement Deprecated, no date
  5. No date Google Gemini 2.5 Flash and ProModel retirement Deprecated, no date
  6. No date Google Gemini 2.5 FlashModel retirement Deprecated, no date
  7. No date Google Gemini 2.5 ProModel retirement Deprecated, no date
  8. No date Google Gemini 3 ProModel retirement Deprecated, no date
  9. No date Llama 2 70B ChatModel retirement Deprecated, no date
  10. No date Meta Llama 2, 3 and Code LlamaModel retirement Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Databricks REST API

Hear about each breaking change Databricks REST API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Databricks REST API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.