Google Sheets · Schema

PivotTable

A pivot table.

Google WorkspaceProductivitySpreadsheets

Properties

Name Type Description
rows array Each row grouping in the pivot table.
columns array Each column grouping in the pivot table.
values array A list of values to include in the pivot table.
criteria object An optional mapping of filters per source column offset.
filterSpecs array The filters applied to the source columns before aggregating data.
valueLayout string Whether values should be listed horizontally or vertically.
dataSourceId string The ID of the data source the pivot table is reading data from.
View JSON Schema on GitHub

JSON Schema

google-sheets-pivot-table-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PivotTable",
  "type": "object",
  "description": "A pivot table.",
  "properties": {
    "rows": {
      "type": "array",
      "description": "Each row grouping in the pivot table."
    },
    "columns": {
      "type": "array",
      "description": "Each column grouping in the pivot table."
    },
    "values": {
      "type": "array",
      "description": "A list of values to include in the pivot table."
    },
    "criteria": {
      "type": "object",
      "description": "An optional mapping of filters per source column offset."
    },
    "filterSpecs": {
      "type": "array",
      "description": "The filters applied to the source columns before aggregating data."
    },
    "valueLayout": {
      "type": "string",
      "description": "Whether values should be listed horizontally or vertically."
    },
    "dataSourceId": {
      "type": "string",
      "description": "The ID of the data source the pivot table is reading data from."
    }
  }
}

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-sheets-pivot-table"
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 email required.

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