Google Analytics · Schema
RunPivotReportResponse
The response pivot report table corresponding to a pivot request.
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution
Properties
| Name | Type | Description |
|---|---|---|
| aggregates | array | Aggregation of metric values. Can be totals, minimums, or maximums. The returned aggregations are controlled by the metric_aggregations in the pivot. The type of aggregation returned in each row is sh |
| dimensionHeaders | array | Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows. |
| kind | string | Identifies what kind of resource this message is. This `kind` is always the fixed string "analyticsData#runPivotReport". Useful to distinguish between response types in JSON. |
| metadata | object | Metadata for the report. |
| metricHeaders | array | Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows. |
| pivotHeaders | array | Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this: "pivots": [{ "fieldNames": ["country", "city"] }, { " |
| propertyQuota | object | This Analytics Property's quota state including this request. |
| rows | array | Rows of dimension value combinations and metric values in the report. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RunPivotReportResponse",
"title": "RunPivotReportResponse",
"description": "The response pivot report table corresponding to a pivot request.",
"properties": {
"aggregates": {
"description": "Aggregation of metric values. Can be totals, minimums, or maximums. The returned aggregations are controlled by the metric_aggregations in the pivot. The type of aggregation returned in each row is shown by the dimension_values which are set to \"RESERVED_\".",
"items": {
"$ref": "#/components/schemas/Row"
},
"type": "array"
},
"dimensionHeaders": {
"description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.",
"items": {
"$ref": "#/components/schemas/DimensionHeader"
},
"type": "array"
},
"kind": {
"description": "Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#runPivotReport\". Useful to distinguish between response types in JSON.",
"type": "string"
},
"metadata": {
"$ref": "#/components/schemas/ResponseMetaData",
"description": "Metadata for the report."
},
"metricHeaders": {
"description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.",
"items": {
"$ref": "#/components/schemas/MetricHeader"
},
"type": "array"
},
"pivotHeaders": {
"description": "Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this: \"pivots\": [{ \"fieldNames\": [\"country\", \"city\"] }, { \"fieldNames\": \"eventName\" }] We will have the following `pivotHeaders` in the response: \"pivotHeaders\" : [{ \"dimensionHeaders\": [{ \"dimensionValues\": [ { \"value\": \"United Kingdom\" }, { \"value\": \"London\" } ] }, { \"dimensionValues\": [ { \"value\": \"Japan\" }, { \"value\": \"Osaka\" } ] }] }, { \"dimensionHeaders\": [{ \"dimensionValues\": [{ \"value\": \"session_start\" }] }, { \"dimensionValues\": [{ \"value\": \"scroll\" }] }] }]",
"items": {
"$ref": "#/components/schemas/PivotHeader"
},
"type": "array"
},
"propertyQuota": {
"$ref": "#/components/schemas/PropertyQuota",
"description": "This Analytics Property's quota state including this request."
},
"rows": {
"description": "Rows of dimension value combinations and metric values in the report.",
"items": {
"$ref": "#/components/schemas/Row"
},
"type": "array"
}
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-analytics-runpivotreportresponse"
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.