Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The OneLake catalog in Microsoft Fabric lets you discover and explore data across your tenant. This article shows how to find catalog entries with Catalog Search, then use the IDs in the results to get item and table details, read or query data, run jobs, and update metadata.
Typical OneLake catalog API workflow
Most integrations follow these steps:
- Search — Find workspaces, workspace apps, Fabric items, and objects across the tenant.
- Get details — Retrieve an item's metadata, or a table's schema and metadata.
- Act on results — Read or query data, run jobs, or update metadata by using the IDs from your search results.
The following sections describe each step and the APIs involved.
Search the catalog
The Catalog Search API is the primary entry point for discovering catalog metadata across your tenant. A catalog entry is the metadata representation of a Fabric workspace, workspace app, Fabric item, or object. Objects are entities inside Fabric items, such as tables.
The API supports:
- Full-text search — Search catalog metadata such as display names and descriptions. For tables, search matches a table's name and description and the names and descriptions of its columns. A column match returns the table that contains the column.
- Filters — Use
Typeto narrow results by entry type, andHierarchy/Workspace/Idto scope results to a workspace. - Hierarchy — See each entry's ancestors, such as its workspace and parent item.
Without a type filter, a response can contain a mix of workspaces, workspace apps, Fabric items, and objects.
Depending on the entry, hierarchy can include workspace, item, and object. For reports and dashboards distributed through an app, it can also include workspaceApp. The API returns only the levels that apply. It doesn't include domain, subdomain, or folder ancestry.
New and updated entries can take a couple of minutes to appear in search results.
Important
Catalog Search returns an item only if you have Read or higher control-plane permission on it. When returning an inner object such as a table, Catalog Search applies the same permission check to its parent item.
A catalog result exposes metadata only and doesn't grant access to the table's data or item content. It doesn't evaluate OneLake security or other data-plane restrictions. As an exception, the catalog excludes a semantic model that uses object-level security, including its tables, regardless of your effective OLS access.
Example: Search for tables
Catalog Search returns tables from supported item types, such as lakehouses, semantic models, and mirrored databases.
Filter on the Table type to return only tables. To search the tables in one workspace, add and Hierarchy/Workspace/Id eq '<workspace-id>' to the filter.
POST https://api.fabric.microsoft.com/v1/catalog/search
Content-Type: application/json
{
"search": "Sales",
"pageSize": 50,
"filter": "Type eq 'Table'"
}
The response identifies each table as an object and returns its supported ancestry. For example, the following table belongs to the dbo schema in a lakehouse:
{
"value": [
{
"id": "31de0469-6bcb-49a0-86f8-1d327bc12b67_7a3b9c1d",
"type": "Table",
"catalogEntryType": "Object",
"displayName": "SalesOrders",
"description": "Order-level sales transactions.",
"hierarchy": {
"workspace": {
"id": "5bdd93a8-672f-488a-bd4f-f42bc2d78dad",
"displayName": "Sales Analytics"
},
"item": {
"id": "31de0469-6bcb-49a0-86f8-1d327bc12b67",
"displayName": "Sales Lakehouse",
"type": "Lakehouse"
},
"object": {
"id": "31de0469-6bcb-49a0-86f8-1d327bc12b67_5e8f2a1b",
"displayName": "dbo",
"type": "Schema"
}
}
}
]
}
Browse items and workspaces
To browse the catalog without a search term, set search to "*". Add a filter to page through every entry of a given type, such as all workspaces or all tables, or omit the filter to page through every entry you can access. Use the continuationToken from each response to get the next page.
The following request pages through all the workspaces you have access to:
POST https://api.fabric.microsoft.com/v1/catalog/search
Content-Type: application/json
{
"search": "*",
"pageSize": 1000,
"filter": "Type eq 'Workspace'"
}
You can also browse the workspace and item hierarchy directly:
- List Workspaces — Returns workspaces you have access to. Each workspace in the response includes a
domainIdproperty if the workspace is assigned to a domain. - List Items — Returns items in a specific workspace.
These endpoints return the same IDs you get from search, so you can use them as an alternative starting point for the steps in this article. If a workspace belongs to a domain, you can resolve the domain name using the Get Domain API.
Get details
Use the IDs from a search result to get more information about an item or table.
Get item metadata
Use the Get Item API to retrieve an item's common metadata, such as its name, description, workspace, endorsement, and tags:
GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}
Many item types also have a type-specific Get endpoint, GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/{itemTypePlural}/{itemId}, that returns the properties you need to connect to or work with the item, such as SQL connection strings, query service URIs, and OneLake paths. For example, Get Lakehouse returns the lakehouse's SQL endpoint connection string and OneLake paths. For the APIs available for each item type, see Item management overview.
Get table details
To get the schemas and tables stored or mirrored in OneLake, use the OneLake Table APIs. These APIs support OneLake data items such as lakehouses, warehouses, and mirrored databases. Use the workspace ID and item ID from Catalog Search or Get Item to scope each request.
The Table APIs use the https://onelake.table.fabric.microsoft.com endpoint and support two protocols: Iceberg REST Catalog (IRC) and Delta. Both let you list schemas and tables and get a table's metadata. The Iceberg protocol requires a Get config call first to obtain the {prefix} used in later requests. If the data item doesn't support schemas, such as a lakehouse without schemas enabled, both protocols return a default dbo schema.
For lakehouses, List Semantic Views (beta) returns the semantic views authored in the lakehouse. Give them to agents as business context alongside the table schemas. Use hierarchy.workspace.id and hierarchy.item.id from a table search result, or the lakehouse's hierarchy.workspace.id and id.
Example: Get table information from a search result
The SalesOrders search result in the earlier example provides the values you need to retrieve the table from the OneLake Table APIs:
hierarchy.workspace.ididentifies the workspace.hierarchy.item.ididentifies the lakehouse.hierarchy.object.displayNameidentifies thedboschema.displayNameidentifies theSalesOrderstable.
The following example uses these values with the Iceberg protocol:
# Step 1: Get the Iceberg config prefix
GET https://onelake.table.fabric.microsoft.com/iceberg/v1/config?warehouse={workspaceId}/{itemId}
# Step 2: Get the table
GET https://onelake.table.fabric.microsoft.com/iceberg/v1/{prefix}/namespaces/dbo/tables/SalesOrders
Note
The OneLake Table APIs require that the item's data is stored or mirrored into OneLake. For items that aren't in OneLake, query their tables directly: semantic models with DAX or XMLA, and eventhouses with KQL.
Act on search results
Search results include the IDs that other APIs need, so you can act on an entry as soon as you find it. Most of these APIs take the workspace ID (hierarchy.workspace.id) and the item ID (id). For a table result, use the owning item's ID (hierarchy.item.id).
The following APIs are examples. For the full set of operations, see the Microsoft Fabric REST API and Power BI REST API references.
Query and connect
| Goal | API |
|---|---|
| Read a table's rows | OneLake table read API (preview). Also takes the schema (hierarchy.object.displayName) and table name (displayName). |
| Query a semantic model with DAX | Execute Queries In Group (Power BI REST API) |
| Query a dataflow | Dataflow Execute Query |
| Query a graph model | Graph model Execute Query (beta) |
| Connect to an item, such as through its SQL endpoint or MCP server | OneLake endpoint discovery API (preview) |
Run jobs
To run a notebook, pipeline, or Spark job definition, use Run On Demand Item Job.
Update metadata
| Goal | API |
|---|---|
| Update an item's name or description | Update Item |
| Apply tags to an item | Apply Tags |
A search result shows that you can read an entry. Each of these APIs checks its own permissions, such as write or execute access to the item.