Google Analytics · Schema

DimensionFilter

Dimension filter specifies the filtering options on a dimension.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution

Properties

Name Type Description
caseSensitive boolean Should the match be case sensitive? Default is false.
dimensionName string The dimension to filter on. A DimensionFilter must contain a dimension.
expressions array Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is `IN_LIST`. If `IN_LIST` operator, then the entire list is used to filter
not boolean Logical `NOT` operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false.
operator string How to match the dimension to the expression. The default is REGEXP.
View JSON Schema on GitHub

JSON Schema

google-analytics-dimensionfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DimensionFilter",
  "title": "DimensionFilter",
  "description": "Dimension filter specifies the filtering options on a dimension.",
  "properties": {
    "caseSensitive": {
      "description": "Should the match be case sensitive? Default is false.",
      "type": "boolean",
      "example": true
    },
    "dimensionName": {
      "description": "The dimension to filter on. A DimensionFilter must contain a dimension.",
      "type": "string",
      "example": "Example Name"
    },
    "expressions": {
      "description": "Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is `IN_LIST`. If `IN_LIST` operator, then the entire list is used to filter the dimensions as explained in the description of the `IN_LIST` operator.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "not": {
      "description": "Logical `NOT` operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false.",
      "type": "boolean",
      "example": true
    },
    "operator": {
      "description": "How to match the dimension to the expression. The default is REGEXP.",
      "enum": [
        "OPERATOR_UNSPECIFIED",
        "REGEXP",
        "BEGINS_WITH",
        "ENDS_WITH",
        "PARTIAL",
        "EXACT",
        "NUMERIC_EQUAL",
        "NUMERIC_GREATER_THAN",
        "NUMERIC_LESS_THAN",
        "IN_LIST"
      ],
      "type": "string",
      "example": "OPERATOR_UNSPECIFIED"
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-analytics-dimensionfilter"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.