---
title: "Distinct values for an RLS filter column"
method: GET
path: "/dashboards/{dashboard_id}/rls/values"
tags: ["Dashboard"]
---

# Distinct values for an RLS filter column

`GET /dashboards/{dashboard_id}/rls/values`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/{dashboard_id}/rls/values`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Editor-only. Returns the distinct (unscoped) values of a column for the RLS column picker, creator preview dropdown, and value assignment list. Cached with a short TTL.

## Path parameters

- `dashboard_id` integer, required

## Query parameters

- `column` string, required
- `search` string, nullable

## Response `200`

Request fulfilled, document follows

- RlsDistinctValuesResponse
  - `column` string, required
  - `total` integer, required
  - `values` unknown[], required
    - unknown

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
