Millimetric · Arazzo Workflow

Capture an event and analyze traffic sources

Version 1.0.0

Emit an event, then pull aggregate stats and the paid-vs-social attribution split.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CompanyAnalyticsWeb AnalyticsProduct AnalyticsAttributionPrivacyMCPAI AgentsEventDeveloper ToolsArazzoWorkflows

Provider

millimetric

Workflows

capture-and-analyze
Track an event, then report stats and top sources for a time window.
3 steps inputs: anonymous_id, event, from, rk_key, sk_key, to outputs: source_rows
1
track
2
stats
3
sources

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Capture an event and analyze traffic sources
  version: 1.0.0
  summary: Emit an event, then pull aggregate stats and the paid-vs-social attribution split.
sourceDescriptions:
- name: ingestApi
  url: ../openapi/millimetric-ingest-api-openapi.yml
  type: openapi
- name: readApi
  url: ../openapi/millimetric-read-api-openapi.yml
  type: openapi
workflows:
- workflowId: capture-and-analyze
  summary: Track an event, then report stats and top sources for a time window.
  inputs:
    type: object
    required: [sk_key, rk_key, from, to]
    properties:
      sk_key: {type: string, description: sk_live_* ingest key}
      rk_key: {type: string, description: rk_live_* read key}
      event: {type: string, default: signup}
      anonymous_id: {type: string, default: u_demo}
      from: {type: string}
      to: {type: string}
  steps:
  - stepId: track
    operationId: trackEvent
    parameters:
    - {name: Authorization, in: header, value: "Bearer $inputs.sk_key"}
    requestBody:
      contentType: application/json
      payload:
        event: $inputs.event
        anonymous_id: $inputs.anonymous_id
    successCriteria:
    - condition: $statusCode == 202
  - stepId: stats
    operationId: getStats
    parameters:
    - {name: Authorization, in: header, value: "Bearer $inputs.rk_key"}
    - {name: metric, in: query, value: count}
    - {name: from, in: query, value: $inputs.from}
    - {name: to, in: query, value: $inputs.to}
    - {name: group_by, in: query, value: "source,medium"}
    successCriteria:
    - condition: $statusCode == 200
  - stepId: sources
    operationId: getSources
    parameters:
    - {name: Authorization, in: header, value: "Bearer $inputs.rk_key"}
    - {name: from, in: query, value: $inputs.from}
    - {name: to, in: query, value: $inputs.to}
    - {name: breakdown, in: query, value: source_medium}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      rows: $response.body#/rows
  outputs:
    source_rows: $steps.sources.outputs.rows

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/millimetric-capture-and-analyze"
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.