I'm trying to get a dataset parameters.
I'm using a local Excel Workbook file and upload it to PBI.
Then I try to get dataset params as mentioned here
When I make a request I don't have any params back.
Is it the right API ? I expect to get columns names as result.
The Datasets - Get Parameters In Group is not the right API. This API will return a list of parameters for the specified dataset from the specified workspace.
This won't return the data of the actual dataset, which is what you are looking for. Unfortunately this is not a support scenario with Power BI. Why do you need to retrieve the content of the Excel file programmatically?