---
title: "Get the metadata for a segment"
method: GET
path: "/segments/{tableName}/{segmentName}/metadata"
tags: ["Segment"]
---

# Get the metadata for a segment

`GET /segments/{tableName}/{segmentName}/metadata`

Get the metadata for a segment

## Path parameters

- `tableName` string, required
- `segmentName` string, required

## Query parameters

- `columns` string[]

## Response `200`

successful operation

- object

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/versions/f1cc8a0ba2e0/schema)
