Skip to main content

Set the data filter

PUT 

/projects/:project_id/data-filter

Limits every query of the workspace to the rows where column equals value, in every event, dimension and metric table. Use it to give each tenant a workspace on shared tables.

Changing the filter clears the workspace's cached insight results, chart images and indexed property values, because they were computed with the old filter. Index the workspace again afterwards.

The API key acts as an Org Admin for this request. A request for a workspace of another organization returns 404.

Request​

Responses​

OK