Google Analytics · Arazzo Workflow

Google Analytics Inventory a Property's Data Streams

Version 1.0.0

List the properties under an account, then list the data streams for the chosen property.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttributionArazzoWorkflows

Provider

google-analytics

Workflows

inventory-property-data-streams
Confirm a property exists and list its data streams.
Lists the properties under an account and lists the data streams for the supplied property.
2 steps inputs: accessToken, account, property outputs: dataStreams, properties
1
listProperties
List the GA4 properties under the account so the target property can be confirmed before listing its data streams.
2
listDataStreams
List the data streams attached to the property, returning up to 200 in a single page.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Google Analytics Inventory a Property's Data Streams
  summary: List the properties under an account, then list the data streams for the chosen property.
  description: >-
    An inventory flow on the GA4 Admin API. The workflow lists the GA4
    properties under an account so the target property can be confirmed, then
    lists the data streams attached to that property — the web and app streams
    that feed it measurement data. Each request is spelled out inline, including
    the OAuth bearer authorization, so the inventory can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: propertiesApi
  url: ../openapi/google-analytics-properties-api-openapi.yml
  type: openapi
workflows:
- workflowId: inventory-property-data-streams
  summary: Confirm a property exists and list its data streams.
  description: >-
    Lists the properties under an account and lists the data streams for the
    supplied property.
  inputs:
    type: object
    required:
    - accessToken
    - account
    - property
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer access token with an analytics read scope.
      account:
        type: string
        description: 'Account resource name to list properties under (e.g. accounts/123).'
      property:
        type: string
        description: 'GA4 property resource name (e.g. properties/1234).'
  steps:
  - stepId: listProperties
    description: >-
      List the GA4 properties under the account so the target property can be
      confirmed before listing its data streams.
    operationId: analyticsadmin.properties.list
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: filter
      in: query
      value: parent:$inputs.account
    - name: pageSize
      in: query
      value: 200
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      properties: $response.body#/properties
  - stepId: listDataStreams
    description: >-
      List the data streams attached to the property, returning up to 200 in a
      single page.
    operationId: analyticsadmin.properties.dataStreams.list
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: parent
      in: path
      value: $inputs.property
    - name: pageSize
      in: query
      value: 200
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      dataStreams: $response.body#/dataStreams
      nextPageToken: $response.body#/nextPageToken
  outputs:
    properties: $steps.listProperties.outputs.properties
    dataStreams: $steps.listDataStreams.outputs.dataStreams

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-analytics-inventory-property-data-streams-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.