Skip to main content
GET
https://your-rootprint-host
/
api
/
indexes
/
{indexId}
/
fields
/
{field}
/
values
List common values for a field
curl --request GET \
  --url https://your-rootprint-host/api/indexes/{indexId}/fields/{field}/values \
  --cookie better-auth.session_token=
{
  "values": [
    {
      "value": "<string>",
      "count": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Path Parameters

indexId
string
required

Quickwit index ID.

Minimum string length: 1
field
string
required

Index field name.

Minimum string length: 1

Query Parameters

q
string

Quickwit query string.

startTs
number

Inclusive start timestamp in seconds since Unix epoch.

endTs
number

Inclusive end timestamp in seconds since Unix epoch.

limit
integer
Required range: 1 <= x <= 1000

Response

Field values.

values
object[]
required