search-consumption-cli

Search the Microsoft Fabric catalog to locate items across workspaces via the Catalog Search API.

Updated Jul 14, 2026
One-click install
npx skills add https://github.com/9vantage/skills-for-fabric-clone --skill search-consumption-cli-9vantage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-consumption-cli
Source: https://github.com/9vantage/skills-for-fabric-clone/tree/main/plugins/fabric-skills/skills/search-consumption-cli
Command: npx skills add https://github.com/9vantage/skills-for-fabric-clone --skill search-consumption-cli-9vantage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When you know an item's name but not which workspace contains it, manually browsing every workspace in Microsoft Fabric is slow and error-prone. This Skill uses the Fabric Catalog Search API to find items by name, description, or workspace name across the entire tenant in a single call. ## Core Features & Use Cases - Cross-Workspace Item Search: Find lakehouses, reports, semantic models, and other Fabric items by name without knowing their workspace. - Tenant-Wide Type Listing: List all items of a specific type (e.g., all Lakehouses) across workspaces using an empty search with a type filter. - ID Extraction for Downstream Calls: Return item IDs and workspace IDs ready for use in subsequent Fabric REST API calls, with pagination support via continuation tokens. - Use Case: You need to update a report called "Monthly Sales Revenue" but have dozens of workspaces. Run a catalog search with a Report type filter, disambiguate the matches, and get the item and workspace IDs instantly. ## Quick Start Ask the AI to search the Microsoft Fabric catalog for an item named "SalesLakehouse" and tell you which workspace it is in.

Frequently Asked Questions about search-consumption-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find which workspace a Fabric item is in?

Use the Fabric Catalog Search API with a POST to /v1/catalog/search containing the item name in the search text. The response includes hierarchy.workspace with the workspace id and displayName for each matching item.

How to list all lakehouses across Microsoft Fabric workspaces?

Send a catalog search request with an empty search string and the filter "Type eq 'Lakehouse'" with pageSize up to 1000. Handle pagination by passing the returned continuationToken in subsequent requests until it is null.

Can the Fabric Catalog Search API find workspaces by name?

No, the Catalog Search API returns items, not workspaces. To find a workspace by name, use GET /v1/workspaces and filter the results client-side instead.

Why does Fabric catalog search return empty results for a known item?

Dataflow Gen1 and Gen2 items are not supported by the Catalog Search API, and newly created items may not appear due to catalog indexing lag. Verify the item exists via GET /v1/workspaces/{id}/items instead.

What filter syntax does the Fabric Catalog Search API support?

Only eq, ne, or, and parentheses are supported in the filter expression. Do not mix eq with and, ne with or, or combine eq and ne in the same filter, and keep type values under 500.