---
title: "List distinct values for a person field"
method: GET
path: "/api/v1/ackdb/observe/persons/fields/{key}/values"
tags: ["ackDB"]
---

# List distinct values for a person field

`GET /api/v1/ackdb/observe/persons/fields/{key}/values`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/observe/persons/fields/{key}/values`
- Auth: HTTP bearer

Person-grain twin of GET /observe/companies/fields/{key}/values, served by the same shared resolver (so the console and the agent's `get_field_values` tool cannot diverge). Pickable here: `name`, a durable-key column (`idl__<type>`), or a string/string_array promoted event-metadata (`emf__`) column - i.e. exactly the fields whose descriptor carries distinctValuesUrl. There are no person traits, so a trait key is a 400. Pass ?search= for the picker's case-insensitive substring typeahead.

## Path parameters

- `key` string, required

## Query parameters

- `search` string

## Response `200`

Distinct values for the field.

- object
  - `data` object, required
    - `values` string[], required
    - `cardinalityCapped` boolean, required

## Other responses

- `400`: Field has no value picker (no distinctValuesUrl), or is a trait key.
- `404`: Unknown field key.

---

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