---
title: "Get Predicated Values"
method: POST
path: "/ad_analytics/distinct-values"
---

# Get Predicated Values

`POST /ad_analytics/distinct-values`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/ad_analytics/distinct-values`
- Auth: none declared

Get distinct values for a column with optional predicates

## Request body

- GetDistinctValuesRequest: Request model for getting distinct values with predicates
  - `table` string, required: Table name to query
  - `column` string, required: Column to get distinct values from
  - `predicates` object: WHERE clause predicates (column: value)
  - `pagination` Pagination
    - `start` integer, required: The start index
    - `limit` integer, required: The limit
  - `search` string, nullable

## Response `200`

Successful Response

- string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/akkio/apis/akkio-api.md) - [All operations](https://skmtc.dev/akkio/apis/akkio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akkio/apis/akkio-api/revisions/c477deff6271?raw)
