Get Datasets
Updated: January 23, 2017
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
| Name | Description |
|---|---|
| collectionName | The workspace collection name |
| workspaceId | The workspace id |
Status code
| Code | Description |
|---|---|
| 200 | OK. 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: