Apply a runtime filter

Starting in May 2022, ThoughtSpot rebranded pinboards as Liveboards. For backward compatibility, we currently support internal processes and external methods that use the older naming convention.

Runtime filters allow you to apply filters to the data returned by the APIs or the visualization or Liveboard you’re embedding. Before you apply a runtime filter, make sure you understand their limitations.

The filters are specified in the called URL as parameters.

Now you are ready to add a runtime filter to your Data API call or Embedded object:

  1. Obtain the URL you are using to embed the visualization or call the REST API.

  2. Paste the URL it into a text editor.

  3. Append the runtime filter to the URL, using the runtime filter operators to get the data you want. The format for the runtime filter depends on how you use it:

    Embedding a board
    Embedding a visualization
    REST API with a board
    REST API with a visualization
  4. To add additional filters on a particular column, you can specify multiple values by separating them with & (ampersand), as in the following example:


    You can also use the IN operator for multiple values, as in this example:

  5. Add additional filters by incrementing the number at the end of each parameter in the Runtime Filter for each filter you want to add, for example, col2, op2, val2 and so on.

    The following example passes multiple variables to a single column as well as multiple columns. It shows that data values are returned as epoch.