Provenance
Freshness & coverage
Methods (44)
listWorkspaces
readList accessible workspaces. Returns id, name, isOnDedicatedCapacity (Premium), capacityId.
Input schema
{ "type": "object", "properties": { "top": { "type": "number" } }, "additionalProperties": false }listDashboards
readList dashboards. Pass workspaceId to scope to a workspace, or omit for "My Workspace".
Input schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" }, "top": { "type": "number" } }, "additionalProperties": false }getDashboardTiles
readGet tiles pinned to a dashboard. Discovers source datasets/reports before DAX queries.
Required paramsdashboardIdInput schema
{ "type": "object", "properties": { "dashboardId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "dashboardId" ] }listReports
readList reports. Pass workspaceId for a specific workspace, omit for "My Workspace".
Input schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" }, "top": { "type": "number" } }, "additionalProperties": false }getReportPages
readList the pages of a report. Useful for embed-token generation and navigation.
Required paramsreportIdInput schema
{ "type": "object", "properties": { "reportId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "reportId" ] }listDatasets
readList datasets. workspaceId scopes to workspace; omit for "My Workspace". Shows isRefreshable.
Input schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" }, "top": { "type": "number" } }, "additionalProperties": false }getDataset
readGet details on a single dataset by id.
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }refreshDataset
writeTrigger async dataset refresh. Returns immediately; check via getDatasetRefreshHistory.
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" }, "notifyOption": { "oneOf": [ { "type": "string", "enum": [ "NoNotification" ] }, { "type": "string", "enum": [ "MailOnFailure" ] }, { "type": "string", "enum": [ "MailOnCompletion" ] } ] } }, "additionalProperties": false, "required": [ "datasetId" ] }getDatasetRefreshHistory
readGet the recent refresh history for a dataset, including status and timing.
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" }, "top": { "type": "number" } }, "additionalProperties": false, "required": [ "datasetId" ] }executeDaxQuery
readRun DAX queries against a dataset. Cap 100k rows/1M values — use TOPN/FILTER/SUMMARIZECOLUMNS.
Required paramsdatasetIdqueriesEntitiesdatasetInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" }, "queries": { "type": "array", "items": { "type": "object", "properties": { "query": { "type": "string" } }, "required": [ "query" ], "additionalProperties": false } }, "impersonatedUserName": { "type": "string" }, "includeNulls": { "type": "boolean" } }, "additionalProperties": false, "required": [ "datasetId", "queries" ] }runDax
readRun a single DAX query, return rows of first result. Same caps as executeDaxQuery.
Required paramsdatasetIdqueryEntitiesdatasetInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" }, "query": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "query" ] }getPowerBICapabilities
readWhether user has Premium capacity access (cached 15 min). Build methods use internally.
Input schema
{ "type": "object", "properties": { "forceRefresh": { "type": "boolean" } }, "additionalProperties": false }createPushDataset
writeCreate push dataset with schema. No measures/relationships — use uploadPbixOrTemplate.
Required paramsspecInput schema
{ "type": "object", "properties": { "spec": { "type": "object", "properties": { "name": { "type": "string" }, "tables": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "columns": { "type": "array", "items": {} } }, "required": [ "name", "columns" ], "additionalProperties": false } }, "defaultMode": { "oneOf": [ { "type": "string", "enum": [ "Push" ] }, { "type": "string", "enum": [ "PushStreaming" ] }, { "type": "string", "enum": [ "Streaming" ] } ] } }, "required": [ "name", "tables" ], "additionalProperties": false }, "workspaceId": { "type": "string" }, "defaultRetentionPolicy": { "oneOf": [ { "type": "string", "enum": [ "None" ] }, { "type": "string", "enum": [ "basicFIFO" ] } ] } }, "additionalProperties": false, "required": [ "spec" ] }columns[].dataType: string|Int64|Double|Boolean|DateTime|Decimal.
pushRowsToTable
unknownPush rows into a table. Cap: 10k rows/request, 1M rows/hour per dataset. Batch larger loads.
Required paramsdatasetIdtableNamerowsEntitiestableInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "tableName": { "type": "string" }, "rows": { "type": "array", "items": { "type": "object", "properties": {}, "additionalProperties": true } }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "tableName", "rows" ] }clearRowsInTable
unknownTruncate all rows from a push-dataset table. Useful before a full refresh push.
Required paramsdatasetIdtableNameInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "tableName": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "tableName" ] }updateTableSchema
writeUpdate a push-dataset table schema (add/rename columns). Existing rows are preserved if compatible.
Required paramsdatasetIdtableNamecolumnsInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "tableName": { "type": "string" }, "columns": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "dataType": { "oneOf": [ { "type": "string", "enum": [ "string" ] }, { "type": "string", "enum": [ "Int64" ] }, { "type": "string", "enum": [ "Double" ] }, { "type": "string", "enum": [ "Boolean" ] }, { "type": "string", "enum": [ "DateTime" ] }, { "type": "string", "enum": [ "Decimal" ] } ] } }, "required": [ "name", "dataType" ], "additionalProperties": false } }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "tableName", "columns" ] }createDashboard
writeCreate empty dashboard (returns id, embedUrl). Pin tiles via cloneTile or report visuals.
Required paramsnameInput schema
{ "type": "object", "properties": { "name": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "name" ] }cloneTile
unknownClone tile across dashboards. Optional rebind to different report/dataset.
Required paramssourceDashboardIdsourceTileIdtargetDashboardIdEntitiestileInput schema
{ "type": "object", "properties": { "sourceDashboardId": { "type": "string" }, "sourceTileId": { "type": "string" }, "targetDashboardId": { "type": "string" }, "sourceWorkspaceId": { "type": "string" }, "targetWorkspaceId": { "type": "string" }, "targetReportId": { "type": "string" }, "targetModelId": { "type": "string" } }, "additionalProperties": false, "required": [ "sourceDashboardId", "sourceTileId", "targetDashboardId" ] }uploadPbixOrTemplate
writeUpload PBIX/PBIT as dataset+report. Highest-fidelity build path.
Required paramsdisplayNamefileContentInput schema
{ "type": "object", "properties": { "displayName": { "type": "string" }, "fileContent": { "type": "string" }, "fileType": { "oneOf": [ { "type": "string", "enum": [ "pbix" ] }, { "type": "string", "enum": [ "pbit" ] } ] }, "workspaceId": { "type": "string" }, "nameConflict": { "oneOf": [ { "type": "string", "enum": [ "Abort" ] }, { "type": "string", "enum": [ "Overwrite" ] }, { "type": "string", "enum": [ "CreateOrOverwrite" ] }, { "type": "string", "enum": [ "GenerateUniqueName" ] } ] }, "overrideReportLabel": { "type": "boolean" } }, "additionalProperties": false, "required": [ "displayName", "fileContent" ] }fileContent=base64. fileType "pbix"|"pbit". nameConflict: Abort|Overwrite.
getImportStatus
writeCheck upload status from uploadPbixOrTemplate. importState="Succeeded" when ready.
Required paramsimportIdInput schema
{ "type": "object", "properties": { "importId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "importId" ] }setDatasetParameters
writeUpdate dataset parameter values. Call refreshDataset after to apply.
Required paramsdatasetIdparametersInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "parameters": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "newValue": { "type": "string" } }, "required": [ "name", "newValue" ], "additionalProperties": false } }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "parameters" ] }getDatasetParameters
readGet current parameter values on a dataset. Use before setDatasetParameters.
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }generateReportEmbedToken
unknownEmbed token for a report. Combine with embedUrl. accessLevel View|Edit|Create.
Required paramsreportIdEntitiestokenInput schema
{ "type": "object", "properties": { "accessLevel": { "oneOf": [ { "type": "string", "enum": [ "View" ] }, { "type": "string", "enum": [ "Edit" ] }, { "type": "string", "enum": [ "Create" ] } ] }, "identities": { "type": "array", "items": { "type": "object", "properties": { "username": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "datasets": { "type": "array", "items": { "type": "string" } } }, "required": [ "username", "roles", "datasets" ], "additionalProperties": false } }, "lifetimeInMinutes": { "type": "number" }, "reportId": { "type": "string" }, "workspaceId": { "type": "string" }, "datasetId": { "type": "string" } }, "additionalProperties": false, "required": [ "reportId" ] }RLS via identities[]. TTL 60 min max.
generateDashboardEmbedToken
unknownEmbed token for a dashboard. Same options as generateReportEmbedToken.
Required paramsdashboardIdEntitiestokenInput schema
{ "type": "object", "properties": { "accessLevel": { "oneOf": [ { "type": "string", "enum": [ "View" ] }, { "type": "string", "enum": [ "Edit" ] }, { "type": "string", "enum": [ "Create" ] } ] }, "identities": { "type": "array", "items": { "type": "object", "properties": { "username": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "datasets": { "type": "array", "items": { "type": "string" } } }, "required": [ "username", "roles", "datasets" ], "additionalProperties": false } }, "lifetimeInMinutes": { "type": "number" }, "dashboardId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "dashboardId" ] }generateTileEmbedToken
unknownEmbed token for a single dashboard tile (single chart vs whole dashboard).
Required paramsdashboardIdtileIdEntitiestokenInput schema
{ "type": "object", "properties": { "accessLevel": { "oneOf": [ { "type": "string", "enum": [ "View" ] }, { "type": "string", "enum": [ "Edit" ] }, { "type": "string", "enum": [ "Create" ] } ] }, "identities": { "type": "array", "items": { "type": "object", "properties": { "username": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "datasets": { "type": "array", "items": { "type": "string" } } }, "required": [ "username", "roles", "datasets" ], "additionalProperties": false } }, "lifetimeInMinutes": { "type": "number" }, "dashboardId": { "type": "string" }, "tileId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "dashboardId", "tileId" ] }getRefreshSchedule
readGet the scheduled refresh configuration for a dataset (days, times, timezone, enabled flag).
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }updateRefreshSchedule
writeUpdate refresh schedule. enabled=false disables; days+times+localTimeZoneId enables.
Required paramsdatasetIdscheduleInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "schedule": { "type": "object", "properties": { "days": { "type": "array", "items": { "type": "string" } }, "times": { "type": "array", "items": { "type": "string" } }, "enabled": { "type": "boolean" }, "localTimeZoneId": { "type": "string" }, "notifyOption": { "oneOf": [ { "type": "string", "enum": [ "NoNotification" ] }, { "type": "string", "enum": [ "MailOnFailure" ] }, { "type": "string", "enum": [ "MailOnCompletion" ] } ] } }, "additionalProperties": false }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "schedule" ] }TZ: Windows ids. notifyOption: NoNotification|MailOnFailure|MailOnCompletion.
getDirectQueryRefreshSchedule
readGet DirectQuery refresh schedule (Premium, separate from regular).
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }getDatasources
readList dataset datasources + gateway binding. Required before bindToGateway/updateDatasource.
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }listGateways
readList on-premises data gateways the user can use. Required before binding a dataset to a gateway.
Input schema
{ "type": "object", "properties": {}, "additionalProperties": true }discoverGateways
readFind gateways with datasources matching the dataset. Pick gatewayObjectId for bindToGateway.
Required paramsdatasetIdEntitiesgatewayInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }bindToGateway
unknownBind dataset to a gateway. Datasources must exist; call discoverGateways first.
Required paramsdatasetIdgatewayObjectIdEntitiesgateway, datasetInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "gatewayObjectId": { "type": "string" }, "workspaceId": { "type": "string" }, "datasourceObjectIds": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": [ "datasetId", "gatewayObjectId" ] }updateDatasource
writeUpdate dataset datasource connection strings via updateDetails entries.
Required paramsdatasetIdupdateDetailsInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" }, "updateDetails": { "type": "array", "items": { "type": "object", "properties": { "datasourceSelector": { "type": "object", "properties": { "datasourceType": { "type": "string" }, "connectionDetails": { "type": "object", "properties": {}, "additionalProperties": true } }, "required": [ "datasourceType", "connectionDetails" ], "additionalProperties": false }, "datasourceName": { "type": "string" }, "connectionDetails": { "type": "object", "properties": {}, "additionalProperties": true } }, "required": [ "connectionDetails" ], "additionalProperties": false } } }, "additionalProperties": false, "required": [ "datasetId", "updateDetails" ] }updateDatasourceCredentials
writeRotate datasource credentials on a gateway without re-binding.
Required paramsgatewayIddatasourceIdcredentialDetailsInput schema
{ "type": "object", "properties": { "gatewayId": { "type": "string" }, "datasourceId": { "type": "string" }, "credentialDetails": { "type": "object", "properties": {}, "additionalProperties": true } }, "additionalProperties": false, "required": [ "gatewayId", "datasourceId", "credentialDetails" ] }takeOverDataset
unknownClaim dataset ownership. Required after imports/migrations before updating datasources.
Required paramsdatasetIdEntitiesdatasetInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }createStreamingDataset
writeCreate streaming dataset. mode: "Streaming" (live only) or "PushStreaming" (live + history).
Required paramsspecInput schema
{ "type": "object", "properties": { "spec": { "type": "object", "properties": { "name": { "type": "string" }, "tables": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "columns": { "type": "array", "items": {} } }, "required": [ "name", "columns" ], "additionalProperties": false } } }, "required": [ "name", "tables" ], "additionalProperties": false }, "mode": { "oneOf": [ { "type": "string", "enum": [ "PushStreaming" ] }, { "type": "string", "enum": [ "Streaming" ] } ] }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "spec" ] }postRowsToStreamingTable
writePush rows to streaming table. Goes to ring buffer for live tile rendering.
Required paramsdatasetIdtableNamerowsInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "tableName": { "type": "string" }, "rows": { "type": "array", "items": { "type": "object", "properties": {}, "additionalProperties": true } }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId", "tableName", "rows" ] }deleteDataset
writeDelete a dataset. DESTRUCTIVE — removes tiles/reports built on it. Confirm first.
Required paramsdatasetIdInput schema
{ "type": "object", "properties": { "datasetId": { "type": "string" }, "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "datasetId" ] }createWorkspace
writeCreate a workspace (caller becomes Admin). workspaceV2:true = modern Premium-aware type.
Required paramsnameInput schema
{ "type": "object", "properties": { "name": { "type": "string" }, "workspaceV2": { "type": "boolean" } }, "additionalProperties": false, "required": [ "name" ] }updateWorkspace
writeUpdate workspace properties (rename, update description). Caller must be a workspace Admin.
Required paramsworkspaceIdInput schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" } }, "additionalProperties": false, "required": [ "workspaceId" ] }deleteWorkspace
writeDelete workspace. DESTRUCTIVE — removes all dashboards/reports/datasets. Admin only.
Required paramsworkspaceIdInput schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "workspaceId" ] }listWorkspaceUsers
readList members of a workspace and their access rights.
Required paramsworkspaceIdInput schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" } }, "additionalProperties": false, "required": [ "workspaceId" ] }addWorkspaceUser
writeAdd user/group/SP to workspace.
Required paramsworkspaceIdidentifiergroupUserAccessRightInput schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" }, "identifier": { "type": "string" }, "groupUserAccessRight": { "oneOf": [ { "type": "string", "enum": [ "Admin" ] }, { "type": "string", "enum": [ "Member" ] }, { "type": "string", "enum": [ "Contributor" ] }, { "type": "string", "enum": [ "Viewer" ] } ] }, "principalType": { "oneOf": [ { "type": "string", "enum": [ "User" ] }, { "type": "string", "enum": [ "Group" ] }, { "type": "string", "enum": [ "App" ] } ] }, "displayName": { "type": "string" } }, "additionalProperties": false, "required": [ "workspaceId", "identifier", "groupUserAccessRight" ] }principalType: User|Group|App. access: Admin|Member|Contributor|Viewer.
removeWorkspaceUser
writeRemove user from workspace. userIdOrEmail = email (users) or objectId (groups/SPs).
Required paramsworkspaceIduserIdOrEmailInput schema
{ "type": "object", "properties": { "workspaceId": { "type": "string" }, "userIdOrEmail": { "type": "string" } }, "additionalProperties": false, "required": [ "workspaceId", "userIdOrEmail" ] }
