Google Tag Manager · Arazzo Workflow

Google Tag Manager Inspect the Live Container Version

Version 1.0.0

Resolve a container's live version, then fetch its full definition.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsConversion TrackingMarketingTag ManagementTrackingArazzoWorkflows

Provider

google-tag-manager

Workflows

inspect-live-version
Get the live container version and then its full definition.
Resolves the live container version for the supplied container and fetches the full version document for inspection.
2 steps inputs: accessToken, containerPath outputs: tags, triggers, variables, versionPath
1
getLiveVersion
Get the live (published) container version for the container.
2
getVersionDetail
Fetch the full container version document for the live version.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Google Tag Manager Inspect the Live Container Version
  summary: Resolve a container's live version, then fetch its full definition.
  description: >-
    An auditing flow that answers "what is live right now?" for a container. The
    workflow gets the live container version header for the container and then
    fetches the full container version by its resource path so the complete set
    of tags, triggers, and variables can be inspected. Each step spells out its
    request inline, including the inline bearer authorization, so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: versionsApi
  url: ../openapi/google-tag-manager-versions-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-live-version
  summary: Get the live container version and then its full definition.
  description: >-
    Resolves the live container version for the supplied container and fetches
    the full version document for inspection.
  inputs:
    type: object
    required:
    - accessToken
    - containerPath
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer access token for the Tag Manager API.
      containerPath:
        type: string
        description: >-
          The container API relative path, e.g.
          accounts/{accountId}/containers/{containerId}.
  steps:
  - stepId: getLiveVersion
    description: >-
      Get the live (published) container version for the container.
    operationId: getLiveContainerVersion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: parent
      in: path
      value: $inputs.containerPath
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      versionPath: $response.body#/path
      containerVersionId: $response.body#/containerVersionId
  - stepId: getVersionDetail
    description: >-
      Fetch the full container version document for the live version.
    operationId: getContainerVersion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: versionPath
      in: path
      value: $steps.getLiveVersion.outputs.versionPath
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tags: $response.body#/tag
      triggers: $response.body#/trigger
      variables: $response.body#/variable
  outputs:
    versionPath: $steps.getLiveVersion.outputs.versionPath
    tags: $steps.getVersionDetail.outputs.tags
    triggers: $steps.getVersionDetail.outputs.triggers
    variables: $steps.getVersionDetail.outputs.variables

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/google-tag-manager-inspect-live-version-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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