Skip to main content
GET
List filter fields
Required scope: analytics:read Call this before you build a filters body. For each field it tells you which endpoints accept it (applicableContexts), which operators it supports, and whether value is a string or a number. A filter that breaks any of those rules is rejected before the query runs. The catalog is the same for every pixel and doesn’t depend on your data, so you can cache it.

Building a filter from the catalog

  • The top level of filters is always a group: and, or, or not. Wrap even a single condition in one.
  • Each condition is { "field", "op", "value" }, using a field from this list and an op from its supportedOperators.
  • in, not_in, and the array_includes* operators take an array with at least one item. Other operators take a single value. Empty strings are rejected.
  • Groups nest up to three levels deep.

Which endpoints accept a field

On the attribution endpoint, attribution.* fields run as exact matches whatever operator you send, so use equals or in there. See Filtering results.

Authorizations

x-api-key
string
header
required

Your Upstack API key. Starts with upstack_.

x-pixel-id
string
header
required

The pixel id the request targets.

Response

Filter-fields catalog.

The full filter-field catalog.

fields
object[]
required

Every filterable field, in no guaranteed order.