Field Values
List the distinct values of an extracted field across all documents, with per-value counts. Build filter dropdowns and faceted search interfaces.
The field values endpoint returns the distinct values of a specific extracted field across all documents in your workspace, with a count of how many documents carry each value. Results are sorted by count descending, so the most common values appear first. Use it to populate filter dropdowns, build faceted search interfaces, or analyze value distributions for data quality.
field parameter must be a field registry UUID, not a field name. Resolve names to UUIDs with the field autocomplete endpoint or GET /v1/fields; a non-UUID value returns a 400 error./v1/search/field-valuesQuery parameters
50Request
Response
Response fields
Response
{
"values": [
{ "value": "Acme Corp", "count": 47 },
{ "value": "Globex Inc", "count": 23 }
],
"totalDistinct": 156
}Errors
Error responses
Pair this endpoint with the field autocomplete endpoint to build a two-step filter UI: first let the user select a field via GET /v1/search/autocomplete, then populate a dropdown with that field's distinct values from this endpoint. The totalDistinct count is useful for showing "N of M values" pagination hints.