Get Datasets

 

Updated: January 23, 2017



Request | Response

The Get datasets operation returns a JSON object which represents a list of Dataset objects.

Note To call this operation, an app token or key is required. To learn more, see Authenticating and authorizing with Power BI Embedded.

GET https://api.powerbi.com/v1.0/collections/{collectionName}/workspaces/{workspaceId}/datasets

Uri parameter

NameDescription
collectionNameThe workspace collection name
workspaceIdThe workspace id

Status code

CodeDescription
200OK. Indicates success. The dataset is returned in the response body.

Content-Type

application/json

Body schema

{  
  "@odata.context":"https://api.powerbi.com/v1.0/collections/{WorkspaceName}/workspaces/{WorkspaceId}/$metadata#datasets","value":[  
    {  
      "id":"{dataset_guid}",  
      "name":"{dataset_name}"  
    }  
  ]  
}  

Show: