Where do I find data_source_id

I am trying to use libraries to run ReDash queries, a lot of libraries are using data_source_id but I am not sure where to get that value.
Also, does anyone know a good JS library that works with ReDash API’s? all the ones I have used are python.

Data source ID’s are visible on the /api/data_sources endpoint.

From within the web app you can see the id in your URL bar when you view the data source settings screen.

We don’t maintain a redash api wrapper for JS. Maybe we should?

Looks like this one is being maintained. Use with caution: