pbi_refresh_dataset
Trigger an Enhanced refresh for a Power BI dataset, allowing selection of refresh type, specific tables, commit mode, and optional polling for completion.
Instructions
Trigger an Enhanced refresh for a Power BI dataset.
Uses the Enhanced Refresh API (refreshType=ViaEnhancedApi), which enables GET refresh execution details with structured messages[] and objects[] (partition-level failures, error codes, SourceObject pointing to Table/Column/etc).
Args: workspace_id: The workspace (group) ID. dataset_id: The dataset ID. refresh_type: Full / ClearValues / Calculate / DataOnly / Automatic / Defragment (default Full). commit_mode: Transactional / PartialBatch (default Transactional). retry_count: Number of automatic retries (default 0). timeout: HH:MM:SS string, max 24:00:00 (default 01:00:00). tables: Optional list of table names to refresh, e.g. ["fact_sales", "dim_date"]. When omitted the entire dataset is refreshed. poll: If True, poll refresh details until terminal (default False). poll_interval: Seconds between polls (default 30). poll_timeout: Max seconds to wait when polling (default 1800).
Returns: JSON with {status, requestId, location, ...}. If poll=True also includes terminal details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| dataset_id | Yes | ||
| refresh_type | No | Full | |
| commit_mode | No | Transactional | |
| retry_count | No | ||
| timeout | No | 01:00:00 | |
| tables | No | ||
| poll | No | ||
| poll_interval | No | ||
| poll_timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |