Forum Discussion

mshevelson's avatar
mshevelson
Data Storage
01-19-2024
Solved

Extracting Data from Widgets

Hello!  I am trying to extract data from widgets inside a dashboard using the REST API in Python.  I currently have the JAQL from the widget and want to run that against the elasticube.  I am refere...
  • moti-sisense's avatar
    01-21-2024

    Hi mshevelson, you can safely use the JAQL API. There's a small mistake in that community post, the API endpoint you're looking for is:

     

    /api/datasources/{datasource}/jaql

     

    You can see the correct URL referenced in the code sample included in the community post.

    Here's an example of what that URL would look like with the "Sample Healthcare" sample data model:

     

    https://example.com/api/datasources/Sample%20Healthcare/jaql

     

    You can find the API reference for this endpoint here.