versions_list
Retrieve a summary list of all version headers for a Google Tag Manager container. Specify account and container IDs to get version metadata, with optional pagination and inclusion of deleted versions.
Instructions
List all container version headers (summary) for a GTM container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxPages | No | Maximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken. | |
| accountId | Yes | ||
| pageToken | No | Continuation token to resume listing from a previous truncated result. | |
| containerId | Yes | ||
| includeDeleted | No | Include deleted versions in results. |