gtm_version_header
Retrieve a paginated list of GTM container version headers or the latest one. Helps track and manage container version history.
Instructions
Performs all container version header operations: list, latest. The 'list' action returns up to 50 items per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (starts from 1). Each page contains up to itemsPerPage items. | |
| action | Yes | The container version header operation to perform. Must be one of: 'list', 'latest'. | |
| accountId | Yes | The unique ID of the GTM Account containing the container. | |
| containerId | Yes | The unique ID of the GTM Container. | |
| itemsPerPage | No | Number of items to return per page (1-50). Default: 50. Use lower values if experiencing response issues. | |
| includeDeleted | No | Whether to also retrieve deleted (archived) versions. Required for 'list' action. |