#docs #tql

Base Filters

Specifies the default filters to be attached to a query before executing it.

The filters generated by this rule are combined with a query’s filter property using an and filter.

The default value is thisOrganization.

Example

{
  "baseFilters": "thisOrganization"
}

Possible Values

thisOrganization
Attach test mode filter and filter for all apps of the executing user’s organization.
thisApp
Attach test mode filter and filter for the app the insight lives in. If the query does not belong to an insight, this value requires the query’s appID property to be set.
exampleData
Attach test mode filter and filter for the example app’s data. The server will execute this query as if the owner of the Example App is logged in, and it will always return example data instead of an actual user’s data. This is great for showing a demo of the environment.