---
updatedAt: 2026-11-09T09:24:27.000Z
agentTools:
  projectIndex: https://docs.tweakwise.com/llms.txt
---

# Get reports

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Backend API (Legacy)"
  },
  "paths": {
    "/googleanalytics4/report": {
      "get": {
        "tags": [
          "Google analytics 4 reports"
        ],
        "summary": "Get reports",
        "operationId": "GoogleAnalytics4Report_GetReports",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of records which should be retrieved.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The number of records which should be skipped.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ga4ReportModels"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ga4ReportModels"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyDefinition": [],
            "instanceKeyDefinition": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://navigator-api.tweakwise.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKeyDefinition": {
        "type": "apiKey",
        "description": "API Key Authentication",
        "name": "TWN-Authentication",
        "in": "header"
      },
      "instanceKeyDefinition": {
        "type": "apiKey",
        "description": "Instance key",
        "name": "TWN-InstanceKey",
        "in": "header"
      }
    },
    "schemas": {
      "Ga4ReportModel": {
        "description": "Information about a GA4 report.",
        "type": "object",
        "properties": {
          "Id": {
            "format": "int64",
            "description": "ID of the report.",
            "type": "integer"
          },
          "Name": {
            "description": "Name of the report.",
            "type": "string"
          },
          "Property": {
            "$ref": "#/components/schemas/ReportPropertyModel"
          },
          "Metrics": {
            "description": "The metrics read from the property when running the report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportMetricModel"
            }
          },
          "Filters": {
            "description": "The dimensional filters applied to the data of the report.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Ga4ReportFilterModel"
            }
          },
          "NrOfDaysBack": {
            "format": "int32",
            "description": "How many days worth of data should be taken into account.",
            "type": "integer"
          },
          "MappingDimension": {
            "$ref": "#/components/schemas/ReportDimensionModel"
          },
          "MappingAttribute": {
            "$ref": "#/components/schemas/ReportAttributeModel"
          },
          "RegexTemplate": {
            "description": "Regex template used to get a substring of a URL.\r\nThis substring is matched to the chosen mapping attribute.\r\nOnly applicable to reports using the page views metric.",
            "type": "string"
          }
        }
      },
      "ReportPropertyModel": {
        "description": "Information about a GA4 report's property.",
        "type": "object",
        "properties": {
          "Name": {
            "description": "The name (which is also like an ID) of the property.",
            "type": "string"
          },
          "DisplayName": {
            "description": "The display name of the property.",
            "type": "string"
          }
        }
      },
      "ReportMetricModel": {
        "description": "Information about a GA4 report's metric.",
        "type": "object",
        "properties": {
          "Name": {
            "description": "The name (which is used like an ID) of the metric.",
            "type": "string"
          },
          "DisplayName": {
            "description": "Display name of the metric.",
            "type": "string"
          }
        }
      },
      "Ga4ReportFilterModel": {
        "description": "Information about dimension filters in GA4 report.",
        "type": "object",
        "properties": {
          "DisplayName": {
            "description": "The dimension used for filtering",
            "type": "string"
          },
          "DimensionName": {
            "description": "The dimension used for filtering. (‘hostName', 'language' or 'languageCode').",
            "type": "string"
          },
          "Value": {
            "description": "Filter value",
            "type": "string"
          }
        }
      },
      "ReportDimensionModel": {
        "description": "Information about a GA4 report's dimension.",
        "type": "object",
        "properties": {
          "Name": {
            "description": "The name (which is used like an ID) of the dimension.",
            "type": "string"
          },
          "DisplayName": {
            "description": "The display name of the dimension.",
            "type": "string"
          }
        }
      },
      "ReportAttributeModel": {
        "description": "Information about a GA4 report's attribute.",
        "type": "object",
        "properties": {
          "Id": {
            "format": "int64",
            "description": "ID of the attribute.",
            "type": "integer"
          },
          "Name": {
            "description": "Name of the attribute.",
            "type": "string"
          }
        }
      },
      "Ga4ReportModels": {
        "description": "A paginated collection of GA4 reports.",
        "type": "object",
        "properties": {
          "Total": {
            "format": "int32",
            "description": "The total number of records which can be retrieved. Note that this field is not available for all paginated endpoints.",
            "type": "integer"
          },
          "Records": {
            "description": "The retrieved records.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Ga4ReportModel"
            }
          }
        }
      }
    }
  }
}
```