---
title: "Get Powerbi Metadata"
method: POST
path: "/api/lia-analyst/powerbi/metadata"
tags: ["LIA Analyst"]
---

# Get Powerbi Metadata

`POST /api/lia-analyst/powerbi/metadata`

## Request

- Base URL: `https://api.leapsurgebi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.leapsurgebi.com/api/lia-analyst/powerbi/metadata`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/token`
- TypeScript: <https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/docs/api/lia-analyst/powerbi/metadata/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- PowerBIMetadataRequest
  - `workspace_id` string, required: Power BI Workspace ID
  - `dataset_id` string, required: Power BI Dataset ID

## Response `200`

Successful Response

- PowerBISemanticModelMetadata
  - `workspace_id` string, required
  - `dataset_id` string, required
  - `table_count` integer, required
  - `column_count` integer, required
  - `measure_count` integer, required
  - `tables` PowerBITableMetadata[], required
    - `name` string, required
    - `description` string, nullable
    - `is_hidden` boolean
    - `storage_mode` string, nullable
  - `columns` PowerBIColumnMetadata[], required
    - `table` string, required
    - `name` string, required
    - `data_type` string, nullable
    - `description` string, nullable
    - `is_hidden` boolean
  - `measures` PowerBIMeasureMetadata[], required
    - `table` string, nullable
    - `name` string, required
    - `description` string, nullable
    - `expression` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `23b42df3193a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/changes/api/lia-analyst/powerbi/metadata/post.md)

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) - [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/revisions/13653cb8ee76?raw)
