# Read every tab of a Google Sheet into one dataset

**Use case:** 

Returns all tabs of a spreadsheet in one run and one schema, with the tab name and gid stamped on every row.

## Input

```json
{
  "url": "https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit?usp=sharing",
  "urls": [],
  "tabs": [],
  "query": "select A,C where C contains 'Senior' order by A limit 20",
  "headersRow": 1,
  "skipRows": 0,
  "typed": true,
  "trimEmpty": true,
  "includeMetadata": false,
  "maxItems": 1000,
  "maxCostUsd": 25,
  "monitor": false,
  "monitorChangesOnly": true,
  "mode": "auto"
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "text"
  },
  "spreadsheetId": {
    "label": "Spreadsheet",
    "format": "text"
  },
  "spreadsheetTitle": {
    "label": "Title",
    "format": "text"
  },
  "sheetName": {
    "label": "Tab",
    "format": "text"
  },
  "gid": {
    "label": "gid",
    "format": "text"
  },
  "rowNumber": {
    "label": "Row",
    "format": "number"
  },
  "changeStatus": {
    "label": "Change",
    "format": "text"
  },
  "cells": {
    "label": "Cells",
    "format": "json"
  }
}
```

## About this Actor

This example demonstrates how to use [Private Google Sheets Reader API - Service Account Access](https://apify.com/vonsensey/private-google-sheets-reader-scraper-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vonsensey/private-google-sheets-reader-scraper-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vonsensey/private-google-sheets-reader-scraper-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
