Canonical: https://weaveos.com/reference/google-docs/read-all-document-tabs

1. [Software capabilities](https://weaveos.com/reference)
2. /[Google Docs](https://weaveos.com/reference/google-docs)
3. /Read all tabs in a Google Doc

[![](https://weaveos.com/reference/logos/google-docs.svg)Google Docs](https://weaveos.com/reference/google-docs)

# Read all tabs in a Google Doc

Request the document with tab content enabled when an integration needs every tab. Use the Google Docs client method for the same document resource in code.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /v1/documents/{documentId}?includeTabsContent=true](https://weaveos.com/reference/google-docs/read-all-document-tabs#method-1)
2. [2SDK: docs.documents.get({ documentId, includeTabsContent: true })](https://weaveos.com/reference/google-docs/read-all-document-tabs#method-2)

API

### GET /v1/documents/{documentId}?includeTabsContent=true

Fetch a document and populate its tabs tree instead of returning only the first tab’s body fields.

[Read source: Google Docs documents.get reference](https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/get)

- Requirements

  A Google Cloud project with the Docs API enabled, OAuth access to the document, and a document ID. Use a Docs or Drive read scope.

- Limitations

  When includeTabsContent is true, top-level body and documentStyle text fields are left empty. Traverse document.tabs and nested child tabs instead.

Example shell

Copy

```
curl --fail -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" "https://docs.googleapis.com/v1/documents/$DOCUMENT_ID?includeTabsContent=true"
```

SDK

### docs.documents.get({ documentId, includeTabsContent: true })

Use the generated Google API client to fetch a document with its tabs populated.

[Read source: Pinned Google Docs Node.js client method](https://github.com/googleapis/google-api-nodejs-client/blob/cca42a894b9a7eb6d217e07b99cabe3633430ae3/src/apis/docs/v1.ts#L4923)

- Requirements

  The googleapis Node.js client configured with OAuth credentials that can read the document and the document ID.

- Limitations

  With this flag enabled, read tab text under data.tabs and each tab’s childTabs. The top-level body is empty.

Example text

Copy

```
const { data } = await docs.documents.get({ documentId, includeTabsContent: true });
```

## More from Google Docs

[View all 1 Google Docs tasks](https://weaveos.com/reference/google-docs)

## The same task in other apps

- [GCGoogle Cloud Logging](https://weaveos.com/reference/google-cloud-logging)

  ### [Read a bounded set of Google Cloud log entries](https://weaveos.com/reference/google-cloud-logging/read-filtered-log-entries)

  Retrieve recent log entries for an explicitly named project and narrow filter, preserving page tokens for complete reads.

  API, CLI

- [![](https://weaveos.com/reference/logos/google-sheets.svg)Google Sheets](https://weaveos.com/reference/google-sheets)

  ### [Read values from a Google Sheets range](https://weaveos.com/reference/google-sheets/read-cell-range)

  Use the Sheets API to retrieve a cell range from an external application. In Apps Script, getValues reads the same range as a two-dimensional JavaScript array.

  API, SDK

- [![](https://weaveos.com/reference/logos/google-slides.svg)Google Slides](https://weaveos.com/reference/google-slides)

  ### [Read speaker notes from Google Slides](https://weaveos.com/reference/google-slides/read-speaker-notes)

  Fetch the presentation and inspect each slide’s notes page for its speaker-notes shape. Use Presenter view when a person needs to read notes while presenting.

  API, Interface
