DataSet query and connection information

I'm trying to retrieve information about a dataset, such as the underlying connection and query. The specific dataset I want info on is a SQL Server Connection based dataset. How would I go about getting the query and connection used by a dataset? I looked at the DataSet API (https://api.domo.com/v1/datasets/{dataset_id}). And pulled it for a specific dataset, but it doesn't return this information. (Note: the dataset I'm looking at is NOT at Workbench based dataset.)

Best Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Domo doesn't expose that information in the api.domo.com dataset endpoints.

    You could attempt to get the api call the dataset page is using and use that to get the data you need but it's a more technical route and it's supported by Domo.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • ellibot
    ellibot Contributor
    Answer ✓

    +1 to what @GrantSmith said, Domo doesn't expose this in the public Dataset API.

    It is possible to get the underlying query using one of the undocumented APIs. Documentation on those can be found here: https://documenter.getpostman.com/view/5049119/UyxbppB2 .

    I'm guessing it would be a GET to https://{{domo_instance}}.domo.com/api/data/v3/datasources/:id

Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Domo doesn't expose that information in the api.domo.com dataset endpoints.

    You could attempt to get the api call the dataset page is using and use that to get the data you need but it's a more technical route and it's supported by Domo.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • ellibot
    ellibot Contributor
    Answer ✓

    +1 to what @GrantSmith said, Domo doesn't expose this in the public Dataset API.

    It is possible to get the underlying query using one of the undocumented APIs. Documentation on those can be found here: https://documenter.getpostman.com/view/5049119/UyxbppB2 .

    I'm guessing it would be a GET to https://{{domo_instance}}.domo.com/api/data/v3/datasources/:id