More query params for ListDatasets
Endpoint: https://api.domo.com/v1/datasets (GET)
As a data engineer, I am trying to programmatically list multiple datasets using specific parameters. When I use the UI, I have multiple filters such as Last Run, Type, Owned by, etc. However, the datasets API only supports 'namelike.'
It would be awesome if we can use the same filters that we have in the UI via API.
Comments
-
There is an undocumented API endpoint you can hit to search/query datasets based on various criteria. I dont have a working example, but if you click on Data in the UI, right click to open the Inspector, go to network and spy on traffic, you will see that Domo hits the following API whenever you add a filter to search for specific criteria:
xxx.domo.com/api/search/v1/query
You can also take note of the payload Domo sends when hitting this API. You can use it to better understand what data you need to send to this endpoint to get the results your looking for. In my environment it looks like this:
I hope this helps!
0 -
@sebastian_galindo take a look at this product API:
0 -
@ellibot Thanks for your suggestion but it seems that I cannot generate a token for full authentication. I am using my client id and secret, is there something else I need to do to access this API?
0 -
@sebastian_galindo since this is a product API (not a public API), you will need to authenticate with either a session token or developer token. Here’s a tutorial video on how to do that:
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 623 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 748 Beast Mode
- 60 App Studio
- 41 Variables
- 690 Automate
- 177 Apps
- 455 APIs & Domo Developer
- 48 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 397 Distribute
- 114 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 127 Manage
- 124 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 109 Community Announcements
- 4.8K Archive