Quotes around a series of terms will be perform a verbatim search, e.g. "greek yogurt"

Terms can be combined for a complex lookup, e.g. dessert -candy "greek yogurt"

/api/fields/:id/

Resource exposing a single field.

Methods

GET

/api/fields/:id/values/

Resource exposing distinct values for a specific field.

Methods

GET

query - Same as above

aware - Toggles resource to be context-aware. Depending on the context, this may result in a subset of values returned.

false (default) - Make context-naive

true - Make context-aware

random - Returns a random set of values up to N

N - The number of random values to return, e.g. 5

/api/fields/:id/dist/

Resource exposing a distribution API. One or more dimensions can be specified and counts will be returned for each unique group. For large data sets, k-means clustering will be performed and will result in weighted counts based on euclidean distance from the nearest centroid.

Methods

GET

dimensions - One or more fields to group by

nulls - Flag for whether NULL values are included in the result set

false (default) - Do not include

true - Include

aware - Flag for whether the response will be context-aware. The response will contain data relative to the current context.