Millimetric · Arazzo Workflow

Stitch an anonymous visitor to a known user

Version 1.0.0

Track anonymously, identify on login, tag subsequent events, then read the user's history.

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

Provider

millimetric

Workflows

anonymous-to-known
track (anon) -> identify -> track (known) -> query by user_id.
4 steps inputs: anonymous_id, from, rk_key, sk_key, to, user_id outputs: user_events
1
track-anon
2
identify
3
track-known
4
query-user

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Stitch an anonymous visitor to a known user
  version: 1.0.0
  summary: Track anonymously, identify on login, tag subsequent events, then read the user's history.
sourceDescriptions:
- name: identityApi
  url: ../openapi/millimetric-identity-api-openapi.yml
  type: openapi
- name: ingestApi
  url: ../openapi/millimetric-ingest-api-openapi.yml
  type: openapi
- name: readApi
  url: ../openapi/millimetric-read-api-openapi.yml
  type: openapi
workflows:
- workflowId: anonymous-to-known
  summary: track (anon) -> identify -> track (known) -> query by user_id.
  inputs:
    type: object
    required: [sk_key, rk_key, anonymous_id, user_id, from, to]
    properties:
      sk_key: {type: string}
      rk_key: {type: string}
      anonymous_id: {type: string, default: u_demo}
      user_id: {type: string, default: user_42}
      from: {type: string}
      to: {type: string}
  steps:
  - stepId: track-anon
    operationId: trackEvent
    parameters:
    - {name: Authorization, in: header, value: "Bearer $inputs.sk_key"}
    requestBody:
      contentType: application/json
      payload:
        event: "$pageview"
        anonymous_id: $inputs.anonymous_id
    successCriteria:
    - condition: $statusCode == 202
  - stepId: identify
    operationId: identify
    parameters:
    - {name: Authorization, in: header, value: "Bearer $inputs.sk_key"}
    requestBody:
      contentType: application/json
      payload:
        anonymous_id: $inputs.anonymous_id
        user_id: $inputs.user_id
    successCriteria:
    - condition: $statusCode == 200
  - stepId: track-known
    operationId: trackEvent
    parameters:
    - {name: Authorization, in: header, value: "Bearer $inputs.sk_key"}
    requestBody:
      contentType: application/json
      payload:
        event: activated
        anonymous_id: $inputs.anonymous_id
        user_id: $inputs.user_id
    successCriteria:
    - condition: $statusCode == 202
  - stepId: query-user
    operationId: queryEvents
    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: user_id, in: query, value: $inputs.user_id}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      rows: $response.body#/rows
  outputs:
    user_events: $steps.query-user.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-anonymous-to-known"
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.