{"files":{"SKILL.md":"---\nname: power-bi-embedded-management-client\ndescription: \"Power BI Embedded Management Client API skill. Use when working with Power BI Embedded Management Client for subscriptions, providers. Covers 12 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Power BI Embedded Management Client\nAPI version: 2016-01-29\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. No auth setup needed\n2. GET /providers/Microsoft.PowerBI/operations -- indicates which operations can be performed by the power bi resource provider.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/locations/{location}/checkNameAvailability -- create first checkNameAvailability\n\n## Endpoints\n12 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName} | Retrieves an existing Power BI Workspace Collection. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName} | Creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName} | Update an existing Power BI Workspace Collection with the specified properties. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName} | Delete a Power BI Workspace Collection. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/locations/{location}/checkNameAvailability | Verify the specified Power BI Workspace Collection name is valid and not already in use. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections | Retrieves all existing Power BI workspace collections in the specified resource group. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/workspaceCollections | Retrieves all existing Power BI workspace collections in the specified subscription. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/listKeys | Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/regenerateKey | Regenerates the primary or secondary access key for the specified Power BI Workspace Collection. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces | Retrieves all existing Power BI workspaces in the specified workspace collection. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources | Migrates an existing Power BI Workspace Collection to a different resource group and/or subscription. |\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.PowerBI/operations | Indicates which operations can be performed by the Power BI Resource Provider. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get workspaceCollection details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n- \"Update a workspaceCollection?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n- \"Partially update a workspaceCollection?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n- \"Delete a workspaceCollection?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n- \"Create a checkNameAvailability?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/locations/{location}/checkNameAvailability\n- \"List all workspaceCollections?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections\n- \"Create a listKey?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/listKeys\n- \"Create a regenerateKey?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/regenerateKey\n- \"List all operations?\" -> GET /providers/Microsoft.PowerBI/operations\n- \"List all workspaces?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces\n- \"Create a moveResource?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Power BI Embedded Management Client\n@base https://management.azure.com\n@version 2016-01-29\n@common_fields {api-version: any # Client Api Version.}\n@endpoints 12\n@toc subscriptions(11), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n@desc Retrieves an existing Power BI Workspace Collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name}\n@returns(200) Workspace collection created successfully\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n@desc Creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name, body: map # Create workspace collection request}\n@returns(200) Workspace collection created successfully\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n@desc Update an existing Power BI Workspace Collection with the specified properties.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name, body: map # Update workspace collection request}\n@returns(200) Workspace collection updated successfully\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}\n@desc Delete a Power BI Workspace Collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name}\n@returns(202) Workspace collection deleted successfully\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/locations/{location}/checkNameAvailability\n@desc Verify the specified Power BI Workspace Collection name is valid and not already in use.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., location: any # Azure location, body: map # Check name availability request}\n@returns(200) Request completed successfully\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections\n@desc Retrieves all existing Power BI workspace collections in the specified resource group.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group}\n@returns(200) Get workspaces response\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.PowerBI/workspaceCollections\n@desc Retrieves all existing Power BI workspace collections in the specified subscription.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}\n@returns(200) Get workspaces response\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/listKeys\n@desc Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name}\n@returns(200) Get access keys completed successfully\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/regenerateKey\n@desc Regenerates the primary or secondary access key for the specified Power BI Workspace Collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name, body: map # Access key to regenerate}\n@returns(200) Get access keys completed successfully\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.PowerBI/operations\n@desc Indicates which operations can be performed by the Power BI Resource Provider.\n@returns(200) Request completed successfully\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces\n@desc Retrieves all existing Power BI workspaces in the specified workspace collection.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, workspaceCollectionName: any # Power BI Embedded Workspace Collection name}\n@returns(200) Get workspaces completed successfully\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources\n@desc Migrates an existing Power BI Workspace Collection to a different resource group and/or subscription.\n@required {subscriptionId: any # Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # Azure resource group, body: map # Workspace migration request}\n@returns(200) Migration completed successfully\n\n@endgroup\n\n@end\n"}}