Edit in GitHubLog an issue

Validate filters

Data views have different dimensions and metrics available. A filter that's valid in one data view might not be valid in another. You can use the filters/validate endpoint to check and see if a given filter is valid.

POST https://cja.adobe.io/filters/validate

An example POST body:

Copied to your clipboard
{
"dataId": "{DATAID}",
"compatibility": null,
"definition": {
"container": {
"func": "container",
"pred": {
"evt": {
"func": "event",
"name": "metrics/visits"
},
"func": "event-exists",
"description": "purchase id"
},
"context": "hits"
},
"func": "segment",
"version": [
1,
0,
0
]
},
"name": "Integration Test Seg 1",
"description": "For Integration Test Only"
}

An example response:

Copied to your clipboard
{
"valid": true,
"validator_version": "1.1.11",
"supported_products": [
"data_warehouse",
"oberon",
"discover"
],
"supported_schema": [
"schema_data_warehouse",
"schema_oberon"
],
"supported_features": [
"function_attr",
"function_container",
"function_streq"
]
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.